section.content {
  display: none;
}

/*!*tbody, thead {*/
/*border-left: 2px solid #333333 !important;*/
/*border-right: 2px solid #333333 !important;*/
/*border-bottom: 2px solid #333333;*/
/*}*/

/*thead {*/
/*border-top: 2px solid #333333;*/

/*}*/
/**!*/

/*td > a {*/
/*color: #ffffff !important;*/
/*text-decoration: none !important;*/

/*}*/

/*.modal-body td > a {*/
/*color: #337ab7 !important;*/
/*}*/

/*!* text-decoration: none; *!*/
/*td > a:hover {*/
/*color: #333333 !important;*/
/*text-decoration: none !important;*/

/*}*/

/*td, th {*/
/*padding: 10px;*/
/*text-align: center;*/

/*}*/

/*.kinesiologia {*/
/*background-color: #0099cc !important;*/
/*}*/

/*.fonoaudiologia {*/
/*background-color: #ffff00 !important;*/
/*}*/

/*.psicomotricidad {*/
/*background-color: #e38d13 !important;*/
/*}*/

/*.psicologia {*/
/*background-color: #a814bb !important;*/
/*}*/

/*.psicopedagogia {*/
/*background-color: #b1aea6 !important;*/
/*}*/

/*tr {*/
/*border: solid 1px #000000 !important;*/
/*}*/

/*td.turno:hover {*/
/*border: 2px solid #333333 !important;*/
/*background: #cacaca;*/
/*opacity: 0.8;*/
/*}*/

/*.table-bordered > thead > tr > td, .table-bordered > thead > tr > th {*/
/*border-bottom-width: 0 !important;*/
/*}*/

/*.trabaja {*/
/*border-bottom: 2px solid #607D8B !important;*/

/*}*/

/*.trabaja:hover {*/
/*cursor: pointer;*/
/*}*/

/*.no-trabaja:hover {*/
/*cursor: not-allowed;*/
/*}*/

/*.ocupado {*/
/*background: #006400;*/
/*}*/

/*.activo {*/
/*background-color: #449d44;*/
/*border-color: #398439;*/
/*}*/

/*.reservado {*/
/*background-color: #337ab7;*/
/*border-color: #2e6da4;*/
/*}*/

/*.suspendido {*/
/*background-color: #f0ad4e;*/
/*border-color: #eea236;*/
/*}*/

/*.inactivo {*/
/*background-color: #d9534f;*/
/*border-color: #d43f3a;*/
/*}*/

/*.ocupado:hover {*/
/*cursor: pointer;*/
/*}*/

/*td.ocupado.tooltips {*/
/*position: relative;*/

/*}*/

/*td.ocupado.tooltips span {*/
/*position: absolute !important;*/
/*width: 300px !important;*/
/*color: #FFFFFF !important;*/
/*background: #000000 !important;*/
/*height: 80px !important;*/
/*line-height: 30px !important;*/
/*text-align: center !important;*/
/*visibility: hidden !important;*/
/*border-radius: 0 !important;*/
/*}*/

/*td.ocupado.tooltips span:after {*/
/*content: '';*/
/*position: absolute !important;*/
/*top: 100% !important;*/
/*left: 50% !important;*/
/*margin-left: -8px !important;*/
/*width: 0 !important;*/
/*height: 0 !important;*/
/*border-top: 8px solid #000000 !important;*/
/*border-right: 8px solid transparent !important;*/
/*border-left: 8px solid transparent !important;*/
/*}*/

/*td.ocupado:hover.tooltips span {*/
/*visibility: visible !important;*/
/*bottom: 50px !important;*/
/*left: 50% !important;*/
/*margin-left: -150px !important;*/
/*z-index: 999 !important;*/
/*}*/

/*.obraSocial {*/
/*float: right !important;*/
/*width: 100px !important;*/
/*padding: 3px !important;*/
/*background: #E91E63 !important;*/

/*}*/

/*.paciente {*/
/*float: left !important;*/
/*width: 200px !important;*/
/*padding: 3px !important;*/
/*background: #3F51B5 !important;*/
/*}*/

/*.caja-sugerencia {*/
/*background: #00b4ae;*/
/*width: 300px;*/
/*padding: 2px;*/
/*margin-top: 5px;*/
/*margin-bottom: 5px;*/
/*min-height: 70px;*/

/*}*/

/*ul.lista-pacientes {*/
/*position: relative;*/

/*}*/

/*li.lista-pacientes-item {*/
/*color: #ffffff;*/
/*font-size: 1.2em;*/
/*list-style: none;*/
/*margin: 10px;*/
/*}*/

/*li.list-group-item.list-group-item-info {*/
/*cursor: pointer;*/
/*}*/

/*.circulo {*/

/*width: 12px;*/
/*height: 12px;*/
/*-webkit-border-radius: 25px;*/
/*-moz-border-radius: 25px;*/
/*border-radius: 25px;*/
/*float: left;*/
/*margin: 5px;*/

/*}*/

/*.circulo-centrado {*/
/*width: 12px;*/
/*height: 12px;*/
/*-webkit-border-radius: 25px;*/
/*-moz-border-radius: 25px;*/
/*border-radius: 25px;*/
/*text-align: center;*/
/*margin-top: 4px;*/
/*margin-left: 38%;*/
/*cursor: pointer !important;*/
/*}*/

