/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");

@font-face {
    font-family: "Recoleta";
    src: url("../fonts/Recoleta-RegularDEMO.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
} */

.container {
  width: 100%;
  height: 85%;
}

.container-layout {
  margin-left: 15.5%;

  width: 100%;
  min-height: 100%;
  background-color: #f8f9ff;
  position: static !important;  /* antes relative */
  overflow: visible !important; /* antes hidden */
  z-index: auto !important;
}

/* ======== SIDEBAR GENERAL ======== */
.sidebar-container {
  transition: .5s;
  max-width: 300px;
  min-width: 200px;
}

.sidebar {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 16%;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.4s ease;
  transform: translateX(0);
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.08);
   position: fixed;
  z-index: 1000; /* mantener visible pero detrás del modal */
}

.egresados-icon{
  font-size: 18px;     
  width: 22px; 
  text-align: center;
  margin-right: 10px;  
}
/* .egresados-icon{
  vertical-align: middle;
  line-height: 1;
} */


/* ======== OVERLAY OSCURO ======== */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 900;
}

.sidebar-overlay.show {
  display: block;
}

/* ======== BOTÓN HAMBURGUESA ======== */
.menu-sidebar {
  position: relative;
  background: none;
  border: none;
  color: #555;
  font-size: 22px;
  cursor: pointer;
  z-index: 900;
  display: none; 
  margin-left: 12px;
  margin-top: 8px;
  vertical-align: middle;
}


.event-topbar-mobile{
  color: #959393;
  font-size: 15px;
  position: relative;
  z-index: 900;
  top: -60px;           
  margin-left: 34px;
  margin-top: 10px;
}


.menu-sidebar,
.event-topbar-mobile{
  display: inline-block;
  vertical-align: middle;
}

/*codigo evento*/

.event-header{
  padding: 15% 10% 0% 15%;
  margin-left: 2%;
  color: #959393;
  font-size: 15px;

}


/* ======== CONTENIDO DEL SIDEBAR ======== */
.list-container {
  padding-top: 40px;
}

.logo-container {
  text-align: center;
  cursor: pointer;
  margin-right: 15%;
}

