/* =========================================================
   VARIABLES / THEME - Transformación Digital UNCuyo
   =======================================================*/
:root {
  --bg:#ffffff;
  --panel:#f8f9fa;
  --card:#ffffff;
  --muted:#6c757d;
  --brand:#00a2ff;
  --brand-secondary:#28a745;
  --ok:#28a745;
  --warn:#ffc107;
  --danger:#dc3545;
  --text:#212529;
  --text-light:#495057;
  --shadow:0 2px 10px rgba(0,0,0,.08);
  --shadow-hover:0 4px 20px rgba(0,0,0,.12);
  --radius:8px;
  --border:#e9ecef;
}


/* =========================================================
   RESETS / BASE
   =======================================================*/
* { box-sizing:border-box; }
html, body { margin:0; height:100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
body::before{
  content:'';
  position:fixed; inset:0;
  background:
    linear-gradient(135deg, rgba(0,123,255,.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(40,167,69,.01) 0%, transparent 50%);
  pointer-events:none; z-index:-1;
}

a{ color:var(--brand); text-decoration:none; transition:.2s ease; }
a:hover{ color:#0056b3; text-decoration:underline; }

.wrap{ max-width:1200px; margin:0 auto; padding:20px; }
.tiny{ font-size:12px; color:var(--muted); }

/* =========================================================
   HEADER / NAV
   =======================================================*/
/* Header base */
header.site {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
header .bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

/* Logo */
.logo { display:flex; align-items:center; gap:12px; cursor:pointer; text-decoration: none; }
.logo .mark {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 14px;
}
.logo .brand { font-weight: 600; font-size: 18px; color: var(--text); }

/* Nav en desktop (siempre visible en fila) */
nav.nav-links {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
nav.nav-links a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-light);
  transition: .2s;
}
nav.nav-links a:hover {
  background: rgba(0,123,255,.08);
  color: var(--brand);
  transform: translateY(-1px);
}


/* Hamburguesa base */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 11000;
}
.hamburger span {
  width: 25px; height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* Mobile (menú lateral oculto hasta abrirlo) */
@media (max-width: 768px) {
  nav.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 240px;
    height: 100vh;
    background: rgba(255,255,255,.98);
    backdrop-filter: saturate(140%) blur(10px);
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 20px rgba(0,0,0,.1);
    z-index: 9999;
    overflow-y: auto;
  }
  nav.nav-links.active { right: 0; }
  .hamburger { display: flex; margin-left: auto; }
  nav.nav-links a, nav.nav-links form { width: 100%; }
}




/* =========================================================
   SECTIONS / TITLES
   =======================================================*/
section{ margin:40px 0; scroll-margin-top:80px; }
section h2{
  font-size:28px; font-weight:700; margin-bottom:12px;
  color:var(--text); letter-spacing:-.02em;
}

/* =========================================================
   HERO
   =======================================================*/
.hero{
  display:grid; grid-template-columns:1.2fr .8fr; gap:32px; align-items:center; margin:32px 0 48px; z-index:1000;
}
.hero .card{
  background:#ffffff;
  border:1px solid var(--border); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow); position:relative; overflow:hidden; transition:.3s;
}
.hero .card::before{
  content:''; position:absolute; left:0; right:0; top:0; height:4px;
  background:linear-gradient(90deg, var(--brand), var(--brand-secondary));
}
.hero .card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-hover); }

.hero h1{
  font-size:clamp(24px, 4vw, 42px); margin:0 0 16px; font-weight:700; line-height:1.2;
  color:var(--text); letter-spacing:-.02em;
}

.hero p{ color:var(--muted); margin:0 0 20px; font-size:16px; line-height:1.6; }

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 16px;
  background: rgb(255, 255, 255); /* fondo muy suave */
  border: 1px solid rgba(255, 255, 255, 0.2); /* borde neutro */
  border-radius: 20px;
  font-size: 12px;
  color: #000000; /* gris claro */
  font-weight: 500;
  transition: all 0.3s ease;
}

.actions{ display:flex; flex-wrap:wrap; gap:12px; margin:16px 0 20px; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 20px; border-radius:6px; border:1px solid var(--border);
  background:#ffffff; color:var(--text-light); cursor:pointer; 
  font-weight:500; font-size:14px; text-decoration:none; transition:.2s;
}
.btn:hover{
  border-color:var(--brand); background:rgba(0,123,255,.04);
  transform:translateY(-2px); box-shadow:var(--shadow);
  text-decoration:none;
}
.btn.primary{ 
  background:var(--brand); color:#ffffff; border-color:var(--brand); font-weight:600; 
}
.btn.primary:hover{ 
  background:#0056b3; transform:translateY(-2px); 
  box-shadow:0 4px 12px rgba(0,123,255,.3); 
}
.btn.small{ padding:6px 12px; font-size:12px; border-radius:4px; }

.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Search */
.search{
  display:flex; gap:8px; margin:20px 0 0;
  background:#ffffff; padding:4px; border-radius:8px; 
  border:1px solid var(--border); transition:.2s;
}
.search:focus-within{ 
  border-color:var(--brand); 
  box-shadow:0 0 0 3px rgba(0,123,255,.1); 
}
.search input{
  flex:1; padding:12px 16px; border-radius:6px; border:0;
  background:transparent; color:var(--text); font-size:14px;
}
.search input:focus{ outline:none; }
.search input::placeholder{ color:var(--muted); }

/* SVG card efecto */
.hero .card:last-child{ position:relative; }
.hero svg{ transition:.3s; }
.hero .card:last-child:hover svg{ transform:scale(1.02); }


@media (max-width: 768px) {
  .hero{
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px 0 32px;
  }
  .hero .card { padding: 24px; }
}

/* =========================================================
   LOGIN - Transformación Digital UNCuyo
   =======================================================*/

/* =========================================================
   LOGIN - Igual que REGISTER
   =======================================================*/

.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* igual que register */
  background: linear-gradient(135deg, rgba(0,123,255,.05) 0%, rgba(40,167,69,.03) 100%);
}

.login-body .card {
  width: min(400px, 90vw);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px; /* igual que register */
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.card img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  max-width: 150px;
}

.login-body .card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px; /* mismo alto que register */
  background: linear-gradient(90deg, var(--brand), var(--brand-secondary));
}

.login-body h3 {
  margin: 0 0 5px;
  font-size: 28px; /* mismo que register h1 */
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.02em;
}

.login-body form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* mismo que register */
}

.login-body label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.login-body input[type="text"],
.login-body input[type="password"],
.login-body input[type="email"] {
  padding: 5px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s ease;
}

.login-body input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* Captcha igual que en register */
.captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 8px 0;
}

.captcha span {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
}

.captcha .link {
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}

.captcha .link:hover {
  background: rgba(0,123,255,0.1);
  text-decoration: none;
}

/* Botón igual que register */
.login-body .btn {
  margin-top: 8px;
  padding: 14px 20px;
  background: var(--brand);
  color: #ffffff;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.login-body .btn:hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 9px rgba(0,123,255,0.3);
}

.login-body .btn:active {
  transform: translateY(0);
}

/* Mensajes */
.login-body .msg {
  margin: 12px 0 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.login-body .msg.error {
  background: rgba(220,53,69,0.1);
  border: 1px solid rgba(220,53,69,0.3);
  color: var(--danger);
}
.login-body .msg.success {
  background: rgba(40,167,69,0.1);
  border: 1px solid rgba(40,167,69,0.3);
  color: var(--ok);
}
.login-body .msg.info {
  background: rgba(0,123,255,0.1);
  border: 1px solid rgba(0,123,255,0.3);
  color: var(--brand);
}

/* Responsive para login */
@media (max-width: 480px) {
  .login-body .card {
    padding: 24px 20px;
  }
  .login-body h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .captcha {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


/* =========================================================
   REGISTER - Transformación Digital UNCuyo
   =======================================================*/

.register-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0,123,255,.05) 0%, rgba(40,167,69,.03) 100%);
}

.register-body .register-card {
  width: min(400px, 90vw);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.register-body .register-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-secondary));
}

.register-body h1 {
  margin: 0 0 5px;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.02em;
}