/*.profesional {*/
/*text-align: left !important;*/
/*!*border-right: 2px solid #333333 !important;*!*/
/*}*/

/*.profesional, .horario, .dias {*/
/*background: #009688;*/
/*color: #ffffff;*/
/*font-weight: bold;*/
/*}*/

/*.cuadro-estado-turno {*/
/*margin-top: 10px;*/
/*display: block;*/
/*padding: 10px;*/
/*background: #ECEFF1;*/
/*}*/

/*li {*/
/*list-style: none;*/
/*}*/

/*body, html {*/
/*height: 100%;*/
/*margin: 0;*/

/*font-family: helvetica;*/
/*font-weight: 100;*/
/*}*/

/*.container {*/
/*position: relative;*/
/*height: 100%;*/
/*width: 100%;*/
/*left: 0;*/
/*-webkit-transition: left 0.4s ease-in-out;*/
/*-moz-transition: left 0.4s ease-in-out;*/
/*-ms-transition: left 0.4s ease-in-out;*/
/*-o-transition: left 0.4s ease-in-out;*/
/*transition: left 0.4s ease-in-out;*/
/*}*/

/*.container.open-sidebar {*/
/*left: 240px;*/
/*}*/

/*#sidebar {*/
/*position: absolute;*/
/*left: -240px;*/
/*background: #DF314D;*/
/*width: 240px;*/
/*height: 100%;*/
/*box-sizing: border-box;*/
/*top: -20px;*/
/*min-height: 1300px;*/
/*}*/

/*#sidebar ul {*/
/*margin: 0 !important;*/
/*padding: 0;*/
/*list-style: none;*/
/*}*/

/*#sidebar ul li {*/
/*margin: 0;*/
/*}*/

/*#sidebar ul li a {*/
/*padding: 15px 20px;*/
/*font-size: 14px;*/
/*font-weight: 100;*/
/*color: white;*/
/*text-decoration: none;*/
/*display: block;*/
/*border-bottom: 1px solid #C9223D;*/
/*-webkit-transition: background 0.3s ease-in-out;*/
/*-moz-transition: background 0.3s ease-in-out;*/
/*-ms-transition: background 0.3s ease-in-out;*/
/*-o-transition: background 0.3s ease-in-out;*/
/*transition: background 0.3s ease-in-out;*/
/*}*/

/*#sidebar ul li:hover a {*/
/*background: #C9223D;*/
/*}*/

/*.main-content {*/
/*width: 100%;*/
/*height: 100%;*/
/*padding: 10px;*/
/*box-sizing: border-box;*/
/*-moz-box-sizing: border-box;*/
/*position: relative;*/
/*}*/

/*.main-content .content {*/
/*box-sizing: border-box;*/
/*-moz-box-sizing: border-box;*/
/*padding-left: 40px;*/
/*width: 100%;*/
/*}*/

/*.main-content .content h1 {*/
/*font-weight: 100;*/
/*}*/

/*.main-content .content p {*/
/*width: 100%;*/
/*line-height: 160%;*/
/*}*/

/*.main-content #sidebar-toggle {*/
/*background: #DF314D;*/
/*border-radius: 3px;*/
/*display: block;*/
/*position: relative;*/
/*padding: 10px 7px;*/
/*float: left;*/
/*}*/

/*.main-content #sidebar-toggle .bar {*/
/*display: block;*/
/*width: 18px;*/
/*margin-bottom: 3px;*/
/*height: 2px;*/
/*background-color: #fff;*/
/*border-radius: 1px;*/
/*}*/

/*.main-content #sidebar-toggle .bar:last-child {*/
/*margin-bottom: 0;*/
/*}*/

/*.collapse > li :hover {*/
/*background: #333333 !important;*/
/*color: #ffffff !important;*/
/*}*/

/*.col-sm-9 {*/
/*top: -40px !important;*/
/*}*/

/*#cuerpo-tabla-inasistencias-profesionales, #cuerpo-tabla-inasistencias-pacientes {*/
/*max-height: 150px !important;*/
/*overflow-y: scroll !important;*/
/*}*/

/*.popover.tour {*/
/*width: 500px !important;*/
/*}*/

/*#tabla-turnos {*/
/*width: 100%;*/
/*}*/

/*.day {*/
/*background: #009688 !important;*/
/*color: #ffffff !important;*/
/*border-radius: 0 !important;*/
/*}*/

/*.day.disabled, .day.new.disabled {*/
/*background: #cacaca !important;*/
/*color: #333333 !important;*/
/*}*/

/*.day.today {*/
/*background: #9C27B0 !important;*/
/*}*/

/*.day:hover {*/
/*background: #00b4ae !important;*/

/*}*/

/*.day.new {*/
/*background: #80CBC4 !important;*/
/*color: #333333 !important;*/
/*}*/

/*#listado-comprobantes {*/
/*max-height: 350px;*/
/*overflow-y: scroll;*/
/*}*/

/*#listado-comprobantes > li {*/
/*background: #009688 !important;*/
/*color: #ffffff !important;*/
/*font-size: 13px;*/
/*font-weight: bold;*/
/*}*/

/*.comprobantes a {*/
/*color: #ffffff !important;*/
/*font-size: 13px;*/
/*font-weight: bold;*/
/*text-decoration: none;*/

/*}*/

/*.comprobantes a:hover {*/
/*color: #333333 !important;*/
/*}*/
.tabla-turnos {
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 3px; /* Espacio entre celdas */
  width: 100%;
  margin-bottom: 1.5rem;
  -webkit-user-select: none;   /* Safari */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* Estándar */
}

