@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* ============================== */
/* RESET BÁSICO Y FUENTE GENERAL */
/* ============================== */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", sans-serif;
  overflow-x: hidden; 
}
/* Compatible con todos los navegadores */
.ocultar-scroll {
  overflow-y: auto;
  -ms-overflow-style: none; /* IE y Edge antiguos */
  scrollbar-width: none; /* Firefox */
}

.ocultar-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari y Opera */
}

a {
    list-style: none;
    text-decoration: none;
    color: white;
  }

/* ============================== */
/* LAYOUT GENERAL DE LA APLICACIÓN */
/* ============================== */

.layout {
  display: flex;
  height: 100vh;
  /* overflow: hidden; */
}

/* ============================== */
/* SIDEBAR LATERAL IZQUIERDO */
/* ============================== */

.sidebar {
  width: 255px;
  background-color: #32363b;
  color: white;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
  font-size: 12px;
  transition: width 0.3s ease;
  overflow: hidden;
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 40px 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-scroll::-webkit-scrollbar {
  display: none;
}

.contenedorImgKoin {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-section {
  font-size: 8.5px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  margin-top: 20px;
  padding-bottom: 10px;
  position: relative;
  display: block;
}

.sidebar-section.with-line::before {
  content: "";
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  height: 2px;
  background-color: #5c5c5c;
  opacity: 0.4;
  border-radius: 1px;
}

.sidebar li:first-of-type {
  margin-bottom: 40px;
  }

.sidebar li {
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.3s;
  padding: 4px;
}

.sidebar li:hover {
  background-color: #94949428;
  padding: 10px;
  border-radius: 5px;
}

/* ============================== */
/* CONTENIDO PRINCIPAL A LA DERECHA */
/* ============================== */

.content {
  flex: 1;
  background-color: #f7fafc;
  overflow-y: auto;
}

.normalstatic i {
  font-size: 12px;
}

.inner-content {
  padding: 3rem;
  padding-top: 0;
}

/* ============================== */
/* NAVBAR SUPERIOR */
/* ============================== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 20px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-left input {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  background-color: #f1f5f9;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* ============================== */
/* PERFIL DEL ANALISTA EN NAVBAR */
/* ============================== */

.analyst-info {
  text-align: right;
  font-size: 13px;
  color: #333;
  z-index: 10000;
  line-height: 1.2;
}

.analyst-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.analyst-name-editable {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  outline: none;
}

.analyst-role-editable {
  font-size: 12px;
  color: #666;
  outline: none;
}

.profile-container {
  position: relative;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 1000000;
}

.profile-pic {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
}

.hidden-file {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hover-text {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #666;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

.profile-container:hover .hover-text {
  opacity: 1;
}

/* ============================== */
/* BOTONES DE IDIOMA, TEMA Y BÚSQUEDA */
/* ============================== */

.theme-toggle,
.lang-toggle,
.search-toggle,
.more-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #1b1e22;
  transition: color 0.3s ease;
}

.theme-toggle:hover,
.lang-toggle:hover,
.search-toggle:hover,
.more-toggle:hover {
  color: #0077cc;
}
 

.theme-toggle,
.lang-toggle,
.more-toggle {
  z-index: 100;
}

.more-toggle{
  padding-right: 20px;
  z-index: 1001;
}

/* ============================== */
/* ESTILOS PARA MODO OSCURO */
/* ============================== */

body.dark-mode {
  background-color: #1b1e22;
  color: #e2e8f0;
}

body.dark-mode .navbar,
body.dark-mode .inner-content,
body.dark-mode .content {
  background-color: #1b1e22;
}

body.dark-mode .sidebar {
  background-color: #22262b;
}

body.dark-mode .sidebar li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .analyst-name-editable,
body.dark-mode .analyst-role-editable {
  color: #e2e8f0;
}

body.dark-mode .theme-toggle,
body.dark-mode .lang-toggle,
body.dark-mode .search-toggle,
body.dark-mode .collapse-toggle {
  color: white;
}

/* ============================== */
/* SIDEBAR COLAPSADO */
/* ============================== */

.sidebar.collapsed {
  width: 60px;
}

.sidebar.collapsed .contenedorImgKoin img {
  display: none;
  max-width: 32px;
}

.sidebar li span,
.sidebar .sidebar-section span {
  transition: opacity 0.2s ease;
  opacity: 1;
  display: inline;
}

.sidebar.collapsed li span,
.sidebar.collapsed .sidebar-section span {
  opacity: 0;
  display: none;
}

.sidebar.collapsed li {
  justify-content: center;
  align-items: center;
  padding-left: 6px;
}

.sidebar.collapsed li:hover {
  background-color: transparent;
}

.collapse-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #1a202c;
  transition: color 0.3s ease, transform 0.3s ease;
}

.collapse-toggle:hover {
  color: #3182ce;
  transform: rotate(-10deg);
}

/* ============================== */
/* BÚSQUEDA EN VIVO - NAVBAR */
/* ============================== */

.search-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 30px;
  transition: width 0.5s ease;
}

.search-container input {
  border: 1px solid #ccc;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 20px;
  outline: none;
  width: 300px;
  opacity: 0;
  transition: width 0.5s ease, opacity 0.4s ease;
  margin-left: 10px;
  background-color: #f7f7f7;
}

.search-container.active {
  width: 300px;
}

.search-container.active input {
  width: 300px;
  opacity: 1;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 30px;
  width: 90%;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 6px;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 5px;
}

.search-suggestions.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  color: #615f5f;
  transition: background 0.2s ease;
  font-size: 13px;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

/* ============================== */
/* TITULO PRINCIPAL */
/* ============================== */
.titulo-principal h2 {
    color: #22262b;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 4px;
}

.comentario{
  font-size: 13px;
    margin-top: 0px;
    color: #121518b5;
    margin-bottom: 22px;
}

/* ============================== */
/* CONTADOR MANUAL */
/* ============================== */


.modulo-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 32px; /* espaciado lateral para no pegar al borde */
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.modulo-container::-webkit-scrollbar {
  display: none;
}

.modulo-container > div {
  width: 118px; /* o cualquier ancho fijo/modificable que quieras */
  /* height: 0px; */
  background-color: #ffffff;
  border-radius: 8px;
}
  
  .modulo-card {
    flex: 0 0 auto;
    width: 130px;
     scroll-snap-align: start;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    min-height: 80px;
    height: 80px;
    transition: height 0.3s ease .2s; /* <- delay de 1s */
    overflow: hidden;
    position: relative;
    transition: .3s ease-in-out;
  }
  
  .modulo-card:hover {
    height: 190px;
  }
  
  .modulo-header { 
    display: flex;
    justify-content: center;
    height: 30px;
    align-items: center;
    font-weight: 700;
    margin-bottom: 8px;
    color: #141824e1; 
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .modulo-header h3{  
    margin: 0px;
    font-size: 13px;
  }
  
  .contador {
    font-size: 18px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
    padding-top: 12px;
  }
  
  .niveles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s ease .2s; /* <- misma demora que el height */
  }
  
  .modulo-card:hover .niveles-grid {
    opacity: 1;
  }
  
  .nivel-label {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    text-align: center;
  }
  
  .nivel-btn {
    font-size: 12px;
    padding: 4px 0;
    border: none;
    border-radius: 6px;
    background: #f5f5f58a;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .nivel-btn:hover {
    background: #ddd;
  }
  
  .acept-label {
    grid-column: 1;
    text-align: center;
  }
  
  .reject-label {
    grid-column: 2;
    text-align: center;
  }

  /*  flechas scroll  */
  .scroll-arrow {
    font-size: 10px;
  position: absolute;
  top: 27%;
  transform: translateY(-50%); 
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10; 
  transition: background 0.2s ease;
}

.scroll-arrow:hover {
  background: #eeeeee;
}

.scroll-left {
    left: 270px;
}

.scroll-right {
  right: 18px;
}



 
/* ============================== */
/* MODAL DE CONFIRMACION          */
/* ============================== */

/* 🔄 MODAL COMPLETO (overlay + contenido centrado) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 240, 240, 0.2); /* tono claro */
  backdrop-filter: blur(6px); /* 💡 Fondo borroso */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* Oculto por defecto */
.modal.hidden {
  display: none;
}

/* 💡 CUADRO FLOTANTE (modal en sí) */
.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.modal-content h2{
    margin-bottom: 25px;
    font-size: 16px;
    letter-spacing: .5px;
    text-transform: capitalize;
    color: #1a1619;
}

.modulo-slider-card { 
    margin-bottom: 16px;
    border-radius: 12px; 
    color: #333;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.slider-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  height: 50px;
}

.slider-nav i {
    margin: 0px 20px 0px 20px;
    font-size: 12px;
  }

.slider-nav i:hover {
  color: #111;
}

.slider-nav h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  flex: 1;
  text-align: center;
}

