/* Estilos Generales */
body {
  font-family: Arial, sans-serif;
  background-color: #888888;
  color: #292526;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 0 auto;
  margin: 0 auto;
  padding: 0;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #423F3F;
  color: #fff;
  border-radius: 10px 10px 0 0;
  padding: 15px;
}

.logo {
  max-width: 100%;
  height: auto;
}

.form-control {
  border-color: #888888;
}

.btn-primary {
  background-color: #423F3F;
  border-color: #B6E425;
}

.btn-primary:hover {
  background-color: #B6E425;
  border-color: #B6E425;
}

.footer {
  text-align: center;
  padding: 20px 0;
  background-color: #423F3F;
  color: #fff;
  margin-top: 20px;
  border-radius: 0 0 10px 10px;
}

/* Estilos para los resultados de clientes y médicos */
.resultado-cliente,
.resultado-medico {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.resultado-cliente .nombre,
.resultado-medico .nombre {
  font-weight: bold !important;
}

.resultado-cliente .cedula,
.resultado-medico .cedula {
  font-size: 14px !important;
}

.resultado-cliente:hover,
.resultado-medico:hover {
  background-color: #f5f5f5 !important;
  font-size: 18px !important;
  cursor: pointer !important;
}

/* Estilos para la barra de navegación */
.navbar {
  background-color: #D2E8FF;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-item {
  margin: 0 10px;
}

.nav-link {
  color: #0B1857;
  cursor: pointer;
}

.nav-link:hover {
  color: #fff;
  background-color: #8c9ef8;
}

/* Estilos para el carrusel */
.carousel-item {
  height: 80vh;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
}

.carousel-caption h1 {
  color: #fff;
}

.carousel-caption p {
  color: #ccc;
}

/* Estilo para el badge */
#badge {
  font-size: 12px;
  color: #ff0000;
  background-color: #fff;
  padding: 2px 4px;
  border-radius: 5px;
  display: inline-block;
}

.badge {
  font-size: 12px;
  color: #ff0000;
  background-color: #fff;
  padding: 2px 4px;
  border-radius: 5px;
  display: inline-block;
}

/* Estilos para icono de información */
#info {
  width: 50px;
  height: 50px;
  position: relative;
  float: right;
  margin: 20px 20px 0px 0px;
  background-color: #e2ae00;
  color: #002f5b;
  border-radius: 2em;
  box-shadow: 2px 2px 5px #a0a0a0;
  z-index: 2;
}

#info i {
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#info:hover {
  background-color: #fcc200;
}

/* Estilos para el sidebar */
.as-sidebar-left {
  position: fixed;
  top: 0px;
  bottom: 0px;
  box-sizing: border-box;
  width: 200px !important;
  background-color: #19436b;
  z-index: 4;
}

.as-sidebar-header {
  color: #ffffff;
  height: 100px;
  background-color: #002f5b;
}

.as-sidebar-header:hover {
  color: #fafafa;
  text-decoration: none;
}

.as-sidebar-button {
  background-color: #dadada;
  color: #002f5b !important;
  margin-top: 2px;
  margin-bottom: 2px;
  text-transform: initial;
  font-weight: bold;
}

.as-sidebar-button:hover {
  background-color: #c4c4c4;
}

.as-sidebar-button[active="true"] {
  background-color: #ffffff;
}

a.active {
  background-color: #ffffff;
}

#sub-nav {
  padding: 5px 0px 5px 0px;
}

.as-sidebar-button-sub {
  margin-left: 0px;
  color: #dadada !important;
  text-transform: initial;
}

.as-sidebar-button-sub:hover {
  color: #bababa !important;
  background-color: #B6E425;
}

.as-sidebar-button.selected {
  background-color: #B6E425 !important;
  color: #002f5b !important;
}

.as-sidebar-button-sub.selected {
  background-color: #B6E425 !important;
  color: #002f5b !important;
}

/* Estilo para el flag */
.flag {
  margin: 3px 14px 3px 1px;
}

.flag.selected {
  width: 2px;
  height: 20px;
  background-color: #B6E425;
}

/* Estilos para el contenido */
.as-content {
  height: 100%;
  width: 100%;
  padding-left: 200px !important;
}

.as-background {
  position: relative;
  box-shadow: 0px 2px 8px #101010 inset;
  z-index: 0;
}

.as-offcanvas,
.as-sidebar-offcanvas {
  position: fixed;
  top: 0px;
  bottom: 0px;
  box-sizing: border-box;
  width: 480px !important;
  z-index: 3;
}

.as-sidebar-offcanvas {
  background-color: #B6E425;
  box-shadow: 1px 0px 5px #a0a0a0;
}

/* Estilos para botones */
.as-close {
  position: relative;
  top: 20px;
  left: 476px;
  border: 1px #efefef solid;
  border-radius: 0.2em;
  background-color: #efefef;
  padding: 6px 6px 6px 12px;
  z-index: 3;
}

/* Estilos para calendario */
.as-calendar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 642px;
  transform: translate(-50%, -50%);
  background-color: transparent;
  z-index: 1;
}

.tui-full-calendar-weekday-grid-date-decorator,
.tui-full-calendar-timegrid-todaymarker {
  background: #002f5b !important;
}

.tui-full-calendar-timegrid-hourmarker-line-today {
  border-top: 1px solid #002f5b !important;
}

.tui-full-calendar-timegrid-hourmarker-line-left {
  border-top: 1px dashed #002f5b !important;
}

.tui-full-calendar-timegrid-hourmarker-time {
  font-weight: bolder !important;
}

/* CSS para los botones de Mes, Semana, Día y Lista */
.fc-button-primary {
  background-color: #C1F11F;
  border-color: #C1F11F;
  color: #292526;
}

.fc-button-primary:hover,
.fc-button-primary:active {
  background-color: #423F3F;
  border-color: #423F3F;
  color: #fff;
}