.tabla-turnos thead,
.tabla-turnos th {
  background: #607d8b;
  color: #ffffff;
  text-align: center;
  vertical-align: middle !important;
  padding: 10px 12px;
  font-weight: bold; /* No tan bold para minimalismo */
  border-bottom: 2px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.tabla-turnos th:first-child {
  min-width: 130px;
}
.tabla-master input[type="search"] {
  min-width: 275px;
  font-size: 13px;
  font-weight: bold;
}

/*input[type="search"]::-webkit-input-placeholder::after{*/
/*content:'Buscar...';*/
/*color: red;*/
/*display:block;*/
/*}*/
.dataTables_empty {
  color: #9f191f;
  font-weight: bold;
}

.tabla-turnos th a,
.tabla-turnos th a:hover {
  text-decoration: none;
  color: #fff;
}

.tabla-turnos td {
  text-align: center;
  padding: 12px; /* Espacio interno de las celdas */
  border-radius: 4px; /* Bordes ligeramente redondeados */
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05); /* Borde muy sutil */
  vertical-align: middle;
  text-align: center;
  font-size: 0.95rem;
  min-width: 80px;
  height: 40px;
  position: relative;
  overflow: hidden;
}

/* Deshabilitar selección en la tabla */
.tabla-turnos {
  user-select: none;
  border-collapse: separate;
  border-spacing: 3px;
}

/* Celda de profesional rediseñada */
.celda-profesional {
  padding: 0 !important; /* Eliminamos el padding para controlar el espacio interior con container */
  width: 230px !important; /* Ampliamos para acomodar nombres más largos */
  position: sticky;
  left: 0;
  z-index: 5;
  background-color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: visible; /* Importante para que el borde sea visible */
}

/* Contenedor con borde izquierdo */
.left-border-container {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 5px solid; /* El color se aplica desde el JS */
}

/* Filas dentro de la celda de profesional */
.profesional-row {
  display: flex;
  padding: 10px 12px;
  align-items: center;
}

/* Fila de información (65%) */
.info-row {
  flex: 0.65;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  min-height: 70px; /* Altura mínima para asegurar espacio suficiente */
}

/* Fila de estado y acciones (35%) */
.status-row {
  flex: 0.35;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #f9f9fa;
}

/* Estilo de avatar */
.avatar-container {
  margin-right: 12px;
}

.avatar-mini {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  float: none !important; /* Anulamos el float existente */
  margin: 0 !important; /* Anulamos márgenes existentes */
}

/* Detalles del profesional */
.profesional-details {
  flex: 1;
  min-width: 0; /* Para texto largo con elipsis */
}

.profesional-nombre {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profesional-especialidad {
  font-size: 12px !important;
  color: #666 !important;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Estado de presentismo */
.profesional-status {
  display: flex;
}

.status-badge {
  font-size: 12px !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  white-space: nowrap;
}

/* Acciones */
.profesional-actions {
  display: flex;
  gap: 6px;
}

.action-button {
  width: 30px !important;
  height: 30px !important;
}

/* Anula estilos que interfieren */
.info-profesional {
  display: none; /* Ocultamos la estructura anterior */
}

.kinesiologia {
  color: #0099cc !important;
}

.fonoaudiologia {
  color: #fdd835 !important;
}

.psicomotricidad {
  color: #e38d13 !important;
}

.psicologia {
  color: #a814bb !important;
}

.psicopedagogia {
  color: #b1aea6 !important;
}

.fondo-kinesiologia {
  background-color: #0099cc !important;
}

.fondo-fonoaudiologia {
  background-color: #fdd835 !important;
}

.fondo-psicomotricidad {
  background-color: #e38d13 !important;
}

.fondo-psicologia {
  background-color: #a814bb !important;
}

.fondo-psicopedagogia {
  background-color: #b1aea6 !important;
}

.circulo {
  width: 10px;
  height: 10px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: inline-block;
}

.turno-ocupado {
  font-size: 13px;
}

.form-en-celda {
  display: inline-block;
}

.tablero-turnos {
  overflow-x: auto;
}

.search {
  background-image: url("../../img/searchicon.png");
  background-position: 10px 12px;
  background-repeat: no-repeat;
  font-size: 15px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
  width: 350px;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
}

.search:focus {
  width: 50%;
  border: 3px solid #607d8b;
}

.avatar-mini {
  float: left;
  margin-right: 10px;
  margin-top: -2px;
  border: 1px solid #000;
}

.avatar-mini:hover {
  text-shadow: 5px 5px 10px #000;
  box-shadow: 5px 5px 10px #000;
}


.abrir-ficha:hover {
  text-shadow: 5px 5px 10px #000;
  box-shadow: 5px 5px 10px #000;
}

#turnos_terapeutas tr td:first-child,
#turnos_fisiatras tr td:first-child,
#turnos_trabajadores_sociales tr td:first-child,
#turnos_integradores_escolares tr td:first-child {
  text-align: left;
  font-weight: bold;
}

#turnos_terapeutas tr td,
#turnos_fisiatras tr td,
#turnos_trabajadores_sociales tr td,
#turnos_integradores_escolares tr td {
}

#turnos_terapeutas tr td:first-child a,
#turnos_trabajadores_sociales tr td:first-child a,
#turnos_integradores_escolares tr td:first-child a,
#turnos_fisiatras tr td:first-child a {
  color: #ffffff;
}