.register-body form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.register-body label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.register-body input[type="text"],
.register-body input[type="password"],
.register-body input[type="email"] {
  padding: 5px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s ease;
}

.register-body input[type="text"]:focus,
.register-body input[type="password"]:focus,
.register-body input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/*.register-body input[type="text"]:invalid,
.register-body input[type="password"]:invalid {
  border-color: var(--danger);
}*/

.register-card img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  max-width: 150px;
}

.register-captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 8px 0;
}

.register-captcha span {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
}

.register-captcha .link {
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}

.register-captcha .link:hover {
  background: rgba(0,123,255,0.1);
  text-decoration: none;
}

.register-body .btn {
  margin-top: 8px;
  padding: 14px 20px;
  background: var(--brand);
  color: #ffffff;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.register-body .btn:hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 9px rgba(0,123,255,0.3);
}

.register-body .btn:active {
  transform: translateY(0);
}

.register-body .msg {
  margin: 12px 0 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.register-body .msg.error {
  background: rgba(220,53,69,0.1);
  border: 1px solid rgba(220,53,69,0.3);
  color: var(--danger);
}

.register-body .msg.success {
  background: rgba(40,167,69,0.1);
  border: 1px solid rgba(40,167,69,0.3);
  color: var(--ok);
}

.register-body .msg.info {
  background: rgba(0,123,255,0.1);
  border: 1px solid rgba(0,123,255,0.3);
  color: var(--brand);
}

/* Responsive para register */
@media (max-width: 480px) {
  .register-body .register-card {
    padding: 24px 20px;
  }
  
  .register-body h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .register-captcha {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


/* =========================================================
   GRID DE MÓDULOS
   =======================================================*/
.grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin:24px 0 40px; }

.module{
  background:#ffffff;
  border:1px solid var(--border); border-radius:var(--radius);
  padding:24px; min-height:180px; display:flex; flex-direction:column; 
  position:relative; overflow:hidden; transition:.2s; cursor:pointer;
}
.module::before{
  content:''; position:absolute; left:0; right:0; top:0; height:4px;
  background:linear-gradient(90deg, var(--brand), var(--brand-secondary));
}
.module:hover{ 
  transform:translateY(-4px); 
  box-shadow:var(--shadow-hover); 
  border-color:rgba(0,123,255,.2); 
}

.module .icon{
  width:48px; height:48px; margin:0 auto 16px;
  background:rgba(0,123,255,.1); border:1px solid rgba(0,123,255,.2);
  border-radius:8px; display:flex; align-items:center; justify-content:center; 
  font-size:20px; color:var(--brand); transition:.2s;
}
.module:hover .icon{ 
  background:var(--brand); color:#ffffff; 
  transform:scale(1.05); 
}

.module h3{ 
  margin:0 0 12px; text-align:center; font-size:18px; 
  font-weight:600; color:var(--text); letter-spacing:-.01em; 
}

.tituloModulos {
  font-size: 1.8rem;       /* tamaño visible y destacado */
  font-weight: 700;         /* negrita para resaltar */
  margin-bottom: 8px;       /* espacio debajo del título */
  padding: 2px;
  color: #1f2937;           /* gris oscuro, legible sobre fondo claro */
  background-color: white;
  text-align: left;         /* alineación del título */
}

#modulos p.tiny {
  font-size: 0.875rem;      /* texto pequeño para la descripción */
  color: #4b5563;           /* gris medio */
  margin-bottom: 16px;      /* separa el texto del grid */
}

#modulos #grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.module p{ 
  color:var(--muted); margin:0 0 16px; line-height:1.5; 
  text-align:center; flex:1; font-size:14px; 
}

.pill{ display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin-bottom:16px; }
.pill span{
  font-size:10px; padding:4px 8px; border:1px solid var(--border); 
  border-radius:12px; background:var(--panel); color:var(--muted); 
  font-weight:500; transition:.2s;
}
.pill span:hover{ 
  background:rgba(0,123,255,.08); border-color:var(--brand); 
  color:var(--brand); 
}

.module .links{ margin-top:auto; display:flex; flex-wrap:wrap; gap:8px; }
.link{
  flex:1 1 46%; display:inline-flex; justify-content:center; align-items:center;
  padding:8px 12px; border-radius:6px; border:1px solid var(--border);
  background:#ffffff; color:var(--text-light); text-align:center; 
  transition:.2s; font-size:12px; font-weight:500;
}
.link:hover{ 
  border-color:var(--brand); background:rgba(0,123,255,.04); 
  transform:translateY(-1px); color:var(--brand); 
  text-decoration:none;
}

@media (max-width: 768px) {
  .grid, #modulos #grid {
    gap: 12px;
    margin: 16px 0 32px;
  }
}
@media (max-width: 480px) {
  .grid, #modulos #grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 0 24px;
  }
}


/* =========================================================
   FAQ
   =======================================================*/
.tituloFaq{
  background-color: white;
  border-radius: 5px;
}
details{
  margin:12px 0; background:#ffffff;
  border:1px solid var(--border); border-radius:8px; 
  overflow:hidden; transition:.2s;
}
details:hover{ border-color:rgba(0,123,255,.3); }
details[open]{ box-shadow:var(--shadow); }

summary{
  padding:16px 20px; cursor:pointer; font-weight:500; 
  transition:.2s; position:relative; font-size:15px;
}
summary:hover{ background:rgba(0,123,255,.04); color:var(--brand); }
summary::marker{ display:none; }
summary::before{
  content:'▶'; position:absolute; right:20px; 
  font-size:12px; transition:transform .2s;
}
details[open] summary::before{ transform:rotate(90deg); }
details p{ 
  padding:0 20px 16px; color:var(--muted); 
  line-height:1.6; font-size:14px; 
}

@media (max-width: 480px) {
  .tituloFaq, .tituloContacto, .tinyContacto {
    padding: 6px 8px;
    font-size: 14px;
  }
  details summary { font-size: 14px; padding: 12px 16px; }
  details p { font-size: 13px; padding: 0 16px 12px; }
}


/*========================================================
  CONTACTO 
=========================================================*/
.tituloContacto{
  background-color: white;
  border-radius: 5px;
  padding: 10px;
}

.tinyContacto{
  background-color: white;
  border-radius: 5px;
  padding: 10px;
}

/* =========================================================
   FOOTER
   =======================================================*/
footer{
  border-top:1px solid var(--border);
  background:var(--panel);
  margin-top:60px;
}
footer .wrap{
  display:flex; flex-wrap:wrap; justify-content:space-between; 
  gap:16px; align-items:center; padding:24px 20px;
}

/* logos incibe/metared */
.footer-row{ display:flex; justify-content:space-between; align-items:center; gap:16px; }
.footer-logos{ display:flex; gap:12px; align-items:center; }
.footer-logos img{ 
  height:24px; width:auto; opacity:.8; 
  transition:.2s; filter:grayscale(.2); 
}
.footer-logos img:hover{ opacity:1; transform:translateY(-1px); filter:grayscale(0); }

/* =========================================================
   CONTENIDO DE MÓDULOS
   =======================================================*/

   /* =========================================================
   MÓDULO DETALLE - DISEÑO MEJORADO
   =======================================================*/

/* Hero del módulo */
.modulo-hero {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 86, 179, 0.08) 100%);
  border-radius: var(--radius);
  margin-bottom: 32px;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.modulo-icon-large {
  font-size: 64px;
  margin-bottom: 10px;
  animation: iconFloat 4s ease-in-out infinite; /* 👈 usa un nombre único */
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-40px); }
}


.modulo-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.modulo-hero .lead {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.modulo-meta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.meta-item svg {
  color: var(--brand);
}

/* Tabla de contenidos */
.tabla-contenidos {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.tabla-contenidos h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

#indice-contenidos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

#indice-contenidos li {
  padding: 10px 12px;
  background: var(--panel);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all 0.2s ease;
  cursor: pointer;
}

#indice-contenidos li:hover {
  background: rgba(0, 123, 255, 0.08);
  color: var(--brand);
  transform: translateX(4px);
}

/* Contenido narrativo mejorado */
.modulo-texto {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  line-height: 1.8;
  font-size: 1.05rem;
}

.modulo-texto h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--panel);
  display: flex;
  align-items: center;
  gap: 12px;
}