.btn-agregar-modulo {
    background-color: #2e8b57;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s ease;
}

.btn-agregar-modulo:hover {
  background-color: #246c45;
}

/* Por defecto, ocultamos la cruz */
.modulo-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0; /* 👈 Oculta inicialmente */
  pointer-events: none; /* 👈 Evita clics si no está visible */
}

/* Al hacer hover en la tarjeta, mostramos la cruz */
.modulo-card:hover .modulo-close {
  opacity: 1;
  pointer-events: auto;
}

.modulo-card:hover .modulo-close:hover {
  color: rgba(189, 27, 27, 0.856);
}

/* Modo compacto: tarjetas más pequeñas, sin hover ni contador */
#contenedor-modulos.modo-compacto .modulo-card {
  height: 70px !important;
}

#contenedor-modulos.modo-compacto .modulo-card:hover {
  height: 70px;
}

#contenedor-modulos.modo-compacto .contador,
#contenedor-modulos.modo-compacto .niveles-grid {
  display: none !important;
}


/* ✅ Modal de confirmación */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-box {
  background: #fff;
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 340px;
  text-align: center;
}

.modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.modal-actions button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

#confirmYes {
  background: #2e8b57;
  color: white;
}

#confirmYes:hover {
  background: #226b44;
}

#confirmNo {
  background: #ccc;
}