/*#turnos_terapeutas tr:hover{*/
/*    -webkit-transition: left 0.4s ease-in-out;
    -moz-transition: left 0.4s ease-in-out;
    -ms-transition: left 0.4s ease-in-out;
    -o-transition: left 0.4s ease-in-out;
    transition: left 0.4s ease-in-out;*/
/*   transition: box-shadow .25s;
   box-shadow: 0;
   }*/
#turnos_terapeutas tr td a:hover,
#turnos_fisiatras tr td a:hover,
#turnos_trabajadores_sociales tr td a:hover,
#turnos_integradores_escolares tr td a:hover /*#turnos_terapeutas tr td a img,
#turnos_fisiatras tr td a img,
#turnos_trabajadores_sociales tr td a img,
#turnos_integradores_escolares tr td a img*/
 {
  /*font-weight: bold;
    text-shadow: 5px 5px 10px #000;
    box-shadow: 5px 5px 10px #000;*/
}

.usuario-online {
  height: 5px !important;
  width: auto;
  padding: 0;
  float: left;
  margin-left: -15px;
  margin-top: 15px;
  color: #8bc34a;
}

.online {
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}

.offline {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

ul.tg-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.tg-list-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tgl {
  display: none;
}

.tgl,
.tgl:after,
.tgl:before,
.tgl *,
.tgl *:after,
.tgl *:before,
.tgl + .tgl-btn {
  box-sizing: border-box;
}

.tgl::-moz-selection,
.tgl:after::-moz-selection,
.tgl:before::-moz-selection,
.tgl *::-moz-selection,
.tgl *:after::-moz-selection,
.tgl *::selection,
.tgl + .tgl-btn::selection {
  background: none;
}

.tgl + .tgl-btn {
  outline: 0;
  display: inline-block;
  width: 2em;
  height: 1em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tgl + .tgl-btn:after,
.tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}

.tgl + .tgl-btn:after {
  left: 0;
}

.tgl + .tgl-btn:before {
  display: none;
}

.tgl:checked + .tgl-btn:after {
  left: 50%;
}

.tgl-light + .tgl-btn {
  background: #9e9e9e;
  border-radius: 2em;
  padding: 2px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.tgl-light + .tgl-btn:after {
  border-radius: 50%;
  background: #fff;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.tgl-light:checked + .tgl-btn {
  background: #4caf50;
}

label.status {
  position: inherit;
  display: inline-flex;
  font-weight: 500;
}

.tgl-light ~ .status:before {
  font-size: 9px;
  text-align: right;
  content: "No disponible";
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  margin-left: 1em;
  margin-bottom: 1em;
}

.tgl-light:checked ~ .status:before {
  font-size: 9px;
  text-align: right;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  content: "Disponible";
  margin-left: 1em;
  margin-bottom: 1em;
  color: #4caf50;
}

/* Ejemplo de como bloquear el encabezado de tabla Dashboard secretarios
table#datos thead tr {
    display: block;
}

table#datos th,
table#datos td {
    width: 80px;
}

table#datos tbody {
    display: block;
    height: 90px;
    overflow: auto;
}

#datos th {
    text-align: center;
}

#datos td {
    text-align: center;
    white-space: pre;
}
*/

.disabledDiv {
  pointer-events: none;
  opacity: 0.4;
}
#turnos_terapeutas td {
  padding: 1% 0.5%;
  align-content: center;
  width: 50px !important;
  height: 30px !important;
  overflow: hidden;
}

#turnos_terapeutas td:hover {
  border: 2px solid #3d3d3d;
}

a.presente,
a.ausente,
a.suspendido,
a.sin-datos b {
  color: white !important;
}
caption {
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
}



.turnos-container.loading .content {
  filter: blur(3px); /* Aplica el efecto de desenfoque */
  pointer-events: none; /* Bloquea interacciones mientras se carga */
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* Fondo semitransparente */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  z-index: 9999;
  backdrop-filter: blur(5px); /* Desenfoque más sutil */
}

.loading-overlay i {
  margin-right: 8px;
}


.loading-container {
  text-align: center;
  padding: 20px;
}

.loading-placeholder {
  text-align: center;
  background: #f8f9fa;
  padding: 10px;
  font-weight: bold;
}

.highlight-cell {
  box-shadow: 0 0 10px 3px rgba(255, 255, 0, 0.7) !important;
  animation: pulse 2s ease-in-out;
  position: relative;
  z-index: 100;
}

@keyframes pulse {
  0% { box-shadow: 0 0 10px 3px rgba(255, 255, 0, 0.7); }
  50% { box-shadow: 0 0 15px 5px rgba(255, 255, 0, 0.9); }
  100% { box-shadow: 0 0 10px 3px rgba(255, 255, 0, 0.7); }
}


.tabla-master.table-responsive {
  overflow: auto;
  max-height: 80vh; /* ajusta según necesites */
  position: relative;
}

/* Estilo para resaltar brevemente la celda */
.highlight-cell {
  animation: highlight-fade 2s;
}

@keyframes highlight-fade {
  0%, 50% { background-color: rgba(255, 255, 0, 0.3); }
  100% { background-color: transparent; }
}

/* Remover animaciones de fondo en estilosTurnero.css */
@keyframes row-pulse {
  0%, 100% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.01);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  }
}