.modulo-texto h2:first-child {
  margin-top: 0;
}

.modulo-texto h2::before {
  content: "▸";
  color: var(--brand);
  font-weight: 900;
}

.modulo-texto p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.modulo-texto strong {
  color: var(--text);
  font-weight: 600;
}

.modulo-texto ul {
  margin: 16px 0 24px 24px;
  color: var(--text-light);
}

.modulo-texto li {
  margin-bottom: 10px;
  padding-left: 8px;
}

.modulo-texto code {
  background: var(--panel);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--brand);
  border: 1px solid var(--border);
}

.modulo-texto em {
  color: var(--muted);
  font-style: italic;
}

/* Cajas destacadas */
.modulo-texto .highlight-box {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 86, 179, 0.08) 100%);
  border-left: 4px solid var(--brand);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 24px 0;
}

/* Sección de ejemplos */
.ejemplos-section {
  margin: 48px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.section-icon {
  font-size: 48px;
  line-height: 1;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin: 4px 0 0;
}

.ejemplos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.btn-ejemplo {
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-ejemplo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-ejemplo:hover::before {
  left: 100%;
}

.btn-ejemplo:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.15);
}

.btn-ejemplo.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.ejemplo-display {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  min-height: 300px;
}

.ejemplo-placeholder {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
}

.ejemplo-placeholder svg {
  opacity: 0.3;
  margin-bottom: 16px;
}

/* Quiz styling */
.quiz {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-q {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.quiz-options {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-option {
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
}

.quiz-option:hover {
  border-color: var(--brand);
  background: rgba(0, 123, 255, 0.03);
  transform: translateX(4px);
}

.quiz-option.correct {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
}

.quiz-option.incorrect {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
}

.quiz-explain {
  margin-top: 16px;
  padding: 16px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10b981;
  border-radius: 6px;
  color: var(--text-light);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 200px; }
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge--ok {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge--warn {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Sección del test */
.test-section {
  margin: 48px 0;
}

.test-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
  color: white;
}

.test-icon {
  font-size: 80px;
  line-height: 1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.test-content {
  flex: 1;
}

.test-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.test-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.test-actions .btn {
  background: white;
  color: #667eea;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.test-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Otros módulos */
.otros-modulos {
  margin-top: 64px;
  padding: 32px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.otros-modulos h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.modulos-relacionados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.modulo-mini {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.modulo-mini:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.modulo-mini h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.modulo-mini p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Botón volver */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.btn-back:hover {
  background: var(--panel);
  color: var(--brand);
}

/* Responsive */
@media (max-width: 768px) {
  .modulo-hero {
    padding: 32px 20px;
  }
  
  .modulo-hero h1 {
    font-size: 2rem;
  }
  
  .modulo-texto {
    padding: 24px;
  }
  
  .test-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
  }
  
  #indice-contenidos {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   CARD / TEST
   =======================================================*/

.test-card {
  display: block;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  color: var(--text-light);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
}
.test-card:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-hover); 
  border-color: rgba(0,123,255,.3);
  text-decoration: none;
}

.test-card__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text);
  font-weight: 600;
}
.test-card__desc {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.test-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Estado bloqueado en cards de módulo */
.module.is-locked { opacity: .6; position: relative; }
.module__lock { margin-top: .5rem; font-size: .85rem; }

/* =========================================================
   QUIZ / TEST
   =======================================================*/
.quiz-wrap{
  max-width:800px; margin:20px auto; padding:20px;
  background:#ffffff; border:1px solid var(--border); 
  border-radius:8px; box-shadow:var(--shadow);
}
.q{
  padding:16px; margin:12px 0;
  border:1px solid var(--border); border-radius:8px;
  background:var(--panel);
}
.q h3{ margin:0 0 8px; font-size:16px; font-weight:600; }

/* opción completa seleccionable */
.opt{
  display:block; margin:8px 0; padding:12px 16px;
  border:1px solid var(--border); border-radius:6px; 
  cursor:pointer; transition:.2s; background:#ffffff;
}
.opt:hover{ border-color:var(--brand); }
.opt input{ margin-right:8px; }
.opt.selected{
  border-color:var(--brand);
  box-shadow:0 0 0 2px rgba(0,123,255,.1) inset;
  background:rgba(0,123,255,.04);
}

/* Compatibilidad con ejemplos antiguos */
.quiz-option.is-correct{
  border-color:var(--ok); color:var(--ok);
  box-shadow:0 0 0 2px rgba(40,167,69,.1) inset;
}
.quiz-option.is-wrong{
  border-color:var(--danger); color:var(--danger);
  box-shadow:0 0 0 2px rgba(220,53,69,.1) inset;
}

/* layout del quiz */
.quiz{ display:grid; grid-template-columns:1fr; gap:12px; }
.quiz .cartel, .quiz .quiz-q, .quiz .quiz-options, .quiz .badges{ grid-column:1/-1; }
.quiz .badges{ margin-top:8px; }
.quiz-feedback{ margin-top:12px; color:var(--muted); font-size:14px; }

/* Carteles (correcto / alerta) */
.cartel{
  display:grid; grid-template-columns:auto 1fr auto; align-items:start; gap:12px;
  padding:12px 16px; margin:8px 0 12px;
  border:1px solid; border-left-width:4px; border-radius:8px;
  background:#ffffff; animation:cartelIn .3s ease-out both;
}
.cartel--ok{
  border-color:rgba(40,167,69,.3); border-left-color:var(--ok);
  box-shadow:0 0 0 2px rgba(40,167,69,.05) inset;
}
.cartel--danger{
  border-color:rgba(220,53,69,.3); border-left-color:var(--danger);
  box-shadow:0 0 0 2px rgba(220,53,69,.05) inset;
}
.cartel__icon{ font-size:18px; line-height:1; margin-top:1px; }
.cartel__title{ font-weight:600; margin:0 0 2px; font-size:15px; }
.cartel__text{ margin:0; color:var(--muted); font-size:14px; }
.cartel__close{
  appearance:none; border:0; background:transparent; 
  color:var(--muted); font-size:14px; line-height:1; 
  padding:2px 4px; cursor:pointer; border-radius:4px;
}
.cartel__close:hover{ background:rgba(0,0,0,.05); }
@keyframes cartelIn{ 
  from{opacity:0; transform:translateY(-8px)} 
  to{opacity:1; transform:translateY(0)} 
}

/* Progreso */
.progress{
  position:relative; height:8px; margin:8px 0 12px;
  background:var(--border); border-radius:4px;
}
.progress-bar{ 
  height:100%; width:0%; border-radius:4px; 
  background:linear-gradient(90deg, var(--brand), #0056b3); 
}
.progress-text{ 
  margin-top:6px; font-size:12px; color:var(--muted); 
  text-align:right; 
}

/* Resultado */
.results{ margin-top:16px; font-weight:600; }
.ok{ color:var(--ok); } .bad{ color:var(--danger); }

@media (max-width: 768px) {
  .resumen-grid, .quiz-wrap { padding: 16px; }
  .resumen-card, .test-card { padding: 16px; }
}
@media (max-width: 480px) {
  .resumen-grid { grid-template-columns: 1fr; gap: 12px; }
  .resumen-card, .test-card { padding: 12px; font-size: 14px; }
  .quiz .q { padding: 12px; }
}


/* =========================================================
   CERTIFICADO - Transformación Digital UNCuyo
   =======================================================*/

.test-card {
  display: block;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text-light);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.test-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-secondary));
}

.test-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-hover); 
  border-color: rgba(0,123,255,.3);
  text-decoration: none;
}

.test-card__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.test-card__right {
  flex: 1;
}

.test-card__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-card__title::before {
  content: '🏆';
  font-size: 0.8em;
  opacity: 0.8;
}

.test-card__desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Formulario del certificado */
#certFormWrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
  }
}

#certFormWrap label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

#certFormWrap input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s ease;
}

#certFormWrap input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

#certFormWrap input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

/* Acciones del certificado */
.test-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

#btnCert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 160px;
  justify-content: center;
}

#btnCert:not(:disabled) {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  font-weight: 600;
}

#btnCert:not(:disabled):hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

#btnCert:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--panel);
  color: var(--muted);
}