#confirmNo:hover {
  background: #bbb;
}

.hidden {
  display: none;
}

/* ✅ Toast flotante */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 13px;
  background: #c5c5c5;
  color: #3b3a3a;
  padding: 12px 18px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1000000000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast.hide {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

  
  /*DASH ESTRUCTURA*/
.parent-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;   
}
 
.div {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px; 
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); 
 
}

.row {
  display: flex;
  gap: 20px;
}

.row-1 {
    height: 148px;
}

.row-2 {
  height: 260px;
}

.row-3 {
  height: 60px;
}

/* Elementos horizontales en filas */

.div1, .div2, .div3 {
  flex: 0 0 calc(25% - 15px); /* 2 columnas */
  border: none;
}

.div6 {
  flex: 0 0 calc(50% - 15px); /* 4 columnas */
}

.div7, .div8 {
  flex: 0 0 calc(25% - 15px); /* 2 columnas */
}

.div9 {
  flex: 0 0 100%;
  cursor: pointer;
}

/* div4 y div5 contenedora */
.col.double-box {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(25% - 15px);
    gap: 17px;
}

/* div4 y div5 internas (mitad de la fila de 120px = 60px) */
.div4, .div5 {
    flex: 0 0 38%;
    border: 1px rgba(67, 67, 67, 0.089) solid;
}