/* Actualizar estilos para fila resaltada */
.highlight-row-pulse {
  animation: row-pulse 1.5s ease-in-out;
  /* Sin cambios de background-color */
}

/* Añadir a tu archivo estilosTurnero.css */

/* Resaltado para celdas de pacientes */
.celda-turno {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.celda-turno:active {
  transform: scale(0.95);
}

/* Efecto de pulso para celdas */
@keyframes cell-pulse {
  0%, 100% { 
    box-shadow: 0 0 0 rgba(0, 0, 0, 0); 
  }
  50% { 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
  }
}

/* Efectos específicos por tipo de acción */
.pulse-present {
  animation: cell-pulse-present 2s ease-in-out;
}

.pulse-absent {
  animation: cell-pulse-absent 2s ease-in-out;
}

.pulse-suspended {
  animation: cell-pulse-suspended 2s ease-in-out;
}

@keyframes cell-pulse-present {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 166, 90, 0); }
  50% { box-shadow: 0 0 15px rgba(0, 166, 90, 0.7); }
}

@keyframes cell-pulse-absent {
  0%, 100% { box-shadow: 0 0 0 rgba(221, 75, 57, 0); }
  50% { box-shadow: 0 0 15px rgba(221, 75, 57, 0.7); }
}

@keyframes cell-pulse-suspended {
  0%, 100% { box-shadow: 0 0 0 rgba(243, 156, 18, 0); }
  50% { box-shadow: 0 0 15px rgba(243, 156, 18, 0.7); }
}

.filter-indicator {
  display: inline-flex;
  align-items: center;
}