#btnCert.loading::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Estados del certificado */
#btnCert.available {
  background: var(--ok);
  border-color: var(--ok);
  color: #ffffff;
}

#btnCert.available:hover {
  background: #218838;
  border-color: #218838;
  box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

#btnCert.available::before {
  content: '✓';
  font-weight: bold;
  margin-right: 4px;
}

/* Info del certificado */
#certInfo {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 100%;
}

#certInfo.success {
  color: var(--ok);
  font-weight: 500;
}

#certInfo.error {
  color: var(--danger);
  font-weight: 500;
}

/* Badge de progreso */
.cert-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(0,123,255,0.1);
  border: 1px solid rgba(0,123,255,0.2);
  border-radius: 12px;
  font-size: 11px;
  color: var(--brand);
  font-weight: 500;
  margin-top: 8px;
}

.cert-progress.complete {
  background: rgba(40,167,69,0.1);
  border-color: rgba(40,167,69,0.2);
  color: var(--ok);
}

/* Responsive para certificado */
@media (max-width: 640px) {
  .test-card {
    padding: 20px;
  }
  
  .test-card__title {
    font-size: 22px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  #certFormWrap {
    padding: 16px;
  }
  
  .test-card__actions {
    align-items: stretch;
  }
  
  #btnCert {
    width: 100%;
  }
}

/* Animación para cuando aparece el certificado */
.test-card.cert-ready {
  border-color: rgba(40,167,69,0.3);
  background: linear-gradient(145deg, #ffffff 0%, rgba(40,167,69,0.02) 100%);
}

.test-card.cert-ready::before {
  background: linear-gradient(90deg, var(--ok), #218838);
}

.test-card.cert-ready {
  animation: certGlow 2s ease-in-out;
}

@keyframes certGlow {
  0%, 100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 8px 25px rgba(40,167,69,0.15);
  }
}

@media (max-width: 480px) {
  .login-body .card, .register-body .register-card, #certFormWrap {
    width: 95%;
    padding: 16px;
  }
  .login-body h1, .register-body h1, .test-card__title {
    font-size: clamp(20px, 5vw, 24px);
  }
}


/* =========================================================
   MODALES
   =======================================================*/
.modal-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.4);
  display:none; align-items:center; justify-content:center; z-index:8000;
}
.modal-backdrop.show{ display:flex; }

.modal{
  width:min(480px, 92vw); background:#ffffff;
  border:1px solid var(--border); border-radius:8px; 
  padding:20px; box-shadow:var(--shadow-hover);
}
.modal h3{ margin:0 0 12px; font-weight:600; }
.modal .row{ display:grid; gap:12px; margin:12px 0; }
.modal input{
  padding:10px 12px; border-radius:6px;
  border:1px solid var(--border); background:#ffffff; color:var(--text);
}
.modal .actions{ 
  display:flex; gap:8px; justify-content:flex-end; 
  margin-top:16px; 
}

/* (opcional, si usás .modal.show directamente) */
.modal.show{ display:flex; }

/* =========================================================
   PARTICLES / ANIMACIONES GENÉRICAS
   =======================================================*/
@keyframes float{
  0%{ transform:translateY(100vh) rotate(0deg); opacity:0; }
  10%{ opacity:.1; } 90%{ opacity:.1; }
  100%{ transform:translateY(-10px) rotate(360deg); opacity:0; }
}
.particles{ position:fixed; inset:0; pointer-events:none; z-index:-1; }
.particle{ 
  position:absolute; width:1px; height:1px; 
  background:var(--brand); border-radius:50%; 
  opacity:.1; animation:float 8s infinite linear; 
}

/* =========================================================
   RESPONSIVE
   =======================================================*/
@media (max-width:1000px){
  .hero{ grid-template-columns:1fr; }
  .grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:768px){
  .wrap{ padding:16px; }
  .hero{ margin:20px 0 32px; gap:20px; }
  .hero .card{ padding:20px; }
  .module{ padding:16px; }
  nav.nav-links { right:-100%; }
  section{ margin:32px 0; }
}
@media (max-width:640px){
  .grid{ grid-template-columns:1fr; }
  .search{ flex-direction:column; gap:8px; }
}


/* =========================================================
   ====== Gate (bloqueo por inauguración) ======
   =======================================================*/

.gate--hidden { display:none !important; }

#gate-overlay {
  position: fixed; inset: 0;
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}

#gate-dialog {

  width: min(560px, 92vw);
  background: #0b1220;
  border: 1px solid #243b55;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  padding: 28px;
  color: #e5e7eb;
  text-align: center;
}

#gate-dialog h2 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 700; }
#gate-dialog p { margin: 6px 0; color: #c1c7d0; }

.gate-countdown {
  display: inline-block;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  background: #111827;
  border: 1px solid #1f2937;
}

.gate-date { display:block; margin-top:6px; color:#93c5fd; font-weight:600; }

/* Evitar scroll del body cuando está bloqueado */
html.no-scroll, body.no-scroll { overflow: hidden; }


/* ======== Mobile ======== */
@media (max-width: 768px) {
  #gate-dialog {
    width: 95vw;              /* casi todo el ancho */
    padding: 16px;            /* menos padding */
    border-radius: 10px;
  }

  #gate-dialog h2 {
    font-size: 1.2rem;        /* título más chico */
  }

  #gate-dialog p {
    font-size: 0.9rem;        /* texto más legible */
    text-align: left;         /* lectura estilo artículo */
  }

  .gate-countdown {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}

/* ======== Extra small (celulares <480px) ======== */
@media (max-width: 480px) {
  #gate-dialog {
    width: 96vw;
    padding: 12px;
  }

  #gate-dialog h2 {
    font-size: 1rem;
  }

  #gate-dialog p {
    font-size: 0.85rem;
  }

  .gate-countdown {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}