.div h4{
  font-size: 13px;
  padding-left: 10px;
  text-align: start;
  margin-top: 12px;
  color: #1a1619e1;
}

.linea h4 {
    padding-bottom: 10px;
    margin-bottom: 0px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.178);
}


.double h6 {
    margin: 6px 0px 0px 10px;
    font-size: 10px;
}


/* ============================== */
/* Historial de clic              */
/* ============================== */


.historial-clic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74%;
}

.historial-box {
  flex: 1;
  text-align: center;
  border-right: 1px solid #e0e0e0;
  padding: 10px;
}

.historial-box:last-child {
  border-right: none;
}

.historial-box .titulo {
  display: block;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #3d3d3df1;
}

.historial-box .valor {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

/* ============================== */
/* Registro diario flotante       */
/* ============================== */
.historial-barra {
  display: flex;
  justify-content: space-between;
  align-items: center; 
}

.historial-barra h4 {
  margin: 0;
}

.button-30 {
    align-items: center;
    appearance: none;
    background-color: #FCFCFD;
    border-radius: 4px;
    border-width: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    box-sizing: border-box;
    color: #36395A;
    cursor: pointer;
    display: inline-flex;
    font-family: "Inter", monospace;
    height: 25px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow, transform;
    font-size: 10px;
    margin-right: 20px;
}

.button-30:focus {
  box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}

.button-30:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-30:active {
  box-shadow: #D6D6E7 0 3px 7px inset;
  transform: translateY(2px);
}


/* Modal */
.modal-historial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-contenido {
  background: white;
  padding: 20px 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

 

.lista-historial {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.lista-historial p {
  margin-bottom: 8px;
  font-size: 14px;
}


#titulo-historial{
  font-size: 12px;
}

/* carrousel Historial reservas */
 
/* Reemplazá tu carrusel-reservas por este */

.div3 {
  min-width: 0;
  overflow: hidden;
  border-bottom: none;
}

.carrusel-reservas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* Limita visibilidad de días al espacio del padre */
.contenedor-dias {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  scrollbar-width: none; /* Firefox */
  max-width: 100%; /* 👈 clave para evitar desborde */
  flex: 1 1 auto;
}
.contenedor-dias::-webkit-scrollbar {
  display: none;
}


.dia-reserva {
    min-width: 50px;
    height: 100%;
    background: #f5f5f5b5; 
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dia-reserva:hover {
  background: #e2e2e2;
}

.flecha-carrusel {
    background: none;
    border: 2px solid transparent; /* para que tenga borde pero sea invisible inicialmente */
    border-radius: 50%; /* para que sea un círculo perfecto */
    font-size: 10px;
    cursor: pointer;
    padding: 7px; /* espacio alrededor del texto */
    color: #434343;
    margin-left: 5px ;
    margin-right: 5px;
    transition: background-color 0.3s, border-color 0.3s; /* transición suave para color de fondo y borde */
}

.flecha-carrusel:hover { 
    background-color: #4e4e4e18; /* color de fondo cuando está en hover */
    border-color: none; /* color del borde cuando está en hover */
 }

.modal-reserva {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.contenido-modal-reserva {
  background: white;
  padding: 20px 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.detalle-dia-reserva p {
  margin-bottom: 6px;
  font-size: 14px;
}

.hidden{
  display: none;
}

.titulo-con-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.178);
}

.dropdown-mes { 
    border-radius: 6px;
    border: 1px solid rgba(128, 128, 128, 0.192);
    font-size: 9px; 
}

#selector-mes{ 
    margin: 0;
    padding: 0;
    width: 58px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    padding-bottom: 2px;
    padding: 5px; 

}

.resumen-header {
  font-family: 'Inter'; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid #cccccc6d;
  padding-bottom: 6px;
}

.resumen-header .fecha {
  font-weight: 600;
  font-size: 16px;
  color: #181818e2;
}

.resumen-header .total {
    font-weight: bold;
    font-size: 19px;
    color: #17a34a;
}

.resumen-doble-columna {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.columna-izquierda,
.columna-derecha {
  flex: 1 1 45%;
}

.columna-izquierda h4,
.columna-derecha h4 {
  margin-bottom: 6px;
  font-size: 17px;
  color: #555;
  border-bottom: 1px solid #cccccc9c;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.columna-izquierda p,
.columna-derecha p {
  margin: 4px 0;
  font-size: 15px;
  color: #333;
  padding-bottom: 8px;
}

#titulo-dia-reserva{
  display: none;
}
 
/* === Productividad Diaria === */
.productividad-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
}

.barra-productividad {
    width: 90%;
    height: 10px;
    margin: 0px 33px 10px 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.barra-progreso {
  height: 100%;
  width: 0%;
  background-color: #4caf50; /* verde, podés cambiarlo si querés */
  transition: width 0.4s ease;
  border-radius: 10px;
}

.texto-productividad {
  font-size: 13px;
  color: #333;
  text-align: right;
  margin-right: 32px;
}

/* === Queue más frecuentada === */
.frecuente-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
}

.info-barra-frecuente {
  display: flex;
  justify-content: end;
  gap: 20px;
  padding: 0 10px;
  font-size: 13px;
  color: #333;
  margin-right: 20px;
}

#nombreModuloFrecuente{
  padding-top: 1px;
  font-weight: 700;
  color: #060606a8;
 font-family: "Montserrat", sans-serif;
}

/* estaidtcias personales  */
#promedio-tiempo, #resoluciones-hora {
  font-size: .7rem; /* tamaño del texto base */
  color: #444;
  margin: 12px;
}