.filter-indicator .label {
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: normal;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-indicator .fa {
  margin-right: 4px;
}

.search-container {
  position: relative;
  margin-bottom: 15px;
}

/* Animación para cuando cambia el filtro */
@keyframes highlight-filter {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.filter-indicator .label {
  animation: highlight-filter 0.3s ease-in-out;
}

/* Clase para agregar borde izquierdo de color */
.left-border {
  position: relative;
  border-left: none !important; /* Eliminamos el borde izquierdo base */
  overflow: visible;
}

.left-border::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px; /* Ancho del borde izquierdo */
  background-color: currentColor; /* Toma el color que se defina en 'color' */
  border-radius: 2px 0 0 2px; /* Suaviza el borde izquierdo */
}

/* Estructura para la información del profesional */
.info-profesional {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-profesional img.avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.info-profesional div {
  display: flex;
  flex-direction: column;
}

.info-profesional span {
  font-weight: 500;
  color: #1a202c;
}

.info-profesional small {
  color: #718096;
  font-size: 0.85rem;
}

/* Responsividad para tablas */
@media (max-width: 992px) {
  .profesional-status-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .profesional-actions {
    margin-top: 4px;
  }
  
  .celda-profesional {
    width: 210px !important;
  }
}

@media (max-width: 768px) {
  .celda-profesional {
    width: 190px !important;
  }
  
  .avatar-mini {
    width: 38px !important;
    height: 38px !important;
  }
  
  .profesional-nombre {
    font-size: 14px !important;
  }
  
  .status-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .profesional-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Eliminar línea divisoria y unificar colores */
.profesional-row.info-row {
  border-bottom: none !important; /* Eliminar línea divisoria */
  padding-bottom: 5px; /* Menos espacio al final */
}

.profesional-row.status-row {
  background-color: transparent !important; /* Sin cambio de color de fondo */
  padding-top: 0; /* Reducir espacio superior */
}

/* Mejorar distribución del espacio */
.profesional-row.info-row {
  min-height: 60px; /* Altura reducida */
  flex: 0.7; /* Ligeramente más espacio para la información principal */
}

.profesional-row.status-row {
  flex: 0.3; /* Menos espacio para la sección de estado/acciones */
  align-items: center;
  margin-top: 2px;
}

/* Mejorar alineación general */
.profesional-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Profesionales con nombres largos */
.profesional-nombre {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

/* Mejorar los botones de acción */
.profesional-actions {
  display: flex;
  gap: 8px;
  margin-left: auto; /* Empuja los botones a la derecha */
}

.action-button {
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important; /* Bordes más redondeados */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08); /* Sombra sutil */
  background-color: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Botón para registrar presentismo */
.register-btn {
  background-color: #d4edda !important; /* Fondo verde suave */
  color: #28a745 !important; /* Icono verde */
  border: 1px solid #c3e6cb !important;
}

.register-btn:hover {
  background-color: #c3e6cb !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Botón para ver legajo */
.legajo-btn {
  background-color: #e2f0fd !important; /* Fondo azul suave */
  color: #007bff !important; /* Icono azul */
  border: 1px solid #b8daff !important;
}

.legajo-btn:hover {
  background-color: #b8daff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Badges mejorados */
.status-badge {
  font-size: 12px !important;
  padding: 4px 10px !important;
  border-radius: 40px !important; /* Más redondeados */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Alineación y tamaños de íconos */
.status-badge i, 
.action-button i {
  font-size: 14px;
}

/* Añadir tooltips para pantallas pequeñas */
@media (max-width: 992px) {
  .action-button::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 6px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }
  
  .action-button:hover::after {
    opacity: 1;
    visibility: visible;
  }
}

/* Asegurar que no haya cambios de color en toda la celda */

/* Badges mejorados con colores por estado */
.status-badge {
  font-size: 12px !important;
  padding: 4px 12px !important;
  border-radius: 40px !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  color: white !important; /* Texto blanco para todos los badges */
  text-shadow: 0 1px 1px rgba(0,0,0,0.1); /* Sombra sutil para mejorar legibilidad */
}

/* Estado: Presente (verde) */
.status-badge.presente {
  background-color: #28a745 !important;
  border: 1px solid #218838 !important;
}

/* Estado: Ausente (rojo) */
.status-badge.ausente {
  background-color: #dc3545 !important;
  border: 1px solid #c82333 !important;
}

/* Estado: Parcial (amarillo/naranja) */
.status-badge.parcial {
  background-color: #fd7e14 !important;
  border: 1px solid #e8710a !important;
}

/* Estado: Sin datos (gris) */
.status-badge.sin-datos {
  background-color: #6c757d !important;
  border: 1px solid #5a6268 !important;
}

/* Mejora visual para íconos en badges */
.status-badge i {
  font-size: 12px;
}

/* Badges de estado con colores pastel y diseño sutil */
.status-badge {
  font-size: 11px !important;
  padding: 3px 8px !important; /* Reducir el padding para hacerlo más compacto */
  border-radius: 4px !important; /* Menos redondeado, más sutil */
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  font-weight: 500;
  box-shadow: none !important; /* Eliminar sombra para un aspecto más plano */
  color: rgba(0, 0, 0, 0.7) !important; /* Texto oscuro pero no completamente negro */
  text-shadow: none !important; /* Eliminar sombra de texto */
  border: none !important; /* Quitar bordes */
}

/* Estado: Presente (verde pastel) */
.status-badge.presente {
  background-color: rgba(40, 167, 69, 0.15) !important;
  color: rgba(40, 167, 69, 0.9) !important;
}

/* Estado: Ausente (rojo pastel) */
.status-badge.ausente {
  background-color: rgba(220, 53, 69, 0.15) !important;
  color: rgba(220, 53, 69, 0.9) !important;
}

/* Estado: Parcial (amarillo/naranja pastel) */
.status-badge.parcial {
  background-color: rgba(253, 126, 20, 0.15) !important;
  color: rgba(253, 126, 20, 0.9) !important;
}

/* Estado: Sin datos (gris pastel) */
.status-badge.sin-datos {
  background-color: rgba(108, 117, 125, 0.15) !important;
  color: rgba(108, 117, 125, 0.9) !important;
}

/* Ajuste al contenedor de estado */
.profesional-status {
  display: flex;
  flex-wrap: wrap; /* Permitir quiebre si es necesario */
}

/* Iconos en los badges */
.status-badge i {
  font-size: 10px !important; /* Iconos más pequeños */
  margin-right: 2px !important;
}

/* Ajuste a la fila de estado para que combine mejor con el horario */
.profesional-row.status-row {
  background-color: rgba(249, 249, 250, 0.5) !important; /* Fondo sutil similar al horario */
  padding: 6px 12px !important; /* Ajustar padding para balance */
}

/* Estilo para el nombre del profesional como enlace */
.profesional-nombre.legajo-link {
  color: #333 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-bottom: 1px;
}

/* Indicador sutil de enlace */
.profesional-nombre.legajo-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #007bff;
  transition: width 0.2s ease;
}

/* Efecto hover */
.profesional-nombre.legajo-link:hover {
  color: #007bff !important;
}

.profesional-nombre.legajo-link:hover::after {
  width: 100%;
}

/* Pequeño icono para indicar que es un enlace */
.profesional-nombre.legajo-link::before {
  content: '\f08e'; /* Icono de enlace externo de FontAwesome */
  font-family: FontAwesome;
  font-size: 11px;
  margin-right: 4px;
  opacity: 0;
  position: relative;
  top: -1px;
  transition: opacity 0.2s ease;
}

.profesional-nombre.legajo-link:hover::before {
  opacity: 1;
}

/* Mejorar el balanceo de la fila de estado ahora que solo tiene un botón */
.profesional-status-actions {
  justify-content: space-between;
  width: 100%;
}

/* Si no hay acciones, el estado ocupa todo el ancho */
.profesional-status {
  flex: 1;
}

/* Ajuste centrado para el botón de registro cuando es el único presente */
.profesional-actions:only-child {
  margin: 0 auto;
}

/* Sobrescribir el hover para la celda profesional */
#turnos_terapeutas td.celda-profesional:hover,
#turnos_fisiatras td.celda-profesional:hover,
#turnos_trabajadores_sociales td.celda-profesional:hover,
#turnos_integradores_escolares td.celda-profesional:hover {
  border: none !important; /* Eliminar el borde en hover */
  box-shadow: none !important; /* Eliminar cualquier sombra en hover */
  cursor: default; /* Cursor normal en lugar de pointer */
}

/* Estilos mejorados para la celda profesional */
.celda-profesional {
  padding: 0 !important;
  width: 230px !important;
  position: sticky;
  left: 0;
  z-index: 5;
  background-color: #f5f7f9 !important; /* Color ligeramente más oscuro que blanco */
  border: 1px solid #dce1e6 !important; /* Borde sutil pero visible */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: visible;
}

/* Asegurar que el contenedor interior no tenga borde */
.left-border-container {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 5px solid; /* El color se aplica desde el JS */
  border-top: none;
  border-right: none;
  border-bottom: none;
}

/* Estructura base para celdas de profesionales */
.celda-profesional {
  padding: 0 !important;
  width: 230px !important;
  position: sticky;
  left: 0;
  z-index: 5;
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Contenedor principal con línea lateral de color */
.left-border-container {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 4px solid; /* Color se aplica dinámicamente desde JS */
}

/* Filas dentro de la celda de profesional */
.profesional-row {
  display: flex;
  padding: 12px;
  align-items: center;
}

/* Fila superior con información principal */
.info-row {
  flex: 0.65;
  padding-bottom: 8px;
  position: relative;
}

/* Separador sutil entre filas */
.info-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.04);
}

/* Fila inferior con estado y acciones */
.status-row {
  flex: 0.35;
  justify-content: space-between;
  padding-top: 8px;
}

/* Contenedor de avatar */
.avatar-container {
  margin-right: 12px;
  flex-shrink: 0;
}

/* Estilo de avatar */
.avatar-mini {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Detalles del profesional */
.profesional-details {
  flex: 1;
  min-width: 0; /* Para texto largo con elipsis */
}

/* Nombre del profesional como link */
.profesional-nombre {
  color: #212529 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  margin: 0 0 4px 0 !important;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Efecto hover sutil para el link */
.profesional-nombre.legajo-link:hover {
  color: #0d6efd !important;
  text-decoration: underline;
}

/* Especialidad del profesional */
.profesional-especialidad {
  color: #6c757d !important;
  font-size: 12px !important;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badges de estado con diseño unificado */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

/* Variantes de color para estados */
.status-badge.presente {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.status-badge.ausente {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.status-badge.parcial {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-badge.sin-datos {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

/* Botón de registro de asistencia */
.action-button.register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: none;
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-button.register-btn:hover {
  background-color: rgba(25, 135, 84, 0.2);
  transform: translateY(-1px);
}

/* Responsive para dispositivos pequeños */
@media (max-width: 768px) {
  .celda-profesional {
    width: 200px !important;
  }
  
  .profesional-row {
    padding: 8px;
  }
  
  .avatar-mini {
    width: 32px !important;
    height: 32px !important;
  }
  
  .status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Botones de desplazamiento horizontal - Cambiados de fixed a absolute */
.tabla-master .scroll-button {
  position: absolute; /* Cambio crítico de fixed a absolute */
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
}

/* Posicionamiento específico para cada botón */
.tabla-master .left-scroll {
  left: 15px;
}

.tabla-master .right-scroll {
  right: 15px;
}

/* Aseguramos que el contenedor sea position: relative para que absolute funcione */
.tabla-master.table-responsive {
  position: relative;
  overflow: auto;
  max-height: 80vh;
  overflow-x: auto;
}

/* Ajuste responsivo para los botones */
@media (max-width: 768px) {
  .scroll-button {
    width: 36px;
    height: 36px;
  }
  
  .left-scroll {
    left: 10px;
  }
  
  .right-scroll {
    right: 10px;
  }
}

/* Ajustar para que los botones solo aparezcan cuando hay contenido que desplazar */
@media (max-width: 992px) {
  .scroll-button {
    opacity: 0.7;
  }
  
  .scroll-button:hover {
    opacity: 1;
  }
}

/* Animación para indicar posibilidad de scroll */
@keyframes pulse-scroll {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.1); }
}

.tabla-master.has-overflow .scroll-button {
  animation: pulse-scroll 2s ease-in-out 1;
}

/* Efectos adicionales para los botones de scroll */
.scroll-button i {
  font-size: 16px;
  color: #495057;
  transition: transform 0.2s ease;
}

.scroll-button:hover i {
  transform: scale(1.2);
}

.scroll-active {
  background-color: rgba(13, 110, 253, 0.1) !important;
}

/* Mostrar indicadores visuales cuando el usuario puede desplazarse más */
.tabla-master.has-overflow::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 30px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.8));
  z-index: 5;
}

.tabla-master.has-overflow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30px;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.8));
  z-index: 5;
}

/* Contenedor de botones para mejor organización */
.scroll-buttons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Importante para que los clics pasen a través del contenedor */
  z-index: 10;
  visibility: hidden;
}

/* Los botones sí deben capturar eventos */
.scroll-button {
  pointer-events: auto;
}

/* Ajustar indicadores de gradiente para que no entren en conflicto */
.tabla-master.has-overflow::after,
.tabla-master.has-overflow::before {
  z-index: 5;
}

/* Mejorar visibilidad de botones */
@media (max-width: 992px) {
  .tabla-master .scroll-button {
    opacity: 0.8;
    width: 36px;
    height: 36px;
  }
  
  .tabla-master .scroll-button:hover {
    opacity: 1;
  }
}

/* Mostrar botones solo cuando hay overflow */
.tabla-master.has-overflow .scroll-buttons-container {
  visibility: visible;
}

/* Eliminar los gradientes que pueden interferir con los botones */
.tabla-master.has-overflow::after,
.tabla-master.has-overflow::before {
  display: none;
}

/* Rediseño completo de los botones de desplazamiento */
.tabla-master .scroll-buttons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* No interfiere con los clics en la tabla */
  z-index: 1;
}

/* Estilo base de botones flotantes */
.tabla-master .scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: none; /* Oculto por defecto */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto; /* Permite interacción */
  z-index: 100;
}