/* CSS CERTIFICADOS ADMIN */

    .cert-admin-wrapper * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .cert-admin-wrapper {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: linear-gradient(135deg, #0a1226 0%, #1f2a50 100%);
      min-height: 100vh;
      color: #e5e7eb;
      padding: 20px;
      isolation: isolate;
    }

    .cert-admin-wrapper .ca-container {
      max-width: 1200px;
      margin: 0 auto;
      background: rgba(11, 18, 36, 0.95);
      border-radius: 20px;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(31, 42, 80, 0.3);
      overflow: hidden;
    }

    .cert-admin-wrapper .ca-header {
      background: linear-gradient(135deg, #0b1224, #1f2a50);
      padding: 30px;
      border-bottom: 1px solid rgba(31, 42, 80, 0.3);
    }

    .cert-admin-wrapper .ca-header h1 {
      font-size: 28px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
    }

    .cert-admin-wrapper .ca-header p {
      color: #9ca3af;
      font-size: 16px;
    }

    .cert-admin-wrapper .ca-filters {
      padding: 30px;
      border-bottom: 1px solid rgba(31, 42, 80, 0.2);
    }

    .cert-admin-wrapper .ca-filter-row {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
    }

    .cert-admin-wrapper .ca-filter-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .cert-admin-wrapper .ca-filter-group label {
      font-size: 14px;
      font-weight: 500;
      color: #d1d5db;
    }

    .cert-admin-wrapper select, .cert-admin-wrapper input {
      padding: 12px 16px;
      border-radius: 12px;
      border: 1px solid rgba(31, 42, 80, 0.5);
      background: rgba(10, 18, 38, 0.8);
      color: #e5e7eb;
      font-size: 14px;
      transition: all 0.3s ease;
      min-width: 140px;
      font-family: inherit;
    }

    .cert-admin-wrapper select:hover, .cert-admin-wrapper input:hover {
      border-color: #3354ff;
      box-shadow: 0 0 0 3px rgba(51, 84, 255, 0.1);
    }

    .cert-admin-wrapper select:focus, .cert-admin-wrapper input:focus {
      outline: none;
      border-color: #3354ff;
      box-shadow: 0 0 0 3px rgba(51, 84, 255, 0.2);
    }

    .cert-admin-wrapper .ca-btn {
      padding: 12px 24px;
      border-radius: 12px;
      border: none;
      background: linear-gradient(135deg, #0f2488, #5b53ee);
      color: white;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: inherit;
    }

    .cert-admin-wrapper .ca-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(51, 84, 255, 0.3);
    }

    .cert-admin-wrapper .ca-btn:active {
      transform: translateY(0);
    }

    .cert-admin-wrapper .ca-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .cert-admin-wrapper .ca-btn-secondary {
      background: linear-gradient(135deg, #374151, #4b5563);
    }

    .cert-admin-wrapper .ca-btn-secondary:hover {
      box-shadow: 0 10px 25px rgba(75, 85, 99, 0.3);
    }

    .cert-admin-wrapper .ca-btn-danger {
      background: linear-gradient(135deg, #ef4444, #dc2626);
    }

    .cert-admin-wrapper .ca-btn-danger:hover {
      box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    }

    .cert-admin-wrapper .ca-btn-success {
      background: linear-gradient(135deg, #22c55e, #16a34a);
    }

    .cert-admin-wrapper .ca-btn-success:hover {
      box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    }

    .cert-admin-wrapper .ca-table-container {
      overflow-x: auto;
      max-height: 70vh;
      position: relative;
    }

    .cert-admin-wrapper .ca-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
    }

    .cert-admin-wrapper .ca-table th {
      background: linear-gradient(135deg, #0b1224, #1f2a50);
      color: #ffffff;
      font-weight: 600;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 20px 16px;
      text-align: left;
      position: sticky;
      top: 0;
      z-index: 10;
      border-bottom: 2px solid rgba(31, 42, 80, 0.5);
    }

    .cert-admin-wrapper .ca-table th:first-child {
      border-top-left-radius: 12px;
    }

    .cert-admin-wrapper .ca-table th:last-child {
      border-top-right-radius: 12px;
    }

    .cert-admin-wrapper .ca-table td {
      padding: 16px;
      font-size: 14px;
      border-bottom: 1px solid rgba(31, 42, 80, 0.2);
      background: rgba(11, 18, 36, 0.3);
      transition: all 0.3s ease;
    }

    .cert-admin-wrapper .ca-table tr:hover td {
      background: rgba(31, 42, 80, 0.2);
      transform: scale(1.01);
    }

    .cert-admin-wrapper .ca-pill {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      text-transform: capitalize;
      border: 1px solid;
    }

    .cert-admin-wrapper .ca-pill.pending {
      background: rgba(245, 158, 11, 0.15);
      color: #f59e0b;
      border-color: rgba(245, 158, 11, 0.3);
    }

    .cert-admin-wrapper .ca-pill.approved {
      background: rgba(34, 197, 94, 0.15);
      color: #22c55e;
      border-color: rgba(34, 197, 94, 0.3);
    }

    .cert-admin-wrapper .ca-pill.rejected {
      background: rgba(239, 68, 68, 0.15);
      color: #ef4444;
      border-color: rgba(239, 68, 68, 0.3);
    }

    .cert-admin-wrapper .ca-row-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .cert-admin-wrapper .ca-row-actions .ca-btn {
      padding: 8px 16px;
      font-size: 12px;
      min-width: auto;
    }

    .cert-admin-wrapper .ca-note-input {
      min-width: 200px;
      background: rgba(10, 18, 38, 0.6);
      border: 1px solid rgba(31, 42, 80, 0.4);
      padding: 8px 12px;
      border-radius: 8px;
      font-size: 13px;
      color: #e5e7eb;
      font-family: inherit;
    }

    .cert-admin-wrapper .ca-loading {
      text-align: center;
      padding: 40px;
      color: #9ca3af;
      font-size: 16px;
    }

    .cert-admin-wrapper .ca-loading::after {
      content: '';
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 2px solid rgba(51, 84, 255, 0.3);
      border-radius: 50%;
      border-top-color: #3354ff;
      animation: ca-spin 1s linear infinite;
      margin-left: 10px;
    }

    .cert-admin-wrapper .ca-message {
      padding: 16px;
      margin: 16px;
      border-radius: 12px;
      font-size: 14px;
      text-align: center;
    }

    .cert-admin-wrapper .ca-message.error {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: #fca5a5;
    }

    .cert-admin-wrapper .ca-stats {
      display: flex;
      gap: 20px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .cert-admin-wrapper .ca-stat-card {
      background: rgba(31, 42, 80, 0.3);
      padding: 16px 20px;
      border-radius: 12px;
      border: 1px solid rgba(31, 42, 80, 0.4);
      min-width: 120px;
      text-align: center;
    }

    .cert-admin-wrapper .ca-stat-number {
      font-size: 24px;
      font-weight: 700;
      color: #ffffff;
    }

    .cert-admin-wrapper .ca-stat-label {
      font-size: 12px;
      color: #9ca3af;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 4px;
    }

    @keyframes ca-spin {
      to { transform: rotate(360deg); }
    }

    @keyframes ca-fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .cert-admin-wrapper .ca-table tr {
      animation: ca-fadeIn 0.5s ease forwards;
    }

    @media (max-width: 768px) {
      .cert-admin-wrapper .ca-container {
        margin: 10px;
        border-radius: 16px;
      }
      
      .cert-admin-wrapper .ca-header {
        padding: 20px;
      }
      
      .cert-admin-wrapper .ca-header h1 {
        font-size: 24px;
      }
      
      .cert-admin-wrapper .ca-filters {
        padding: 20px;
      }
      
      .cert-admin-wrapper .ca-filter-row {
        flex-direction: column;
        align-items: stretch;
      }
      
      .cert-admin-wrapper .ca-stats {
        justify-content: center;
      }
      
      .cert-admin-wrapper .ca-table-container {
        max-height: 60vh;
      }
      
      .cert-admin-wrapper .ca-table th, 
      .cert-admin-wrapper .ca-table td {
        padding: 12px 8px;
        font-size: 12px;
      }
    }



/* ===========================================================
      TOOLTIP MODERNO ESTILO UNCuyo – OPTIMIZADO
=============================================================*/

/* Tooltip principal */
#tour-tooltip {
  position: absolute;
  max-width: 450px !important;
  background: linear-gradient(145deg, #0b1e40, #1e2f55); /* gradiente azul oscuro UNCuyo */
  color: #fff;
  padding: 36px 42px;
  border-radius: 14px;
  z-index: 10003; /* encima del spotlight */
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.92);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: auto;
  backdrop-filter: blur(12px);
  border-left: 5px solid #1e7cf7; /* barra lateral azul UNCuyo */
}

/* Tooltip activo */
#tour-tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Flecha del tooltip */
#tour-tooltip::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: -1;
}

/* Flecha cuando el tooltip está debajo del elemento */
#tour-tooltip.position-bottom::before {
  top: -12px;
  left: 24px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid #0b1e40; /* color de fondo del tooltip */
}

/* Flecha cuando el tooltip está arriba del elemento */
#tour-tooltip.position-top::before {
  bottom: -12px;
  left: 24px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #0b1e40; /* color de fondo del tooltip */
}

/* Tipografía */
#tour-tooltip h3 {
  margin: 0 0 8px 0;
  font-weight: 500;
  font-size: 1.15rem;
  color: #fefefe;
  display: flex;
  align-items: center;
  gap: 6px;
}

#tour-tooltip p {
  margin: 0 0 14px 0;
  line-height: 1.2;
  color: #dce1f2;
  font-size: 0.5rem;
}

/* Controles del tooltip */
#tour-tooltip .tour-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#tour-tooltip .tour-buttons button {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
  background: #1eccf773;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

#tour-tooltip .tour-buttons button:hover {
  background: #003169e3;
}

#tour-tooltip .tour-buttons button.secondary {
  background: #1eccf773;
  color: #ffffff;
}

#tour-tooltip .tour-buttons button.secondary:hover {
  background: #003169e3;
}

#tour-tooltip .tour-buttons button.danger {
  background: #e74c3c;
  color: #fff;
}

#tour-tooltip .tour-buttons button.danger:hover {
  background: #c0392b;
}

/* ===========================================================
      SPOTLIGHT + OVERLAY PARA SECCIÓN ACTIVA
=============================================================*/