.logo-container img {
  max-width: 130px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.logo {
  width: 45px !important;
  height: auto !important;
}

.logoJanos {
  width: 90px !important;
  height: auto !important;
}

.list-container ul {
  margin-top: 40px;
  text-align: center;
}

.list-container ul li {
  margin-bottom: 16px;
}

.menu-principal {
  width: 90%;
  margin: 0 auto;
  transition: .5s;
  font-weight: 500;
}

.menu-principal p {
  color: #717171;
  font-size: 15px;
  transition: .2s;
  margin-right: 23%;
}

.items {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 80%;
    padding: 14px 18px;
    font-size: 90%;
    color: #212121;
    margin: -6px auto;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.items img,
.items svg {
  width: 20px;
  height: 20px;
}

.items img {
  width: 10%;
  vertical-align: middle;
}

.items p {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8%;
}


.items-entrevista img.entrevistas{
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 0.4px #000);
}


.items:hover {
  background-color: #f4f0f5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.items.active {
  background-color: #d5b6f453;
  border-radius: 8px;
  padding: 12px 14px;
}

.items.active {
  background-color: #d5b6f453;
}

.items.hidden{
	display:none;
  padding: 12px 14px;
   
}

.items-entrevista .show-mini{
  font-size: 13px;  
}


/*complementos*/
.sidebar .items.complementos-item {
  background: #fff;               /* fondo limpio */
  border: 1px solid #a64cff;      /* borde violeta */
  color: #a64cff;                 /* texto violeta */
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .items.complementos-item img.complementos {
  width: 20px;
  height: 20px;
  filter: invert(29%) sepia(73%) saturate(7498%) hue-rotate(257deg) brightness(92%) contrast(101%);
}


/* Texto violeta */
.sidebar .items.complementos-item .show-mini {
  color: #a64cff;
  font-size: 15px;
  font-weight: 500;
}

/* Hover */
.sidebar .items.complementos-item:hover {
  background: rgba(166, 76, 255, 0.08);
  transform: translateX(3px);
}

.regalos {
  filter: invert(46%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(86%) contrast(82%);
}
.ver { color: white; }
.cerrar { color: #50119f; }

.logout {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #50119f;
  cursor: pointer;
  width: 70%;
  text-align: center;
}

.logout img {
  width: 20px;
  vertical-align: middle;
  margin-right: 10px;
}

.logout p {
  display: inline-block;
  vertical-align: middle;
}

/* ======== ESTADO COLAPSADO (solo desktop) ======== */
.sidebar.collapsed {
  width: 80px;
}

.sidebar.collapsed .menu-principal p,
.sidebar.collapsed .items p,
.sidebar.collapsed .logout p {
  display: none;
}

.sidebar.collapsed .items,
.sidebar.collapsed .logout {
  width: 60px;
  text-align: center;
  padding-left: 0;
}

.sidebar.collapsed .logoJanos {
  display: none;
}

.sidebar.collapsed .logo {
  width: 35px !important;
  height: auto;
}

/* ======== SUBMENÚ INVITADOS ======== */
.items { position: relative; }
.items .arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.items[aria-expanded="true"] .arrow {
  transform: translateY(-50%) rotate(180deg);
}

.submenu-item {
  padding-left: 15%;
}

.confirmaciones {
  width: 20px;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* ======== MODAL GENÉRICO ======== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  text-align: center;
  z-index: 9999 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto; /* permite scroll si el modal es alto */
  backdrop-filter: blur(4px);
}


.modal-overlay.active {
  opacity: 1;
}

.modal-overlay::before {
  content: "";
  display: inline-block;
  height: 100vh;
  vertical-align: middle;
}

.modal-content {
  display: inline-block;
  vertical-align: middle;
  background-color: #fff;
  border-radius: 16px;
  padding: 2%;
  width: 80%;
  max-width: 80%;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  text-align: left;
  position: relative;
}


.modal-overlay.active .modal-content {
  transform: scale(1);
}


.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: 400;
  color: #444;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-button:hover {
  color: #000;
}

/* botones empujon  */
.items-empujon {
  background: linear-gradient(90deg, #d35cff, #a64cff);
  color: #fff !important;
  border-radius: 10px;
  padding: 12px 14px !important;
  margin-top: 25px;
}

.items-empujon svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 12px;
  fill: #fff;
}

.items-empujon p {
  color: #fff !important;
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
}

.items-empujon:hover {
  filter: brightness(1.1);
}

/* === fondo violeta para btn === */
.items.violeta-btn {
  background: linear-gradient(90deg, #d35cff, #a64cff);
  color: #fff !important;
  border-radius: 10px;
  padding: 12px 14px;
}

.items.violeta-btn img,
.items.violeta-btn .empujon-icon {
  filter: brightness(1000%) !important;
}

.items.violeta-btn p {
  color: #fff !important;
}
.items.violeta-btn:hover {
  filter: brightness(1.1);
}

/*footer*/
.footer-container {
    display: none;
}

.footer-container.hidden {
  display: none !important;
} 


/*======== MODAL SESION ESPIRADA====*/
.modal-sesion {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.modal-sesion-box {
    background: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-sesion-box h2 {
    margin-bottom: 10px;
}

.btn-sesion-expirada {
    margin-top: 20px;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    background: #4f46e5;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}


/* ======== RESPONSIVIDAD ======== */
@media (max-width: 1350px) {
    
    /* Sidebar oculto fuera de pantalla */
    #sidebar .sidebar {
      transform: translateX(-100%);
      width: 80%;
      max-width: 300px;
      z-index: 2000;
      transition: transform 0.4s ease;
    }

    /* Mostrar al abrir */
    #sidebar .sidebar.show {
      transform: translateX(0);
    }

    /* Overlay visible */
    .sidebar-overlay.show {
      display: block;
    }

    /* Contenedor ocupa todo el ancho */
  .container-layout {
    position: static !important;   /* antes relative */
    overflow: visible !important;  /* antes hidden */
    z-index: auto !important;
    
  }
    /* Botón hamburguesa visible y alineado dentro del topbar */
    .menu-sidebar {
      display: inline-block;
      position: relative;
      top: -60;
      left: 0;
      margin: 10px 0 0 12px;
      font-size: 24px;
      color: #4b4b4b;
    }
    


    /*footer*/
    
    .footer-container {
          display: block;
      }

    .footer-content { 
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background-color: #fff;
        border-top: 1px solid #e5e5e5;
        z-index: 1000;
        padding: 8px 0;
        box-shadow: 0 -2px 10px #0000001a;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
    }

    .nav-item,
    .nav-item-uno {
      display: inline-block;   
      width: 20%;             
      text-align: center;
      position: relative;
      cursor: pointer;
      padding: 5px 8px;
      min-width: 60px;
      transition: all .2s ease;
      margin-left: 3%;
    }

    /* Estilo especial del primero */
    .nav-item-uno{
      background: linear-gradient(135deg, #9333ea, #7c3aed);
      color: #fff !important;
      border-radius: 12px;
      margin: 4px 8px;
      box-shadow: 0 4px 12px #9333ea4d;
      transition: all .3s ease;
      margin-left: 46px;
  }

    /* Texto del primero */
    .nav-span-uno{
      color: #fff !important;
      font-size: 12px;
    } 

    /* Texto de los demás */
    .nav-span{
      font-size: 10px;
      font-weight: 500;
      color: #717171;
      text-align: center;
      transition: color .2s ease;
      line-height: 1.2;
    }

    .nav-item-uno .empujon{
      width: 24px;     
      height: 24px;
      margin-bottom: 4px;
      display: block;   
      margin-left: auto;
      margin-right: auto; 
    }


      .nav-item .invitados{
      width: 24px;     
      height: 24px;
      margin-bottom: 4px;
      display: block;   
      margin-left: auto;
      margin-right: auto; 
    }
    
      .nav-item .complementos{
      width: 24px;     
      height: 24px;
      margin-bottom: 4px;
      display: block;   
      margin-left: auto;
      margin-right: auto; 
    }


    .footer-content .active {
    color: #7000fe;
    }

    .footer-content .active span {
      color: #7000fe !important;
      font-weight: 600;
    }

    .footer-content .active img {
      filter: brightness(0) saturate(100%) invert(24%) sepia(91%) saturate(5000%) hue-rotate(260deg) brightness(100%) contrast(100%);
    }

      /* Ocultar botón flotante */
    .whatsapp-button-container {
      display: none !important;
    }

  .nav-whatsapp {
      display: inline-block;
      width: 23%;
      text-align: center;
      cursor: pointer;
      padding: 6px 0; 
      min-width: 60px;
      transition: all .3s ease;

      /* estilo del botón verde */
      background-color: #25d366;
      border-radius: 20px;
      box-shadow: 0 4px 12px #25d3664d;
  }

  /* hover */
  .nav-whatsapp:hover {
      background-color: #1ebe5d;
      box-shadow: 0 6px 14px rgba(0,0,0,0.25);
      transform: translateY(-2px) scale(1.07);
  }

  /* FORZAR ICONO ARRIBA */
  .nav-whatsapp .icon-whatsapp {
      display: block;               /* ícono en bloque → se ubica arriba */
      width: 24px;
      height: 24px;
      margin: 0 auto 4px auto;      /* centrado + espacio abajo */
      filter: brightness(0) invert(1); /* blanco */
  }

  /* TEXTO ABAJO */
  .nav-whatsapp .nav-span {
      display: block;               /* debajo del icono sí o sí */
      font-size: 10px;
      font-weight: 600;
      color: #ffffff !important;    /* blanco como el botón original */
      line-height: 1.2;
  }
  .nav-whatsapp i {
      color: #ffffff !important;
  }
 }





/* ---------- AJUSTES MOVIL: remover margin-left y centrar container-layout ---------- */
@media screen and (max-width: 900px) {
  .container-layout {
    margin-left: 0 !important;
    text-align: -webkit-center;        
    padding-left: 0 !important;        
    box-sizing: border-box;
  }

  /* .container-layout > * {
    margin-left: 0 !important;
  } */

  .event-header {
    padding-left: 6% !important; 
    margin-left: 0 !important;
    text-align: center;
  }

    .nav-item, .nav-item-uno {
      display: inline-block;
      width: 32%;
      text-align: center;
      position: relative;
      cursor: pointer;
      min-width: 60px;
      margin-left: -1%;
      padding: 5px 8px;
      transition: 0.2s;
	  vertical-align:middle;
  }

   .nav-item-uno{
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    color: #fff !important;
    border-radius: 12px;
    margin: 4px 8px;
    box-shadow: 0 4px 12px #9333ea4d;
    transition: all .3s ease;
    margin-left: 18px;
}
.modal-content {

  width: 95%;
  max-width: 95%;
  
}
}

@media screen and (min-width: 1500px) {

  .items {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 80%;
    padding: 14px 18px;
    font-size: 90%;
    color: #212121;
    margin: 30px auto;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

}