/* Botón izquierdo - más separado de la celda del profesional */
.tabla-master .left-scroll {
  left: 240px; /* Posicionado después de la celda de profesional */
}

/* Botón derecho */
.tabla-master .right-scroll {
  right: 15px;
}

/* Apariencia en hover */
.tabla-master .scroll-button:hover {
  background-color: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

/* Ícono dentro del botón */
.tabla-master .scroll-button i {
  font-size: 16px;
  color: #495057;
  transition: transform 0.2s ease;
}

/* Animación en hover */
.tabla-master .scroll-button:hover i {
  transform: scale(1.2);
}

/* Estado activo al hacer clic */
.tabla-master .scroll-button.scroll-active {
  background-color: #f8f9fa;
  transform: translateY(-50%) scale(0.95);
}

/* Eliminar indicadores de gradiente que generan confusión */
.tabla-master.has-overflow::after,
.tabla-master.has-overflow::before {
  display: none;
}

/* Contenedor para la tabla y botones de navegación */
.table-navigation-wrapper {
  position: relative;
  margin-bottom: 20px;
}

/* Estilos para botones de desplazamiento fuera de la tabla */
.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: none; /* Oculto por defecto */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
}

/* Posicionamiento de los botones */
.scroll-button.left-scroll {
  left: -20px; /* Fuera del borde izquierdo */
}