/* Overlay oscuro que cubre toda la pantalla */
.tour-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9998;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.tour-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Spotlight - área visible de la sección seleccionada */
.tour-spotlight {
  position: absolute;
  z-index: 10001;
  pointer-events: none;
  border-radius: 12px;
  box-shadow: 0 0 0 2000px rgba(0,0,0,0.75);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  opacity: 0;
  visibility: hidden;
}

.tour-spotlight.active {
  opacity: 1;
  visibility: visible;
}

/* Sección resaltada */
.tour-highlight {
  position: relative;
  z-index: 10002;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Resaltado especial para secciones grandes */
.tour-highlight#modulos,
.tour-highlight#faq,
.tour-highlight#contacto {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 20px rgba(255,255,255,0.25);
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* ===========================================================
      RESPONSIVE
=============================================================*/



  #tour-tooltip.position-bottom::before,
  #tour-tooltip.position-top::before {
    left: 16px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }


  #tour-tooltip h3 {
    font-size: 0.95rem;
  }

  #tour-tooltip p {
    font-size: 0.78rem;
  }

  #tour-tooltip.position-bottom::before,
  #tour-tooltip.position-top::before {
    left: 12px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top-width: 8px;
    border-bottom-width: 8px;
  }


/* === Personaje acompañante del tour === */
.tour-guide-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

#tour-character {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  border-radius: 10px;
  user-select: none;
  pointer-events: none;
  object-fit: contain;
}

.tour-content {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .tour-guide-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #tour-character {
    width: 80px;
    margin-bottom: 10px;
  }
}


@media (max-width: 768px) {
  footer .wrap { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-logos { justify-content: flex-start; }
}


/* Ajustes para notebooks medianos */
@media (max-height: 900px) and (min-width: 1024px) {
  body {
    font-size: 15px; /* baja tipografía base */
  }

  header .bar {
    padding: 8px 0; /* header más compacto */
  }

  .hero h1 {
    font-size: clamp(20px, 3vw, 32px); /* título más chico */
  }

  .hero .card,
  .login-body .card,
  .register-body .register-card,
  .resumen-card,
  .test-card {
    padding: 20px; /* menos aire en tarjetas */
  }

  section {
    margin: 24px 0; /* menos margen vertical */
  }
}


/* =========================================================
   AJUSTES COMPLETOS PARA NOTEBOOKS (1366x768 - 1440x900)
   =======================================================*/
@media (max-height: 900px) and (min-width: 1024px) {

  /* BASE */
  body {
    font-size: 15px; /* más compacto */
    line-height: 1.5;
  }
  .wrap {
    max-width: 1100px;
    padding: 16px;
  }
  section {
    margin: 24px 0;
  }

  /* HEADER */
  header .bar {
    padding: 8px 0;
    gap: 12px;
  }
  .logo .mark {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .logo .brand {
    font-size: 16px;
  }
  nav.nav-links a {
    padding: 6px 12px;
    font-size: 13px;
  }

  /* HERO */
  .hero {
    gap: 24px;
    margin: 24px 0 32px;
  }
  .hero h1 {
    font-size: clamp(20px, 2.6vw, 30px);
  }
  .hero p {
    font-size: 14px;
  }
  .hero .card {
    padding: 20px;
  }

  /* BOTONES */
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .btn.small {
    padding: 5px 10px;
    font-size: 12px;
  }

  /* GRID DE MÓDULOS */
  .grid, #modulos #grid {
    gap: 12px;
    margin: 16px 0 24px;
  }
  .module {
    padding: 18px;
    min-height: 160px;
  }
  .module h3 {
    font-size: 16px;
  }
  .module p {
    font-size: 13px;
  }

  /* FAQ */
  summary {
    padding: 12px 16px;
    font-size: 14px;
  }
  details p {
    font-size: 13px;
  }

  /* CARDS RESUMEN Y TEST */
  .resumen-card,
  .test-card {
    padding: 16px;
  }
  .test-card__title {
    font-size: clamp(18px, 2vw, 22px);
  }
  .test-card__desc {
    font-size: 13px;
  }

  /* LOGIN */
  .login-body .card {
    width: min(340px, 90vw);
    padding: 20px;  /* menos aire */
  }
  .login-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .login-body label {
    font-size: 13px;
  }
  .login-body input {
    padding: 8px 12px;
    font-size: 13px;
  }
  .login-body .btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .login-body .msg {
  margin: 0px 0 0;
  padding: 0px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

  /* REGISTER */
  .register-body .register-card {
    width: min(340px, 90vw);
    padding: 20px;
  }
  .register-body h1 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .register-body label {
    font-size: 13px;
  }
  .register-body input {
    padding: 8px 12px;
    font-size: 13px;
  }
  .register-body .btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .register-body .msg {
  margin: 0px 0 0;
  padding: 0% 16px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

  /* CAPTCHA */
  .captcha,
  .register-captcha {
    padding: 10px 12px;
    font-size: 13px;
  }
  .captcha span,
  .register-captcha span {
    font-size: 14px;
  }

  /* FOOTER */
  footer .wrap {
    padding: 16px;
    gap: 12px;
  }
  .footer-logos img {
    height: 20px;
  }

  /* TOOLTIP (tour) */
  #tour-tooltip {
    max-width: 320px;
    padding: 16px 18px;
    font-size: 0.85rem;
  }
  #tour-tooltip h3 { font-size: 1rem; }
  #tour-tooltip p { font-size: 0.82rem; }

  /* CERTIFICADOS */
  .test-card__title {
    font-size: 20px;
  }
  #certFormWrap {
    padding: 16px;
  }
  #btnCert {
    padding: 10px 16px;
    font-size: 13px;
  }
}


/* ===============================================
   FIX MOBILE (máx. 480px)
================================================ */
@media (max-width: 480px) {
  /* Captcha en columna */
  .captcha,
  .register-captcha {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    text-align: center;
  }

  .captcha span,
  .register-captcha span {
    font-size: 14px;
    text-align: center;
    width: 100%;
  }

  .captcha .link,
  .register-captcha .link {
    width: 100%;              /* botón ocupa todo el ancho */
    text-align: center;
    font-size: 13px;
    padding: 8px 0;
    border: 1px solid var(--brand);
    border-radius: 6px;
    background: #fff;
  }

  /* Botón principal login / register full width */
  .login-body .btn,
  .register-body .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    text-align: center;
  }
}


/* FONDOS DE LOGIN Y REGISTER */

@keyframes slideBackground {
  0%   { background-image: url('/recursos/uncu1.jpeg'); }
  33%  { background-image: url('/recursos/uncu2.jpeg'); }
  66%  { background-image: url('/recursos/uncu3.jpeg');}
  100% { background-image: url('/recursos/uncu4.jpeg'); }
}

.login-body,
.register-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  animation: slideBackground 30s infinite;
  position: relative;
}

.login-body::before,
.register-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(5px);
  z-index: 0;
}

.login-body .card,
.register-body .register-card {
  position: relative;
  z-index: 1;
}


/* MODAL ¿CUAL FUE MI ERROR?*/

/* CSS para el modal ¿Cuál fue mi error? - UNCUYO */

.gate-btn-tips {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #0066cc, #004499);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.gate-btn-tips:hover {
  background: linear-gradient(135deg, #004499, #002f66);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.gate-tip {
  position: absolute;
  background: linear-gradient(135deg, #0066cc, #004499);
  color: white;
  padding: 20px 25px;
  border-radius: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 400px;
  box-shadow: 0 15px 35px rgba(0, 102, 204, 0.4);
  z-index: 10000;
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}



/* Estado oculto */
.gate-tip.gate-tip--hidden {
  opacity: 0;
  transform: scale(0.8) rotate(-5deg);
  pointer-events: none;
}

/* Carteles alternos con color naranja */
.gate-tip:nth-child(even) {
  background: linear-gradient(135deg, #0400fdbb, #42d9ff9c);
}


/* Animación de aparición */
@keyframes tipAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
  }
  50% {
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.gate-tip:not(.gate-tip--hidden) {
  animation: tipAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .gate-tip {
    max-width: 220px;
    font-size: 0.9rem;
    padding: 15px 20px;
  }
  
  /* Ajustar posiciones para móviles */
  .gate-tip[style*="right: -300px"] {
    right: -250px !important;
  }
  
  .gate-tip[style*="left: -300px"] {
    left: -250px !important;
  }
}

/* =========================================================
   ====== Responsive para Notebooks (769px – 1366px) ======
   =======================================================*/

@media (min-width: 769px) and (max-width: 1366px) {
  #gate-dialog {
    width: 70vw;           /* más ancho que en mobile pero no pantalla completa */
    padding: 24px;
    font-size: 0.95rem;
  }

  #gate-dialog h2 {
    font-size: 1.3rem;     /* título más compacto */
  }

  #gate-dialog p {
    font-size: 0.95rem;
  }

  .gate-countdown {
    font-size: 1rem;
    padding: 6px 10px;
  }

  .gate-tip {
    max-width: 280px;      /* carteles un poco más grandes que en mobile */
    font-size: 0.95rem;
    padding: 16px 20px;
  }

  /* Correcciones de posiciones laterales para que no se corten */
  .gate-tip[style*="right: -300px"] {
    right: -220px !important;
  }

  .gate-tip[style*="left: -300px"] {
    left: -220px !important;
  }
}