.resaltado-tiempo {
  font-size: .85rem; /* más grande o en negrita */
  font-weight: bold;
  color: #292929; /* por ejemplo, azul */
  margin-left: 5px;
}
 
#resoluciones-hora .resaltado-hora {
  font-size: .85rem; /* más grande o en negrita */
  font-weight: bold;
  color: #292929; /* por ejemplo, azul */
  margin-left: 5px;
}

/* Fondo oscuro semitransparente */
.modal-turno {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px); /* 💡 Fondo borroso */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Caja de contenido */
.modal-turno-contenido {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Botones */
.botones-turno {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.botones-turno button {
  padding: 12px;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

#btn-turno-manana {
  background-color: #f0c420;
}

#btn-turno-noche {
  background-color: #4a90e2;
  color: white;
}

/* Oculto por defecto */
.hidden {
  display: none;
}

.seleccion-manual {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  gap: 10px;
}

.seleccion-manual label {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

.seleccion-manual input[type="time"] {
  padding: 5px;
  font-size: 1rem;
  margin-top: 4px;
}

.btn-confirmar-manual {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  background-color: #888;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.error-turno {
  color: red;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Botón de reservas */
.res{
  display: flex;
  justify-content: end;
  margin-right: 20px;
}

.reservas-btn { 
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 4px 7px;
  border-radius: 12px;  
  font-size: 11px;
  letter-spacing: .3px;
  font-family: "Nunito", sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: background-color 0.3s ease;
}
.reservas-btn:hover {
  background-color: rgb(34, 175, 104);
}

/* Panel flotante */
.panel-reservas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  animation: fadeIn 0.3s ease;
}

.panel-reservas.hidden {
  display: none;
}

.panel-contenido {
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Contenido interno */
.panel-reservas h2 {
  margin-bottom: 12px;
  font-size: 18px;
  text-align: center;
}
.reservas-seccion {
  margin-bottom: 16px;
}
.reservas-seccion h3 {
  margin-bottom: 6px;
  font-size: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}
.reservas-seccion ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.reservas-seccion li {
  margin-bottom: 4px;
  font-size: 14px;
  color: #333;
}

/* Animación de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