.scroll-button.right-scroll {
  right: -20px; /* Fuera del borde derecho */
}

/* Efectos visuales para los botones */
.scroll-button:hover {
  background-color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.1);
}

.scroll-button:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-button i {
  font-size: 16px;
  color: #495057;
}

.scroll-button.scroll-active {
  background-color: #f8f9fa;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .scroll-button {
    width: 36px;
    height: 36px;
  }
  
  .scroll-button.left-scroll {
    left: -18px;
  }
  
  .scroll-button.right-scroll {
    right: -18px;
  }
}

/* Optimización para pantallas muy pequeñas */
@media (max-width: 576px) {
  .scroll-button {
    width: 32px;
    height: 32px;
  }
  
  .scroll-button i {
    font-size: 14px;
  }
}

/* Eliminar estilos innecesarios que podrían interferir */
.tabla-master.has-overflow::after,
.tabla-master.has-overflow::before,
.scroll-buttons-container {
  display: none;
}

/* Mejorar el posicionamiento de los botones de acciones */
.acciones-turnero {
  position: relative;
  z-index: 1000; /* Valor alto para asegurar que esté por encima de otros elementos */
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* Ajustar el z-index del contenedor de la tabla para que sea inferior */
.table-navigation-wrapper {
  position: relative;
  z-index: 10; /* Menor que acciones-turnero */
  margin-top: 20px; /* Espacio adicional para separar de los botones */
}

/* Asegurar que los botones sean clickeables */
.acciones-turnero .btn {
  position: relative;
  z-index: 1001; /* Mayor que el contenedor */
}

/* Nuevo contenedor para búsqueda y acciones */
.turnos-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
}

/* El buscador ahora puede ocupar más espacio */
.turnos-header input.search {
  margin-bottom: 0;
  flex-grow: 1;
  min-width: 500px;
}

/* Indicador de filtro alineado con la búsqueda */
.filter-indicator {
  display: inline-flex;
  align-items: center;
}

/* Contenedor del buscador flotante */
.floating-search-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1050;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}

/* Estado activo del buscador flotante */
.floating-search-container.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Botón para mostrar/ocultar el input */
.floating-search-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  border: none;
}

.floating-search-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Input flotante */
.floating-search-input {
  width: 0;
  max-width: 300px;
  height: 50px;
  border-radius: 25px;
  padding: 0;
  margin-right: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  opacity: 0;
}

/* Input desplegado */
.floating-search-input.expanded {
  width: 100%;
  padding: 10px 15px 10px 45px;
  opacity: 1;
  background-image: url("../../img/searchicon.png");
  background-position: 15px center;
  background-repeat: no-repeat;
}

/* Indicador de resultados flotante */
.floating-filter-indicator {
  position: fixed;
  bottom: 85px;
  right: 25px;
  z-index: 1050;
  transition: all 0.3s ease;
  background: white;
  padding: 8px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  max-width: 350px;
  transform: translateY(50px);
  opacity: 0;
  pointer-events: none;
}

.floating-filter-indicator.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Responsividad */
@media (max-width: 768px) {
  .floating-search-container {
    bottom: 15px;
    right: 15px;
  }
  
  .floating-search-toggle {
    width: 45px;
    height: 45px;
  }
  
  .floating-search-input {
    max-width: 250px;
  }
}

.day-off-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.day-off-card {
  background: linear-gradient(to right, #f8f9fa, #edf7ff);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: flex;
  align-items: center;
  width: 100%;
  border-left: 4px solid #4dabf7;
  transition: transform 0.2s ease;
}

.day-off-card:hover {
  transform: translateY(-2px);
}

.day-off-icon-container {
  background-color: rgba(77, 171, 247, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
  flex-shrink: 0;
}

.day-off-icon-container i {
  color: #4dabf7;
  font-size: 32px;
}

.day-off-content {
  flex: 1;
}

.day-off-title {
  color: #212529;
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}

.day-off-message {
  color: #495057;
  margin-bottom: 16px;
  font-size: 15px;
}

.day-off-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.action-button:hover {
  transform: translateY(-2px);
}

.day-off-info {
  font-size: 13px;
  color: #6c757d;
}

.day-off-info i {
  margin-right: 5px;
}