/* ===================== */
/* ===== VARIABLES ===== */
/* ===================== */
:root {
  --uncuyoUsbSim2025-blue: #2563eb;
  --uncuyoUsbSim2025-light-blue: #3b82f6;
  --uncuyoUsbSim2025-dark: #1e293b;
  --uncuyoUsbSim2025-gray: #475569;
  --uncuyoUsbSim2025-light-gray: #f1f5f9;
  --uncuyoUsbSim2025-white: #ffffff;
  --uncuyoUsbSim2025-success-green: #16a34a;
  --uncuyoUsbSim2025-warning-orange: #f59e0b;
}

/* ===================== */
/* ===== FONDO ========= */
/* ===================== */
.uncuyoUsbSim2025-bg-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
  opacity: 0.3;
}

.uncuyoUsbSim2025-particle {
  position: absolute;
  background: var(--uncuyoUsbSim2025-blue);
  border-radius: 50%;
  animation: uncuyoUsbSim2025-float 25s infinite linear;
}

@keyframes uncuyoUsbSim2025-float {
  0% { transform: translateY(100vh) scale(0) rotate(0deg); opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { transform: translateY(-20vh) scale(1.2) rotate(360deg); opacity: 0; }
}

/* ===================== */
/* ===== MODAL ========= */
/* ===================== */
.uncuyoUsbSim2025-overlay{
  position: fixed;          /* antes relative */
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  z-index: 1000;            /* base: debajo de tips y botón */
  display: flex;            /* preserva centrado */
  align-items: center;
  justify-content: center;
}


@keyframes uncuyoUsbSim2025-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.uncuyoUsbSim2025-modal {
  position: relative;
  background: var(--uncuyoUsbSim2025-white);
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(30, 41, 59, 0.15);
  border: 1px solid #e2e8f0;
}

/* ===================== */
/* ==== TITULOS ======== */
/* ===================== */
.uncuyoUsbSim2025-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--uncuyoUsbSim2025-dark);
  line-height: 1.3;
}
.uncuyoUsbSim2025-modal-title .uncuyoUsbSim2025-warning-icon {
  color: var(--uncuyoUsbSim2025-warning-orange);
  margin-right: 0.5rem;
}

.uncuyoUsbSim2025-modal-lead {
  font-size: 1.1rem;
  color: var(--uncuyoUsbSim2025-gray);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Caja de seguridad */
.uncuyoUsbSim2025-modal-safe {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  color: var(--uncuyoUsbSim2025-success-green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===================== */
/* ==== CURSO BOX ====== */
/* ===================== */
.uncuyoUsbSim2025-curso-box {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.uncuyoUsbSim2025-curso-box h2 {
  font-size: 1.5rem;
  color: var(--uncuyoUsbSim2025-blue);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.uncuyoUsbSim2025-curso-box ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.uncuyoUsbSim2025-curso-box li {
  background: var(--uncuyoUsbSim2025-white);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--uncuyoUsbSim2025-blue);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uncuyoUsbSim2025-curso-box li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.uncuyoUsbSim2025-curso-apertura {
  background: var(--uncuyoUsbSim2025-blue);
  color: var(--uncuyoUsbSim2025-white);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}

/* ===================== */
/* ===== BOTONES ======= */
/* ===================== */
.uncuyoUsbSim2025-button-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.uncuyoUsbSim2025-btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-width: 160px;
}

.uncuyoUsbSim2025-btn.primary {
  background: var(--uncuyoUsbSim2025-blue);
  color: var(--uncuyoUsbSim2025-white);
}
.uncuyoUsbSim2025-btn.primary:hover {
  background: var(--uncuyoUsbSim2025-light-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.uncuyoUsbSim2025-btn.ghost {
  background: transparent;
  color: var(--uncuyoUsbSim2025-gray);
  border: 1px solid #cbd5e1;
}
.uncuyoUsbSim2025-btn.ghost:hover {
  background: var(--uncuyoUsbSim2025-light-gray);
  color: var(--uncuyoUsbSim2025-dark);
  transform: translateY(-1px);
}

/* Botón volver */
.uncuyoUsbSim2025-btn-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 101;
}
.uncuyoUsbSim2025-btnClose-PageLogin {
  background: var(--uncuyoUsbSim2025-dark);
  color: var(--uncuyoUsbSim2025-white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.uncuyoUsbSim2025-btnClose-PageLogin:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 41, 59, 0.2);
}

/* ===================== */
/* ===== TIPS ========= */
/* ===================== */
.uncuyoUsbSim2025-tip {
  position: absolute;
  display: none;
  max-width: 300px;
  background: var(--uncuyoUsbSim2025-white);
  color: var(--uncuyoUsbSim2025-dark);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: uncuyoUsbSim2025-slideIn 0.3s ease forwards;
  z-index: 1100;
}

@keyframes uncuyoUsbSim2025-slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.uncuyoUsbSim2025-tip strong {
  color: var(--uncuyoUsbSim2025-blue);
  font-weight: 600;
}

/* ---- alineación ---- */
.uncuyoUsbSim2025-tip--top-center   { top: 10%;  left: 100%; margin-left: 20px;}
.uncuyoUsbSim2025-tip--right-mid    { top: 45%;  left: 100%; margin-left: 20px; }
.uncuyoUsbSim2025-tip--bottom-center{ top: 100%; left: 100%; margin-left: 20px; }

/* ===================== */
/* ===== RESPONSIVE ==== */
/* ===================== */
@media (max-width: 900px) {
  .uncuyoUsbSim2025-modal {
    padding: 1.5rem;
    margin: 1rem;
  }
  .uncuyoUsbSim2025-modal-title { font-size: 1.5rem; }
  .uncuyoUsbSim2025-curso-box { padding: 1.5rem; }

  /* Tips en móviles */
  .uncuyoUsbSim2025-tip {
    position: static;
    max-width: 90%;
    margin: 1rem auto;
    left: auto !important;
    transform: none !important;
  }
}

/* ===== FONDO DETRÁS DEL MODAL CUANDO SE CIERRA ===== */
.uncuyoUsbSim2025-backInfo {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--uncuyoUsbSim2025-white);
  background: rgba(30, 41, 59, 0.85);
  z-index: 10;
}

.uncuyoUsbSim2025-backInfo-content {
  max-width: 700px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 2rem 2.5rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.uncuyoUsbSim2025-backInfo-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.uncuyoUsbSim2025-backInfo-content p {
  font-size: 1.1rem;
  margin: 0.8rem 0;
  color: #f1f5f9;
}

.uncuyoUsbSim2025-contact a {
  color: #60a5fa;
  font-weight: bold;
  text-decoration: none;
}

.uncuyoUsbSim2025-contact a:hover {
  text-decoration: underline;
}

/* ========================================================== */
/* === VERSIÓN COMPACTA Y ANCHA PARA NOTEBOOK (1024–1440 px) */
/* ========================================================== */
@media screen and (min-width:1024px) and (max-width:1440px) {

  /* ----- Modal ----- */
  .uncuyoUsbSim2025-modal {
    max-width: 820px;       /* más ancho */
    width: 85%;
    padding: 1rem 1.5rem;   /* mucho menos padding vertical y lateral */
    text-align: left;
    font-size: 0.9rem;      /* todo el contenido reducido */
  }

  /* ----- Títulos y textos ----- */
  .uncuyoUsbSim2025-modal-title {
    font-size: 1.4rem;      /* más chico */
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  .uncuyoUsbSim2025-modal-lead {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.8rem;
  }

  /* Caja seguridad */
  .uncuyoUsbSim2025-modal-safe {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
    margin: 0.8rem 0;
    gap: 0.5rem;
  }

  /* Caja curso */
  .uncuyoUsbSim2025-curso-box {
    padding: 1rem 1.2rem;
    margin: 1rem 0;
  }
  .uncuyoUsbSim2025-curso-box h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .uncuyoUsbSim2025-curso-box li {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.5rem;
  }
  .uncuyoUsbSim2025-curso-apertura {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  /* Botones */
  .uncuyoUsbSim2025-button-container {
    justify-content: flex-start;
    gap: 0.6rem;
    margin-top: 0.8rem;
  }
  .uncuyoUsbSim2025-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    min-width: 120px;
  }

  /* Botón volver */
 .uncuyoUsbSim2025-btn-wrapper{
  position: fixed;          /* flotante */
  bottom: 20px;
  right: 20px;
  z-index: 1200;            /* > tips y > overlay */
  pointer-events: auto;
}
  .uncuyoUsbSim2025-btnClose-PageLogin {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    display: inline-block;    /* por si cambiás a <a> */
    pointer-events: auto;
  }

  /* Tips */
  .uncuyoUsbSim2025-tip {
    max-width: 200px;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }

  /* Fondo informativo */
  .uncuyoUsbSim2025-backInfo-content {
    max-width: 620px;
    padding: 1.5rem 2rem;
  }
  .uncuyoUsbSim2025-backInfo-content h1 {
    font-size: 1.4rem;
  }
  .uncuyoUsbSim2025-backInfo-content p {
    font-size: 0.95rem;
  }
}



/* ==== Descarga archivos ==== */

/* Evitar que párrafos y títulos se corten entre páginas */
#contenido-principal h1,
#contenido-principal h2,
#contenido-principal h3,
#contenido-principal p,
#contenido-principal ul,
#contenido-principal ol,
#contenido-principal li {
  page-break-inside: avoid !important;
  break-inside: avoid !important;
}


/* Boton volver */

.btn-volver {
  position: fixed;
  top: 1rem;         /* puedes moverlo a bottom si prefieres */
  left: 1rem;
  z-index: 1000;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.btn-volver:hover {
  background: #f0f0f0;
}



/* video */

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* relación 16:9 */
  height: 0;
  overflow: hidden;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* MODAL INFORMATIVO PREVIO LOGIN */

/* =========================================================
   OVERLAY INFORMATIVO INICIAL - DISEÑO MODERNO
   ========================================================= */

/* Contenedor principal del overlay */
#infoOverlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0f2744 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 9999;
  padding: 2rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
}

/* Efecto de fondo animado */
#infoOverlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: 
    radial-gradient(circle at 20% 50%, #00a2ff 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, #0066cc 0%, transparent 50%);
  animation: infoOverlayPulse 8s ease-in-out infinite;
}

@keyframes infoOverlayPulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.1; 
  }
  50% { 
    transform: scale(1.1); 
    opacity: 0.15; 
  }
}

/* Contenedor glassmorphism */
.info-glass-container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2.5rem;
  max-width: 680px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: infoSlideUp 0.6s ease-out;
}

@keyframes infoSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Logo con efecto */
.info-logo {
  width: 140px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 12px rgba(0, 162, 255, 0.3));
  animation: infoFadeIn 0.8s ease-out;
}

/* Título con gradiente */
.info-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #a8d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: infoFadeIn 0.8s ease-out 0.2s backwards;
}

/* Párrafo introductorio */
.info-intro {
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  animation: infoFadeIn 0.8s ease-out 0.4s backwards;
}

.info-intro strong {
  color: #00d4ff;
}

/* Caja de información con detalles */
.info-details-box {
  background: rgba(0, 162, 255, 0.08);
  border-left: 3px solid #00a2ff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  animation: infoFadeIn 0.8s ease-out 0.6s backwards;
}

/* Items de información */
.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.info-item-content {
  flex: 1;
}

.info-item-label {
  color: #00d4ff;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.info-item-text {
  color: #cbd5e1;
  margin: 0;
}

/* Botón de acción principal */
.info-btn-action {
  background: linear-gradient(135deg, #00a2ff 0%, #0077cc 100%);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 162, 255, 0.5);
  position: relative;
  overflow: hidden;
  animation: infoFadeIn 0.8s ease-out 0.8s backwards;
}

.info-btn-action:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 40px -10px rgba(0, 162, 255, 0.7);
}

.info-btn-action:active {
  transform: translateY(0) scale(0.98);
}

/* Efecto de brillo en el botón */
.info-btn-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.info-btn-action:hover::before {
  left: 100%;
}

/* Animación de fade in genérica */
@keyframes infoFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablets */
@media (max-width: 768px) {
  #infoOverlay {
    padding: 1.5rem;
  }

  .info-glass-container {
    padding: 2rem 1.5rem;
    max-width: 90%;
  }

  .info-title {
    font-size: 1.75rem;
  }

  .info-intro {
    font-size: 1rem;
  }

  .info-details-box {
    padding: 1.25rem;
  }

  .info-btn-action {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
  }
}

/* Móviles */
@media (max-width: 480px) {
  #infoOverlay {
    padding: 1rem;
    align-items: flex-start;
    overflow-y: auto;
  }

  .info-glass-container {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    margin: auto 0;
  }

  .info-logo {
    width: 110px;
    margin-bottom: 1.25rem;
  }

  .info-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .info-intro {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .info-details-box {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .info-item {
    margin-bottom: 1rem;
    align-items: center;
  }

  .info-item:last-child {
    margin-bottom: 0;
  }

  .info-item-icon {
    font-size: 1.4rem;
    margin-right: 0.75rem;
  }

  .info-item-label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .info-item-text {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .info-btn-action {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
  }
}

/* Notebooks (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
  #infoOverlay {
    padding: 1.5rem;
  }

  .info-glass-container {
    padding: 2rem 2.5rem;
    max-width: 650px;
  }

  .info-logo {
    width: 120px;
    margin-bottom: 1.5rem;
  }

  .info-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .info-intro {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .info-details-box {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .info-item {
    margin-bottom: 0.7rem;
  }

  .info-item-icon {
    font-size: 1.3rem;
  }

  .info-item-label,
  .info-item-text {
    font-size: 0.9rem;
  }

  .info-btn-action {
    padding: 13px 32px;
    font-size: 1rem;
  }
}

/* Notebooks con pantalla vertical pequeña (altura < 900px) */
@media (max-height: 900px) and (min-width: 1024px) {
  #infoOverlay {
    padding: 1rem;
  }

  .info-glass-container {
    padding: 1.5rem 2rem;
    max-width: 600px;
  }

  .info-logo {
    width: 100px;
    margin-bottom: 1rem;
  }

  .info-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .info-intro {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .info-details-box {
    padding: 1rem;
    margin-bottom: 1.2rem;
  }

  .info-item {
    margin-bottom: 0.6rem;
  }

  .info-item-icon {
    font-size: 1.2rem;
    margin-right: 0.6rem;
  }

  .info-item-label {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
  }

  .info-item-text {
    font-size: 0.82rem;
  }

  .info-btn-action {
    padding: 11px 28px;
    font-size: 0.95rem;
  }
}

/* Notebooks muy compactos (1366x768) */
@media (max-height: 768px) and (min-width: 1024px) {
  .info-glass-container {
    padding: 1.25rem 1.75rem;
    max-width: 580px;
  }

  .info-logo {
    width: 90px;
    margin-bottom: 0.8rem;
  }

  .info-title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }

  .info-intro {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 0.7rem;
  }

  .info-details-box {
    padding: 0.8rem;
    margin-bottom: 1rem;
  }

  .info-item {
    margin-bottom: 0.5rem;
  }

  .info-item-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }

  .info-item-label {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
  }

  .info-item-text {
    font-size: 0.78rem;
  }

  .info-btn-action {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}