/* ==========================================================================
   cces-salud-plus - Hoja de Estilos Premium (Clean Modular Style)
   ========================================================================== */

/* Importación de Fuentes Modernas */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Variables del Sistema de Diseño (Tokens) */
:root {
    /* Paleta de Colores (HSL Armónico) */
    --bg-dark: hsl(230, 25%, 7%);
    --bg-card: hsla(230, 25%, 12%, 0.4);
    --bg-card-hover: hsla(230, 25%, 16%, 0.6);
    --border-color: hsla(230, 100%, 100%, 0.07);
    --border-hover: hsla(270, 70%, 60%, 0.3);

    /* Controlador Global de Colores de Acento (Dark Mode) */
    --theme-neon-green: #49ff7d;
    --theme-neon-cyan: #49e6ff;
    --theme-lock-warning: #f59e0b;
    --theme-neon-green-glow: 0 0 10px #49ff7d, 0 0 20px #49ff7d;
    --theme-btn-shadow: 0 0 25px rgba(73, 255, 125, 0.35);

    --primary: hsl(270, 70%, 60%);
    --primary-glow: hsla(270, 70%, 60%, 0.3);
    --secondary: hsl(190, 80%, 50%);
    --secondary-glow: hsla(190, 80%, 50%, 0.3);

    --text-main: hsl(230, 20%, 95%);
    --text-muted: hsl(230, 15%, 70%);
    --text-dark: hsl(230, 25%, 5%);

    --success: hsl(145, 65%, 45%);
    --success-glow: hsla(145, 65%, 45%, 0.2);
    --error: hsl(355, 75%, 50%);
    --error-glow: hsla(355, 75%, 50%, 0.2);
    --warning: hsl(40, 85%, 50%);

    /* Tipografía */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sombras y Filtros */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --blur-glass: blur(16px);

    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Acento Verde */
    --accent-lime: #6be67b;
    --accent-lime-hover: #22c55e;
    --accent-green-gradient: linear-gradient(135deg, #6be67b 0%, #22c55e 100%);
    --bg-dark-blue: radial-gradient(circle at 50% 50%, #031548 0%, #010822 100%);
}

/* Reseteo y Estilos Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px var(--secondary-glow);
}

/* Layout y Contenedores */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Premium */
.main-header {
    background: rgba(10, 11, 16, 0.7);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.logo span {
    background: var(--accent-green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Ocultar botón de menú hamburguesa en pantallas de escritorio */
.nav-toggle {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-lime);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* Grupo de botones del usuario autenticado (Mi Portal + Salir) */
.header-user-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 10px;
}

.header-portal-btn {
    border-radius: 20px;
    padding: 5px 18px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.header-logout-btn {
    background: rgba(255, 73, 73, 0.1);
    color: #ff4949;
    border: 1px solid rgba(255, 73, 73, 0.3);
    border-radius: 20px;
    padding: 5px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.header-logout-btn:hover {
    background: rgba(255, 73, 73, 0.2);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(270, 70%, 50%) 100%);
    color: var(--text-main);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow), 0 0 8px rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    color: var(--text-main);
    backdrop-filter: var(--blur-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Botón Verde Lima Gradient */
.btn-lime {
    background: #5fb678;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(107, 230, 123, 0.3);
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 40px;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-lime:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 230, 123, 0.5), 0 0 15px rgba(107, 230, 123, 0.4);
    color: #030e29 !important;
}

.btn-lime:active {
    transform: translateY(-1px);
}

/* Placeholders de Glass Panels para vistas secundarias */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.glass-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

/* Footer General */
.main-footer {
    border-top: 1px solid var(--border-color);
    background: rgba(10, 11, 16, 0.9);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 80px;
}

.main-footer p {
    margin-bottom: 8px;
}

/* ==========================================================================
   Sección 1: Hero con Contenedor Protrudido / Desbordado (Mockup Integrado)
   ========================================================================== */

/* Fondo Específico para el Home */
.home-body-gradient {
    background: linear-gradient(180deg, #00035a 0%, #0a47ad 100%) !important;
}

/* Hero Layout */
.hero-container-new {
    max-width: 1200px;
    margin: 60px auto 100px;
    padding: 0 24px;
}

.hero-header-section {
    text-align: center;
    margin-bottom: 60px;
}

.hero-header-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    font-family: var(--font-body);
    letter-spacing: -0.02em;
}

.hero-header-section p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Gran Contenedor Glassmorphism */
.hero-glass-box {
    background: #204788;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    /* Esquinas exactas de la maqueta */
    padding: 40px 0px 75px 60px;
    /* Sin padding a la derecha para permitir desbordamiento limpio */
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    /* Columna de texto más ancha */
    gap: 40px;
    align-items: center;
    text-align: left;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(0, 180, 216, 0.2);
    /* Sombra estándar combinada con un aura celeste de tono suave */
    position: relative;
    overflow: visible;
    /* IMPORTANTE: Permite que la imagen sobresalga del contenedor */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Animación en el contenedor entero al pasar el cursor */
.hero-glass-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 3, 90, 0.5), 0 0 50px rgba(0, 180, 216, 0.50);
    /* Aura celeste suave expandida */
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-glass-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 2;
}

.hero-pill-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    /* Línea delgada blanca */
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0.01em;
    background: transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-pill-badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.hero-glass-left p.desc {
    font-size: 1.2rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}

.hero-glass-left .highlight-box {
    font-size: 1.25rem;
    line-height: 1.45;
    /* Aumentado de 1.2 a 1.45 para evitar que las líneas internas del mismo párrafo choquen */
    color: #fff;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Aumentado de 6px a 12px para separar adecuadamente los dos párrafos */
}

.desktop-only {
    display: inline;
}

.hero-glass-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: visible;
    /* Evita recortar la imagen sobresaliente */
    width: 100%;
}

/* Imagen Mockup que sobresale (protrude) del contenedor principal */
.hero-mockup-img {
    max-width: 125%;
    width: 100%;
    margin-top: -145px;
    margin-bottom: -110px;
    margin-right: 1px;
    display: block;
    position: relative;
    top: 100px;
    z-index: 10;
    border: none;
    outline: none;
    box-shadow: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Animación suave para la flotación */
}

/* Animación de flotación autónoma al pasar el cursor sobre la imagen */
.hero-mockup-img:hover {
    transform: translateY(-10px);
    /* Flota ligeramente sin mostrar contenedor */
}

/* Responsividad para móviles y tablets */
@media (max-width: 1200px) {
    .hero-mockup-img {
        margin-right: -50px;
        width: 120%;
    }
}

@media (max-width: 992px) {
    .hero-header-section h1 {
        font-size: 2.5rem;
    }

    .hero-header-section p {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }

    .hero-glass-box {
        grid-template-columns: 1fr;
        padding: 40px 30px 60px 30px;
        /* Padding inferior aumentado para alojar el desbordamiento de la imagen */
        gap: 30px;
        border-radius: 28px;
        text-align: left;
        /* Alineación del texto a la izquierda en móviles */
    }

    .hero-glass-left {
        align-items: flex-start;
        /* Alinea los elementos (badge y caja de texto) a la izquierda */
    }

    .hero-glass-right {
        /* Natural order: Muestra la imagen abajo, después del texto */
        justify-content: center;
        overflow: visible;
    }

    .hero-mockup-img {
        width: 100%;
        max-width: 460px;
        margin: 20px auto -90px auto;
        /* Espaciado con respecto al texto arriba, y sobresale abajo */
        top: 25px;
        /* Desplazamiento vertical limpio hacia abajo en móviles */
    }

    .desktop-only {
        display: none;
        /* Oculta el salto de línea en celulares para que sea adaptativo */
    }

    /* Ajustes del Nav en formato móvil (Menú Hamburguesa & Cajón Lateral Deslizable) */
    nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-toggle {
        display: flex;
        /* Mostrar en celular */
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        margin-right: -10px;
        /* Alínea el icono perfectamente con el borde derecho del contenedor */
        z-index: 120;
        position: relative;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        position: relative;
        transition: background 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        width: 24px;
        height: 2px;
        background: #fff;
        position: absolute;
        left: 0;
        transition: transform 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    /* Estado transformado a "X" al abrir el menú */
    .nav-toggle.open .hamburger {
        background: transparent;
    }

    .nav-toggle.open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.open .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .header-container {
        height: 80px;
        padding: 0 24px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.4rem;
        justify-content: flex-start;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        /* Totalmente oculto al lado derecho al inicio */
        left: auto;
        width: 280px;
        height: 100vh;
        background: rgba(3, 14, 41, 0.96);
        /* Fondo azul oscuro premium */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        /* Borde en el lado izquierdo */
        border-right: none;
        padding: 120px 40px;
        gap: 28px;
        z-index: 100;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        /* Desplazamiento ultra suave desde la derecha */
        align-items: flex-start;
        justify-content: flex-start;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
        /* Sombra hacia la izquierda */
    }

    /* Mostrar menú deslizable al activarse */
    .nav-links.open {
        right: 0;
        /* Desliza el panel hacia adentro desde la derecha */
        left: auto;
    }

    .nav-links a {
        font-size: 1.15rem;
        width: 100%;
        padding: 8px 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-links a::after {
        bottom: 0;
    }

    /* Grupo de botones del usuario: apilados, a todo el ancho y empujados al fondo */
    .header-user-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin-left: 0;
        margin-top: auto;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header-portal-btn,
    .header-logout-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 1rem;
    }

    /* El subrayado animado no aplica a estos botones */
    .header-user-group a::after {
        display: none;
    }
}

/* ==========================================================================
   Estilos Reubicados desde la Cabecera (header.php)
   ========================================================================== */

/* Estilo de la franja o badge especial */
.spec-badge-glow {
    border: 1px solid rgba(107, 230, 123, 0.4);
    background: rgba(107, 230, 123, 0.08);
    color: var(--accent-lime);
    box-shadow: 0 0 15px rgba(107, 230, 123, 0.15);
}

/* Contenedor del video con el smartphone flotante superpuesto */
.hero-media-wrapper {
    position: relative;
    width: 100%;
}

.floating-phone-mockup {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 180px;
    z-index: 15;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8));
    transition: all 0.5s ease;
}

.floating-phone-mockup:hover {
    transform: translateY(-8px) rotate(-2deg);
}

@media (max-width: 768px) {
    .floating-phone-mockup {
        width: 120px;
        bottom: -20px;
        right: -10px;
    }
}

/* Carrusel y botones */
.live-badge-capsule {
    display: inline-block;
    background: var(--accent-green-gradient);
    color: #030e29;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 6px 18px;
    border-radius: 50px;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(107, 230, 123, 0.4);
}

/* Libros mockups específicos */
.book-front.orange {
    background: linear-gradient(135deg, #ea580c 0%, #7c2d12 100%);
}

.book-front.cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #1e3a8a 100%);
}

.book-front.red {
    background: linear-gradient(135deg, #dc2626 0%, #450a0a 100%);
}

.book-front.blue {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e1b4b 100%);
}

.book-front.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #311042 100%);
}

.book-front.teal {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
}

/* Efecto 3D de Libros adicionales */
.book-cover-mockup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 5%;
    width: 90%;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    filter: blur(5px);
    z-index: -1;
    transition: all 0.3s ease;
}

.book-cover-mockup:hover::after {
    bottom: -12px;
    filter: blur(8px);
    opacity: 0.7;
}

/* Sombras para pricing-card */
.pricing-card-glow {
    border: 1px solid rgba(107, 230, 123, 0.15) !important;
    background: linear-gradient(180deg, rgba(4, 14, 41, 0.7) 0%, rgba(3, 21, 72, 0.4) 100%) !important;
}

/* ==========================================================================
   Sección 2: Carrusel de Actividades Académicas Premium
   ========================================================================== */

.events-carousel-section {
    text-align: center;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.section-top-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

/* Botón Comenzar - Premium con Glow en #49ff7d */
.btn-comenzar {
    background: #49ff7d;
    color: #030e29;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 8px 56px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 1px solid transparent;
    box-shadow: 0 0 25px rgba(73, 255, 125, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    margin: 10px auto;
    text-transform: none;
    cursor: pointer;
}

.btn-comenzar:hover {
    background: #3ee66e;
    color: #030e29;
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(73, 255, 125, 0.7);
}

.section-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #fff;
    max-width: 760px;
    margin: 0 auto 50px;
    line-height: 1.65;
}

/* Resaltado Verde #49ff7d */
.highlight-green {
    color: #49ff7d;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(73, 255, 125, 0.15);
}

/* Contenedores del Carrusel */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px 16px;
    /* Espacio para que las sombras y auras no se corten */
    scrollbar-width: none;
    /* Oculta en Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Oculta en Chrome, Safari, Opera */
}

/* Tarjeta del Evento */
.carousel-card {
    flex: 0 0 200px;
    /* Ancho premium idéntico */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* Contenedor de la Imagen con Aura Celeste Suave */
.cover-glow-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: visible;
    /* Clave: no ocultar para evitar cortes en animaciones */
}

/* El Aura Celeste Suave (Glow de fondo) */
.cover-glow-wrapper::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(73, 230, 255, 0.28) 0%, rgba(3, 21, 72, 0) 70%);
    filter: blur(20px);
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
    opacity: 0.85;
}

/* Estilo 3D de la Portada */
.event-cover {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animaciones al pasar el cursor (Hover) */
.carousel-card:hover {
    transform: translateY(-8px);
}

.carousel-card:hover .event-cover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(73, 230, 255, 0.25);
}

/* Expande el Aura al Hover */
.carousel-card:hover .cover-glow-wrapper::before {
    transform: scale(1.22);
    opacity: 1;
    background: radial-gradient(circle, rgba(73, 230, 255, 0.45) 0%, rgba(3, 21, 72, 0) 70%);
    filter: blur(22px);
}

/* Título de la tarjeta */
.event-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Límite de 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
    /* Mantiene simetría */
}

/* Badge de Certificación */
.event-badge {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: #49ff7d;
    letter-spacing: 0.03em;
}

/* Botones de Control del Carrusel (#49ff7d con iconos oscuros) */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 25px;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #49ff7d;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(73, 255, 125, 0.3);
}

.control-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.control-btn:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 20px rgba(73, 255, 125, 0.6);
    background: #3ee66e;
}

.control-btn:active {
    transform: scale(0.95);
}

.prev-btn:hover svg {
    transform: translateX(-3px);
}

.next-btn:hover svg {
    transform: translateX(3px);
}

/* Ajustes Responsivos */
@media (max-width: 992px) {
    .events-carousel-section {
        padding: 60px 0 70px;
    }

    .section-top-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .btn-comenzar {
        padding: 8px 35px;
        font-size: 1rem;
    }

    .section-main-title {
        font-size: 2.1rem;
        margin-top: 50px;
    }

    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 35px;
    }

    .carousel-container {
        gap: 20px;
        padding: 30px 10px;
    }

    .carousel-card {
        flex: 0 0 175px;
    }

    .event-title {
        font-size: 0.8rem;
        min-height: 2.9em;
    }

    .event-badge {
        font-size: 0.74rem;
    }

    .control-btn {
        width: 42px;
        height: 42px;
    }

    .control-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Sección 3: Beneficios de la Suscripción Premium
   ========================================================================== */

.benefits-section-new {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.benefits-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.benefits-title .bold-text {
    font-weight: 700;
}

.benefits-subtitle {
    font-size: 1.15rem;
    color: #fff;
    max-width: 760px;
    margin: 0 auto 70px;
    line-height: 1.65;
}

.benefits-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.benefit-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.benefit-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
    transition: color 0.3s ease;
}

/* Aura celeste suave detrás de cada icono */
.benefit-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(73, 230, 255, 0.35) 0%, rgba(3, 21, 72, 0) 70%);
    filter: blur(14px);
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
    opacity: 0.85;
}

.benefit-icon {
    font-size: 2.6rem;
    /* Tamaño óptimo que calza perfecto en el contenedor de 72px */
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}

.benefit-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 175px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

/* Efectos de Hover interactivos */
.benefit-card:hover {
    transform: translateY(-6px);
}

.benefit-card:hover .benefit-icon-wrapper {
    color: #49ff7d;
}

.benefit-card:hover .benefit-icon-wrapper::before {
    transform: scale(1.35);
    opacity: 1;
    background: radial-gradient(circle, rgba(73, 230, 255, 0.55) 0%, rgba(3, 21, 72, 0) 70%);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.08);
    color: #49ff7d;
}

.benefit-card:hover .benefit-text {
    color: #fff;
}

/* Responsividad para Beneficios */
@media (max-width: 992px) {
    .benefits-section-new {
        padding: 60px 0;
    }

    .benefits-title {
        font-size: 2.2rem;
    }

    .benefits-subtitle {
        font-size: 1.05rem;
        margin-bottom: 50px;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }

    .benefit-text {
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .benefits-title {
        font-size: 1.8rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 12px;
    }

    .benefit-icon-wrapper {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .benefit-icon {
        font-size: 2.1rem;
        /* Tamaño responsivo y balanceado para celular */
    }

    .benefit-text {
        font-size: 0.85rem;
        max-width: 150px;
    }
}

/* ==========================================================================
   Sección 4: Elige tu plan Premium
   ========================================================================== */

.pricing-section-new {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pricing-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    font-size: 1.15rem;
    color: #fff;
    max-width: 760px;
    margin: 0 auto 70px;
    line-height: 1.65;
}

.pricing-cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

/* Tarjeta del Plan */
.pricing-card {
    flex: 1;
    max-width: 380px;
    background: #030770;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: left;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* Plan destacado (medical) */
.pricing-card.pro-card {
    border-color: rgba(163, 230, 53, 0.3);
    background: linear-gradient(160deg, #040d5a 0%, #030770 100%);
    box-shadow: 0 0 40px rgba(163, 230, 53, 0.08);
}

.pricing-card.pro-card::before {
    content: 'RECOMENDADO';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #a3e635;
    color: #0a1a00;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 0 0 10px 10px;
    white-space: nowrap;
}

/* Animación Premium en el Contenedor de la Tarjeta (Hover) */
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(73, 255, 125, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(73, 255, 125, 0.12);
}

.card-plan-icon {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.card-header {
    margin-bottom: 22px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.plan-price {
    display: flex;
    align-items: baseline;
}

.plan-price .currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-right: 3px;
}

.plan-price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

.plan-price-usd {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.plan-price-usd-note {
    font-size: 0.7rem;
    color: #475569;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 1px 5px;
}

/* Lista de Características / Beneficios del Plan */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-check-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.feature-check-icon {
    font-size: 1rem;
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease, text-shadow 0.3s ease;
}

.feature-text {
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.5;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

/* Animación al pasar el cursor sobre cada Beneficio (Hover Individual) */
.feature-item:hover .feature-check-icon {
    color: #49ff7d;
    /* Brillo verde en hover */
    transform: scale(1.3) rotate(6deg);
    /* Escala y rotación leve */
    text-shadow: 0 0 10px rgba(73, 255, 125, 0.7);
}

.feature-item:hover .feature-text {
    color: #fff;
    transform: translateX(4px);
    /* Desplazamiento leve a la derecha */
}

.card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 22px;
    margin-top: auto;
    padding-top: 16px;
}

.card-divider+div {
    display: flex;
    justify-content: center;
}

.card-footer {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Botón Suscribirse - Premium con Glow en #49ff7d */
.btn-subscribe {
    background: #49ff7d;
    color: #030e29;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px 0;
    width: 100%;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 1px solid transparent;
    box-shadow: 0 0 20px rgba(73, 255, 125, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    text-align: center;
}

.btn-subscribe:hover {
    background: #3ee66e;
    color: #030e29;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(73, 255, 125, 0.6);
}

/* Responsividad para Planes */
@media (max-width: 1100px) {
    .pricing-cards-container {
        gap: 16px;
        max-width: 100%;
        padding: 0 16px;
    }
    .pricing-card {
        padding: 32px 22px;
    }
}

@media (max-width: 860px) {
    .pricing-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .pricing-card {
        width: 100%;
        max-width: 480px;
        padding: 36px 28px;
    }

    .plan-price .amount {
        font-size: 3.2rem;
    }
}

@media (max-width: 600px) {
    .pricing-section-new {
        padding: 60px 0;
    }

    .pricing-title {
        font-size: 2.1rem;
    }

    .pricing-subtitle {
        font-size: 1.05rem;
        margin-bottom: 45px;
    }

    .pricing-card {
        padding: 32px 22px;
        max-width: 100%;
    }

    .plan-price .amount {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   Sección 5: App Móvil Premium
   ========================================================================== */

.app-section-new {
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.app-grid-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.app-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.app-section-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* Tarjeta Glassmorphic Blanca Translúcida */
.app-glass-card {
    background: rgba(228, 239, 252, 0.94);
    /* Fondo blanquecino premium idéntico */
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 32px;
    padding: 45px 50px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 540px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.app-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
}

.app-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.app-feature-item:last-child {
    margin-bottom: 0;
}

.app-check-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkmark Verde brillante */
.app-check-icon {
    font-size: 1.45rem;
    color: #5fb678;
    text-shadow: 0 0 10px rgba(95, 182, 120, 0.4);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(95, 182, 120, 0.2);
}

.app-feature-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #1e293b;
    /* Texto oscuro altamente legible e idéntico */
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Animación Hover en cada beneficio */
.app-feature-item:hover {
    transform: translateX(6px);
}

.app-feature-item:hover .app-feature-text {
    color: #0f172a;
    /* Brilla ligeramente más oscuro */
}

/* Mockup Móvil y Aura Celeste */
.app-right-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup-glow-wrapper {
    position: relative;
    display: inline-block;
    z-index: 5;
}

/* Aura brillante detrás del celular */
.mockup-glow-wrapper::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(73, 230, 255, 0.45) 0%, rgba(3, 21, 72, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.mockup-glow-wrapper:hover::before {
    transform: scale(1.15);
    background: radial-gradient(circle, rgba(73, 230, 255, 0.6) 0%, rgba(3, 21, 72, 0) 70%);
}

/* Levitación / Flotado Premium del Celular */
@keyframes floatAppMockup {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px) rotate(0.4deg);
    }

    100% {
        transform: translateY(0);
    }
}

/* iPhone Premium Device Mockup */
.iphone-device {
    position: relative;
    width: 320px;
    height: 650px;
    background: #080c14;
    /* Deep dark frame */
    border-radius: 54px;
    padding: 12px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.65),
        inset 0 0 4px rgba(255, 255, 255, 0.3),
        0 0 0 4px #1f2937,
        /* Dark graphite metallic edge ring */
        0 0 0 6px #111827;
    animation: floatAppMockup 6s ease-in-out infinite;
    transition: filter 0.3s ease;
    overflow: visible;
    /* To allow buttons to protrude slightly */
    user-select: none;
}

.iphone-device:hover {
    filter: drop-shadow(0 30px 65px rgba(73, 230, 255, 0.25));
}

/* Inner Bezel Border */
.iphone-bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 12px solid #000;
    border-radius: 54px;
    pointer-events: none;
    z-index: 10;
}

/* iPhone Screen Container */
.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 42px;
    overflow: hidden;
    z-index: 5;
    transform: translateZ(0);
    /* Webkit corner masking fix */
}

/* Autoplayer Video Styling */
.app-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Disables all clicks, taps, context menu interaction */
    user-select: none;
}

/* Dynamic Island Notch */
.iphone-notch {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 15;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.08);
}

/* Camera Lens Reflection inside Notch (Subtle Premium Detail) */
.iphone-notch::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #0d2c54 10%, #030818 80%);
    border-radius: 50%;
    opacity: 0.7;
}

/* iPhone Speaker */
.iphone-speaker {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #111;
    border-radius: 2px;
    z-index: 15;
}

/* Sleek Screen Glare / Reflection Overlay */
.iphone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
    border-radius: 42px;
    pointer-events: none;
    z-index: 8;
}

/* iPhone Side Hardware Buttons */
.iphone-button {
    position: absolute;
    background: #1f2937;
    width: 3px;
    border-radius: 2px 0 0 2px;
    z-index: 1;
    box-shadow: -1px 0 2px rgba(0, 0, 0, 0.4);
}

.iphone-button.volume-up {
    top: 130px;
    left: -3px;
    height: 45px;
}

.iphone-button.volume-down {
    top: 190px;
    left: -3px;
    height: 45px;
}

.iphone-button.power {
    top: 150px;
    right: -3px;
    width: 3px;
    height: 65px;
    border-radius: 0 2px 2px 0;
    box-shadow: 1px 0 2px rgba(0, 0, 0, 0.4);
}

/* Responsividad */
@media (max-width: 992px) {
    .app-grid-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .app-left-content {
        align-items: center;
        text-align: center;
    }

    .app-section-title {
        font-size: 2.6rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .app-glass-card {
        margin: 0 auto;
        padding: 40px 30px;
        max-width: 480px;
    }

    .app-feature-item {
        text-align: left;
    }

    .iphone-device {
        width: 290px;
        height: 590px;
        border-radius: 48px;
        padding: 10px;
    }

    .iphone-bezel {
        border-width: 10px;
        border-radius: 48px;
    }

    .iphone-screen {
        border-radius: 38px;
    }

    .iphone-notch {
        width: 85px;
        height: 25px;
        top: 20px;
    }
}

@media (max-width: 600px) {
    .app-section-new {
        padding: 60px 0;
    }

    .app-section-title {
        font-size: 2.1rem;
    }

    .app-glass-card {
        padding: 30px 20px;
    }

    .app-feature-text {
        font-size: 0.95rem;
    }

    .app-check-icon {
        font-size: 1.25rem;
    }

    .iphone-device {
        width: 250px;
        height: 510px;
        border-radius: 42px;
        padding: 8px;
    }

    .iphone-bezel {
        border-width: 8px;
        border-radius: 42px;
    }

    .iphone-screen {
        border-radius: 34px;
    }

    .iphone-notch {
        width: 75px;
        height: 22px;
        top: 16px;
    }
}

/* ==========================================================================
   Sección 6: Banner CTA & Preguntas Frecuentes
   ========================================================================== */

.cta-faq-section-new {
    padding: 80px 0 100px 0;
    position: relative;
    overflow: hidden;
}

/* Banner CTA Estilo Cápsula Premium */
.cta-capsule-wrapper {
    max-width: 1250px;
    margin: 0 auto 100px auto;
    position: relative;
    z-index: 10;
}

.cta-capsule {
    background: transparent;
    border: 1px solid rgba(73, 230, 255, 0.15);
    border-radius: 70px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(73, 230, 255, 0.15);
    /* Soft cyan glow */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.cta-capsule:hover {
    transform: translateY(-4px);
    border-color: rgba(73, 230, 255, 0.35);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 45px rgba(73, 230, 255, 0.3);
    /* Stronger glow on hover */
}

/* Background Cyan aura behind capsule */
.cta-capsule-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(3, 21, 72, 0.6) 0%, rgba(3, 11, 46, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

/* Textos del CTA (Izquierda) */
.cta-text-left h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    margin-top: 4px;
}

/* Botón CTA (Derecha) */
.cta-button-right {
    flex-shrink: 0;
}

/* FAQ Section Styling */
.faq-container-new {
    max-width: 1250px;
    margin: 0 auto;
    text-align: left;
}

.faq-section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
    text-align: left;
}

/* Accordion Grid */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ Accordion Card */
.faq-item-new {
    background: linear-gradient(180deg, rgba(32, 71, 136, 0.2) 0%, rgba(3, 14, 41, 0.45) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item-new:hover {
    border-color: rgba(73, 230, 255, 0.2);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(73, 230, 255, 0.08);
}

/* Accordion Header */
.faq-header-new {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-item-new:hover .faq-question {
    color: rgba(255, 255, 255, 0.95);
}

/* Chevron indicator */
.faq-chevron {
    color: #49ff7d;
    /* Vibrant green arrow */
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease;
}

/* Chevron open state rotation */
.faq-item-new.open .faq-chevron {
    transform: rotate(180deg);
}

/* Accordion Body */
.faq-body-new {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

.faq-item-new.open .faq-body-new {
    max-height: 300px;
    /* large enough default, JS overrides with exact scrollHeight */
    opacity: 1;
}

.faq-content-inner {
    padding: 0 30px 24px 30px;
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

/* Responsividad para Sección 6 */
@media (max-width: 992px) {
    .cta-faq-section-new {
        padding: 60px 0 80px 0;
    }

    .cta-capsule {
        padding: 35px 40px;
    }

    .cta-text-left h3 {
        font-size: 1.9rem;
    }

    .cta-subtitle {
        font-size: 1.5rem;
    }

    .faq-section-title {
        font-size: 2.3rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 768px) {
    .cta-capsule {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 30px;
        border-radius: 40px;
    }

    .cta-text-left h3 {
        font-size: 1.7rem;
    }

    .cta-subtitle {
        font-size: 1.35rem;
    }

    .cta-capsule-wrapper {
        margin-bottom: 70px;
    }

    .faq-header-new {
        padding: 20px 24px;
    }

    .faq-content-inner {
        padding: 0 24px 20px 24px;
        font-size: 0.92rem;
    }
}

.faq-section-title {
    font-size: 1.9rem;
    text-align: center;
}

.faq-question {
    font-size: 1rem;
}
}

/* ==========================================================================
   Portal de Acceso y Registro Popup (Login/Registro Modal)
   ========================================================================== */

/* Botón de Acceso en Menú (Navbar) */
.nav-login-btn {
    background: rgba(73, 255, 125, 0.1) !important;
    border: 1px solid rgba(73, 255, 125, 0.3) !important;
    color: #49ff7d !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: var(--transition-smooth) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-login-btn::after {
    display: none !important;
    /* Elimina animación de barra inferior en hover */
}

.nav-login-btn:hover {
    background: #49ff7d !important;
    color: #030e29 !important;
    box-shadow: 0 0 15px rgba(73, 255, 125, 0.4);
    text-shadow: none !important;
    transform: translateY(-1px);
}

.btn-icon-gap {
    font-size: 0.85rem;
    margin-right: 2px;
}

/* Superposición / Fondo del Modal (Overlay) */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 8, 24, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.auth-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Contenedor Principal (Modal Box) */
.auth-modal-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 12, 30, 0.98) 100%);
    border: 1px solid rgba(73, 230, 255, 0.18);
    border-radius: 30px;
    width: 100%;
    max-width: 500px;
    padding: 45px 40px;
    position: relative;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 45px rgba(73, 230, 255, 0.15);
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

/* Barra de Scroll Personalizada para el Modal */
.auth-modal-box::-webkit-scrollbar {
    width: 6px;
}

.auth-modal-box::-webkit-scrollbar-track {
    background: transparent;
}

.auth-modal-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.auth-modal-overlay.active .auth-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Botón de Cierre 'X' */
.auth-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    line-height: 1;
    z-index: 100;
}

.auth-modal-close:hover {
    color: #ff4949;
    background: rgba(255, 73, 73, 0.1);
    transform: rotate(90deg);
}

/* Encabezado del Modal */
.auth-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.auth-logo span {
    background: var(--accent-green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Pestañas (Tabs) Segmentadas */
.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 35px;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.auth-tab-btn i {
    font-size: 0.85rem;
}

.auth-tab-btn.active {
    background: rgba(73, 255, 125, 0.12);
    color: #49ff7d;
    box-shadow: inset 0 0 10px rgba(73, 255, 125, 0.15);
    border: 1px solid rgba(73, 255, 125, 0.2);
}

/* Paneles del Formulario (Active / Hide) */
.auth-form-pane {
    display: none;
}

.auth-form-pane.active {
    display: block;
    animation: authFadeIn 0.35s ease forwards;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grupos de Campos e Inputs */
.auth-field-group {
    margin-bottom: 22px;
    text-align: left;
}

.auth-field-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.auth-forgot-link {
    font-size: 0.8rem;
    color: var(--secondary);
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: #49ff7d;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 18px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 5;
}

.auth-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px 12px 48px;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-input:focus {
    border-color: #49ff7d;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(73, 255, 125, 0.25);
}

.auth-input:focus+.auth-input-icon {
    color: #49ff7d;
}

/* Botón ojo para mostrar/ocultar contraseña */
.auth-pwd-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.35);
    font-size: 15px;
    padding: 4px;
    line-height: 1;
    transition: color .2s;
    z-index: 2;
}
.auth-pwd-toggle:hover {
    color: #49ff7d;
}

/* Selector Especialidad Dropdown */
.auth-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.auth-input-wrapper:has(select)::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.auth-input-wrapper:has(select):focus-within::after {
    color: #49ff7d;
}

.auth-select option {
    background: #0d1222;
    color: #fff;
}

/* Casilla de Verificación Checkbox Estilizada */
.auth-checkbox-group {
    margin-bottom: 25px;
    text-align: left;
}

.auth-checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.auth-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.auth-checkbox-custom {
    position: relative;
    flex-shrink: 0;
    top: 3px;
    left: 0;
    height: 18px;
    width: 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.auth-checkbox:checked~.auth-checkbox-custom {
    background: rgba(73, 255, 125, 0.12);
    border-color: #49ff7d;
}

.auth-checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #49ff7d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-checkbox:checked~.auth-checkbox-custom::after {
    display: block;
}

.auth-checkbox-text {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.auth-checkbox-text a {
    color: #49ff7d;
    text-decoration: underline;
}

.auth-checkbox-text a:hover {
    color: #3ee66e;
}

/* Botones de Envío y Consejos Alternantes */
.auth-submit-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.05rem;
    padding: 14px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(73, 255, 125, 0.25);
    cursor: pointer;
    border: none;
}

.auth-toggle-tip {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 25px;
    text-align: center;
}

.auth-toggle-tip a {
    color: #49ff7d;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-toggle-tip a:hover {
    color: #3ee66e;
}

/* OTP / 6-digit code input */
.otp-input-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 4px 0 0;
}

.otp-digit {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    color: #49e6ff;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    caret-color: transparent;
}

.otp-digit:focus {
    border-color: #49e6ff;
    box-shadow: 0 0 0 3px rgba(73, 230, 255, 0.18);
}

.otp-digit.filled {
    border-color: #49ff7d;
    color: #49ff7d;
}

.otp-digit.error {
    border-color: #f87171;
    color: #f87171;
    animation: otp-shake 0.35s ease;
}

@keyframes otp-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-4px); }
    60%       { transform: translateX(4px); }
}

/* Responsividad para móviles y pantallas pequeñas */
@media (max-width: 576px) {
    .auth-modal-box {
        padding: 35px 24px;
        border-radius: 24px;
    }

    .auth-logo {
        font-size: 1.9rem;
    }

    .auth-tab-btn {
        font-size: 0.88rem;
        padding: 8px 12px;
    }

    .auth-input {
        font-size: 0.9rem;
        padding: 10px 14px 10px 42px;
    }

    .auth-input-icon {
        left: 14px;
    }

    .auth-submit-btn {
        font-size: 0.95rem;
        padding: 12px 0;
    }
}

/* Botón de Google (Gmail) Premium */
.auth-google-btn {
    width: 100%;
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    margin-bottom: 20px !important;
}

.auth-google-btn:hover {
    background: #f9fafb !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1), 0 0 15px rgba(255, 255, 255, 0.08) !important;
}

.auth-google-btn:active {
    transform: translateY(-0.5px) !important;
}

.google-logo-img {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

/* Divisor de Texto ("o") */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider:not(:empty)::before {
    margin-right: 15px;
}

.auth-divider:not(:empty)::after {
    margin-left: 15px;
}

@media (max-width: 576px) {
    .auth-google-btn {
        font-size: 0.9rem !important;
        padding: 10px 14px !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }
}

/* ==========================================================================
   Pantalla de Completar Perfil Profesional (completar-perfil.php)
   ========================================================================== */

.profile-complete-wrapper {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 100px 24px;
    position: relative;
    overflow: hidden;
}

.profile-complete-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 12, 30, 0.98) 100%);
    border: 1px solid rgba(73, 230, 255, 0.18);
    border-radius: 30px;
    width: 100%;
    max-width: 560px;
    padding: 55px 45px;
    margin: 0 auto;
    position: relative;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 45px rgba(73, 230, 255, 0.15);
    text-align: center;
    z-index: 10;
}

/* Icono Superior Estilo Médico/Gear */
.profile-complete-icon-wrapper {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 30px auto;
    background: rgba(73, 230, 255, 0.08);
    border: 1px solid rgba(73, 230, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #49ff7d;
}

.profile-glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(73, 230, 255, 0.35) 0%, rgba(3, 21, 72, 0) 70%);
    filter: blur(15px);
    z-index: -1;
    pointer-events: none;
}

.profile-complete-icon {
    font-size: 2.3rem;
    text-shadow: 0 0 15px rgba(73, 255, 125, 0.5);
}

/* Encabezado e Textos */
.profile-complete-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.profile-complete-header p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.profile-complete-header p strong {
    color: #49ff7d;
    font-weight: 600;
}

/* Botón de envío */
.profile-complete-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(73, 255, 125, 0.3);
    margin-top: 15px;
    border: none;
    cursor: pointer;
}

/* Responsividad para la pantalla */
@media (max-width: 576px) {
    .profile-complete-wrapper {
        padding: 40px 16px 80px 16px;
    }

    .profile-complete-card {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .profile-complete-header h2 {
        font-size: 1.8rem;
    }

    .profile-complete-header p {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .profile-complete-icon-wrapper {
        width: 72px;
        height: 72px;
        margin-bottom: 24px;
    }

    .profile-complete-icon {
        font-size: 1.9rem;
    }

    margin-top: 10px;
    margin-bottom: 10px;
}

.nav-logout-btn {
    font-size: 1.1rem;
    margin-top: 10px;
}
}

/* ==========================================================================
   Portal del Estudiante Premium (dashboard.php Layout & Components)
   ========================================================================== */

.db-wrapper {
    padding: 60px 0 100px 0;
    min-height: 85vh;
    background: radial-gradient(circle at 50% 50%, #031548 0%, #010822 100%) !important;
    position: relative;
    overflow: hidden;
}

.db-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Estilo Glassmorphic */
.db-sidebar {
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px 25px;
    min-width: 0;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Encabezado del Perfil en Sidebar */
.db-profile-header {
    text-align: center;
}

.db-avatar-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 16px auto;
    background: rgba(73, 230, 255, 0.1);
    border: 1px solid rgba(73, 230, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.db-avatar-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(73, 230, 255, 0.3) 0%, transparent 70%);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

.db-avatar-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #49ff7d;
    text-shadow: 0 0 10px rgba(73, 255, 125, 0.4);
}

.db-profile-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
}

.db-profile-specialty {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

/* Badges de Estado en Sidebar */
.db-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.db-sub-badge.active {
    background: rgba(73, 255, 125, 0.12);
    border: 1px solid rgba(73, 255, 125, 0.25);
    color: #49ff7d;
    box-shadow: 0 0 10px rgba(73, 255, 125, 0.1);
}

.db-sub-badge.active-estandar {
    background: rgba(73, 255, 125, 0.12);
    border: 1px solid rgba(73, 255, 125, 0.25);
    color: #49ff7d;
    box-shadow: 0 0 10px rgba(73, 255, 125, 0.1);
}

.db-sub-badge.active-pro {
    background: rgba(73, 230, 255, 0.12);
    border: 1px solid rgba(73, 230, 255, 0.25);
    color: #49e6ff;
    box-shadow: 0 0 10px rgba(73, 230, 255, 0.1);
}

.db-sub-badge.inactive {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: #f97316;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
}

/* Menú de Navegación del Sidebar */
.db-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.db-nav-item {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.65);
    padding: 12px 18px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
}

.db-nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.db-nav-item.active {
    background: rgba(73, 255, 125, 0.1);
    border-color: rgba(73, 255, 125, 0.2);
    color: #49ff7d;
    box-shadow: inset 0 0 10px rgba(73, 255, 125, 0.1);
}

.db-nav-icon {
    font-size: 1.05rem;
}

.db-nav-lock {
    margin-left: auto;
    font-size: 0.8rem;
    color: #f97316;
}

.db-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 10px;
}

.db-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff4949;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.db-logout-link:hover {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 73, 73, 0.3);
}

/* Panel de Contenido Principal (Derecha) */
.db-content-pane {
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 45px;
    min-height: 610px;
    min-width: 0;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    box-shadow: var(--shadow-md);
    position: relative;
}

.db-pane-header {
    margin-bottom: 40px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.db-pane-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.db-pane-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Transiciones entre Pestañas */
.db-tab-pane {
    display: none;
}

.db-tab-pane.active {
    display: block;
    animation: dbFadeIn 0.4s ease forwards;
}

@keyframes dbFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tarjetas de Estadísticas (Resumen) */
.stat-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(73, 230, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.stat-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card-icon {
    font-size: 1rem;
    color: #49ff7d;
}

.stat-card-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Banner Informativo de Cuenta Híbrida */
.hybrid-info-banner {
    background: rgba(73, 230, 255, 0.08);
    border: 1px solid rgba(73, 230, 255, 0.2);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 35px;
    text-align: left;
}

.hybrid-info-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hybrid-info-icon {
    font-size: 1.6rem;
    color: #49e6ff;
    animation: spin 12s linear infinite;
}

.hybrid-info-left h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.hybrid-info-left p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Banner Inactivo (Upgrade Teaser) */
.upgrade-teaser-banner {
    background: linear-gradient(135deg, rgba(73, 255, 125, 0.08) 0%, rgba(3, 21, 72, 0.4) 100%);
    border: 1px solid rgba(73, 255, 125, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
}

.upgrade-teaser-icon {
    font-size: 2.2rem;
    color: #49ff7d;
    animation: floatAppMockup 4s ease-in-out infinite;
}

.upgrade-teaser-body h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.upgrade-teaser-body p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Banner de Clase Activa (Zoom) */
.next-class-banner {
    background: linear-gradient(135deg, rgba(3, 20, 80, 0.4) 0%, rgba(3, 11, 46, 0.6) 100%);
    border: 1px solid rgba(73, 230, 255, 0.2);
    border-radius: 24px;
    padding: 35px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.class-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

.next-class-banner h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.next-class-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.class-banner-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 25px;
}

.class-banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.class-zoom-btn {
    box-shadow: 0 0 25px rgba(73, 255, 125, 0.4) !important;
}

/* Pantalla de Bloqueo por Membresía (Lock Card) */
.db-lock-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    margin: 20px auto;
    position: relative;
}

.db-lock-circle {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
    filter: blur(12px);
    z-index: 1;
    pointer-events: none;
}

.db-lock-icon {
    font-size: 3rem;
    color: #f97316;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
    position: relative;
    z-index: 5;
}

.db-lock-card h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.db-lock-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 30px;
}

.db-lock-cta {
    box-shadow: 0 0 20px rgba(73, 255, 125, 0.3) !important;
}

/* Pestaña: Mis Cursos (Grilla) */
.db-courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.course-card-db {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.course-card-db:hover {
    transform: translateY(-5px);
    border-color: rgba(73, 230, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.course-cover-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
    background: #070c1b;
}

.course-cover-db {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card-db:hover .course-cover-db {
    transform: scale(1.05);
}

.course-badge-live,
.course-badge-completed {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.course-badge-live {
    background: rgba(73, 255, 125, 0.15);
    border: 1px solid rgba(73, 255, 125, 0.3);
    color: #49ff7d;
    text-shadow: 0 0 5px rgba(73, 255, 125, 0.3);
}

.course-badge-completed {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.course-body-db {
    padding: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-body-db h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    flex-grow: 0;
}

.course-desc-db {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.progress-bar-wrapper {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-green-gradient);
    border-radius: 3px;
}

.progress-bar-percent {
    font-size: 0.78rem;
    font-weight: 700;
    color: #49ff7d;
    font-family: var(--font-heading);
}

.course-action-btn {
    width: 100%;
}

/* Pestaña: Certificados (Diplomas) */
.db-diplomas-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.diploma-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    text-align: left;
}

.diploma-row:hover {
    border-color: rgba(73, 230, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.diploma-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pdf-icon {
    font-size: 2rem;
    color: #ef4444;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.3));
}

.diploma-left h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.diploma-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.diploma-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.qr-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.qr-icon {
    font-size: 1.4rem;
    color: #fff;
}

.download-btn {
    font-size: 0.85rem !important;
    padding: 10px 18px !important;
    box-shadow: 0 0 15px rgba(73, 255, 125, 0.25) !important;
}

/* Pestaña: Cronograma (Línea de Tiempo) */
.db-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    padding-left: 20px;
}

.db-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
}

.timeline-event {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    position: relative;
    text-align: left;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 22px;
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    z-index: 5;
}

.timeline-event.active::before {
    background: #49ff7d;
    box-shadow: 0 0 10px #49ff7d, 0 0 20px #49ff7d;
    width: 9px;
    height: 9px;
}

.event-time-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15px;
}

.event-date {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.event-hour {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.event-card-db {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.timeline-event.active .event-card-db {
    border-color: rgba(73, 255, 125, 0.2);
    background: rgba(73, 255, 125, 0.02);
}

.event-card-db h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}

.event-instructor {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.event-status-tag {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.event-status-tag.live {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    animation: blinkEvent 2s infinite;
}

.event-status-tag.pending {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

@keyframes blinkEvent {
    0% {
        opacity: 0.85;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.85;
    }
}

.event-zoom-btn {
    font-size: 0.85rem !important;
    padding: 10px 18px !important;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(73, 255, 125, 0.25) !important;
}

/* Pestaña: Mi Cuenta (Edición Perfil) */
.db-profile-form {
    text-align: left;
}

.form-section-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    text-align: left;
}

.form-section-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-header h3 i {
    color: #49ff7d;
}

.db-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.db-save-btn {
    font-size: 0.95rem !important;
    padding: 12px 28px !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    cursor: pointer;
    border: none;
}

/* Responsividad para la cabina del estudiante */
@media (max-width: 992px) {
    .db-layout-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .db-sidebar {
        padding: 30px 20px;
        border-radius: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .db-profile-header {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
        min-width: 0;
    }

    .db-profile-info {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .db-profile-info .db-profile-name,
    .db-profile-info .db-profile-specialty {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .db-profile-info .db-sub-badge {
        max-width: 100%;
    }

    .db-profile-header h3 {
        margin-bottom: 0;
    }

    .db-profile-header p {
        margin-bottom: 4px;
    }

    .db-avatar-wrapper {
        margin: 0;
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .db-avatar-text {
        font-size: 1.6rem;
    }

    .db-nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }

    .db-nav-item {
        width: auto;
        flex: 1 1 auto;
        justify-content: center;
        white-space: nowrap;
        padding: 10px 16px;
    }

    .db-nav-item .db-nav-lock {
        margin-left: 6px;
    }

    .db-sidebar-footer {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
        width: auto;
    }
}

@media (max-width: 768px) {
    .db-content-pane {
        padding: 30px 20px;
        border-radius: 20px;
        min-height: auto;
    }

    .stat-card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .db-courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .diploma-row {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .diploma-right {
        margin-top: 15px;
        justify-content: space-between;
    }

    .timeline-event {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 20px;
    }

    .event-time-column {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding-left: 15px;
    }

    .event-hour {
        margin-top: 0;
    }

    .db-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .event-card-db {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .event-zoom-btn {
        width: 100%;
        text-align: center;
    }

    .upgrade-teaser-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .db-lock-card {
        padding: 40px 20px;
    }
}

/* Adiciones de Navegación Dinámica y Alertas de Autenticación */
.nav-welcome-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    border-radius: 50px;
}

.nav-welcome-text i {
    color: #49ff7d;
}

.nav-logout-btn {
    color: #ff4949 !important;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.nav-logout-btn::after {
    display: none !important;
}

.nav-logout-btn:hover {
    color: #ff6b6b !important;
    text-shadow: 0 0 10px rgba(255, 73, 73, 0.3);
}

.auth-error-alert {
    background: rgba(255, 73, 73, 0.1);
    border: 1px solid rgba(255, 73, 73, 0.25);
    color: #ff6b6b;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
}

.auth-error-alert i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.auth-success-alert {
    background: rgba(73, 255, 125, 0.1);
    border: 1px solid rgba(73, 255, 125, 0.25);
    color: #49ff7d;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
}

.auth-success-alert i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* Ajustes Responsivos para Menú Dinámico Móvil */
@media (max-width: 992px) {
    .nav-welcome-text {
        color: #fff;
        font-size: 1.1rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .nav-logout-btn {
        font-size: 1.1rem;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Checkout Premium & Tarjeta de Crédito Virtual Interactiva (Fase 3)
   ========================================================================== */

.checkout-wrapper {
    padding: 60px 0 100px 0;
    min-height: 85vh;
    background: radial-gradient(circle at 50% 50%, #031548 0%, #010822 100%) !important;
    position: relative;
    overflow: hidden;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

/* Paneles del Checkout */
.checkout-summary-card,
.checkout-form-card {
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    box-shadow: var(--shadow-md);
}

.checkout-summary-card h3,
.checkout-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
    text-align: left;
}

/* Selector de Plan Dinámico */
.checkout-plan-selector {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.checkout-plan-selector label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-select-dropdown {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.plan-select-dropdown:focus {
    border-color: #49ff7d;
    box-shadow: 0 0 10px rgba(73, 255, 125, 0.2);
}

/* Desglose de Precios */
.checkout-price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.checkout-price-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkout-price-item.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-top: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

.checkout-price-item.total .amount-glow {
    color: #49ff7d;
    text-shadow: 0 0 15px rgba(73, 255, 125, 0.4);
}

.checkout-benefits-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: left;
}

/* Beneficios Listados en Checkout */
.checkout-plan-benefits {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
}

.checkout-benefit-item {
    display: flex;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.checkout-benefit-icon {
    color: #49ff7d;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Pasarela SSL y Alerta de Sesión en Checkout */
.checkout-ssl-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-align: left;
}

.secure-lock-icon {
    color: #49ff7d;
    text-shadow: 0 0 10px rgba(73, 255, 125, 0.3);
    flex-shrink: 0;
}

.checkout-ssl-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.checkout-session-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(73, 230, 255, 0.08);
    border: 1px solid rgba(73, 230, 255, 0.2);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 25px;
    text-align: left;
}

.session-alert-icon {
    color: #49e6ff;
    text-shadow: 0 0 10px rgba(73, 230, 255, 0.3);
    flex-shrink: 0;
}

.session-alert-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px 0;
}

.session-alert-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.session-alert-desc strong {
    color: #fff;
}

/* --- TARJETA DE CRÉDITO VIRTUAL --- */
.virtual-card-wrapper {
    perspective: 1000px;
    width: 320px;
    height: 190px;
    margin: 0 auto 30px auto;
}

.virtual-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.virtual-card.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-body);
}

.card-face.front {
    background: linear-gradient(135deg, rgba(3, 21, 72, 0.8) 0%, rgba(20, 10, 48, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-face.front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(73, 230, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 18px;
    pointer-events: none;
}

.card-face.back {
    background: linear-gradient(135deg, rgba(20, 10, 48, 0.9) 0%, rgba(3, 21, 72, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotateY(180deg);
    padding: 20px 0;
}

/* Elementos Front */
.card-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.card-logo-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.card-logo-text span {
    color: #49ff7d;
}

.card-network-icon {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.card-chip-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.card-chip {
    width: 35px;
    height: 26px;
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    border-radius: 4px;
    position: relative;
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-image: linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.15) 50%),
        linear-gradient(transparent 50%, rgba(255, 255, 255, 0.15) 50%);
    background-size: 6px 6px;
    border-radius: 4px;
}

.card-contactless {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.45);
}

.card-number-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 15px 0 5px 0;
    text-align: left;
}

.card-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    text-align: left;
}

.card-meta-group {
    display: flex;
    flex-direction: column;
}

.card-meta-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.card-meta-val {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Elementos Back */
.card-magnetic-strip {
    width: 100%;
    height: 38px;
    background: #000;
    margin-top: 10px;
}

.card-signature-area {
    width: 90%;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    margin: 15px auto 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 12px;
    border-radius: 4px;
}

.card-cvv-display {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
    letter-spacing: 1px;
}

.card-back-meta {
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
    padding: 0 25px;
    text-align: center;
    margin-top: 15px;
}

/* Pasos Secuenciales */
.form-step-section {
    margin-bottom: 30px;
    text-align: left;
}

.form-step-section.hidden {
    display: none;
}

.form-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.form-step-badge {
    background: rgba(73, 255, 125, 0.1);
    border: 1px solid rgba(73, 255, 125, 0.25);
    color: #49ff7d;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.form-step-header h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

/* Checkout Responsivo */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   Estilos de Modo Claro Premium (.light-theme)
   ========================================================================== */

:root.light-theme {
    --bg-dark: hsl(230, 30%, 96%) !important;
    --bg-card: hsla(230, 30%, 100%, 0.7) !important;
    --bg-card-hover: hsla(230, 30%, 100%, 0.9) !important;
    --border-color: hsla(230, 25%, 10%, 0.08) !important;
    --border-hover: hsla(270, 70%, 60%, 0.15) !important;

    /* Controlador Global de Colores de Acento (Modo Claro) */
    --theme-neon-green: #15803d !important;
    --theme-neon-cyan: #0284c7 !important;
    --theme-lock-warning: #ea580c !important;
    --theme-neon-green-glow: 0 0 6px rgba(21, 128, 61, 0.4) !important;
    --theme-btn-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;

    --text-main: hsl(230, 25%, 12%) !important;
    --text-muted: hsl(230, 15%, 45%) !important;
    --text-dark: hsl(230, 30%, 98%) !important;

    --bg-dark-blue: radial-gradient(circle at 50% 50%, #f4f6fc 0%, #e2e8f0 100%) !important;
}

/* Overrides de fondo del wrapper de Dashboard y Checkout en Light Mode */
.light-theme .db-wrapper,
.light-theme .checkout-wrapper {
    background: radial-gradient(circle at 50% 50%, #f4f6fc 0%, #cbd5e1 100%) !important;
}

/* Modificaciones de visualización en componentes de Dashboard */
.light-theme .db-sidebar {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.light-theme .db-content-pane {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.light-theme .db-profile-name,
.light-theme .db-profile-specialty {
    color: #0c1530 !important;
}

.light-theme .db-profile-specialty {
    opacity: 0.7;
}

.light-theme .db-nav-item {
    color: rgba(0, 0, 0, 0.65) !important;
}

.light-theme .db-nav-item:hover {
    background: rgba(0, 0, 0, 0.02) !important;
    color: #000 !important;
}

.light-theme .db-nav-item.active {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #15803d !important;
    border-color: rgba(34, 197, 94, 0.15) !important;
}

.light-theme .db-pane-header h2,
.light-theme .stat-card-value,
.light-theme .next-class-banner h3,
.light-theme .next-class-banner p,
.light-theme .course-body-db h4,
.light-theme .diploma-left h4,
.light-theme .event-card-db h4,
.light-theme .event-date,
.light-theme .form-section-header h3,
.light-theme .db-lock-card h3 {
    color: #0c1530 !important;
}

.light-theme .stat-card,
.light-theme .course-card-db,
.light-theme .diploma-row,
.light-theme .event-card-db,
.light-theme .checkout-summary-card,
.light-theme .checkout-form-card,
.light-theme .checkout-plan-selector {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
}

.light-theme .stat-card:hover,
.light-theme .course-card-db:hover,
.light-theme .diploma-row:hover,
.light-theme .event-card-db:hover {
    border-color: rgba(73, 230, 255, 0.4) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Modificaciones de visualización en formularios de cuenta */
.light-theme .auth-input {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #000 !important;
}

.light-theme .auth-input::placeholder {
    color: rgba(0, 0, 0, 0.35) !important;
}

.light-theme .auth-input:focus {
    border-color: #22c55e !important;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.2) !important;
    background: #fff !important;
}

.light-theme .auth-field-label {
    color: #0c1530 !important;
}

.light-theme .auth-input-icon {
    color: rgba(0, 0, 0, 0.4) !important;
}

.light-theme .db-lock-card {
    background: rgba(0, 0, 0, 0.01) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* --- Estilos del Banner Informativo de Certificaciones --- */
.db-cert-banner {
    border-radius: 16px;
    padding: 18px 24px;
    margin-bottom: 25px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.db-cert-banner.estandar {
    background: rgba(73, 255, 125, 0.06);
    border: 1px solid rgba(73, 255, 125, 0.2);
}

.db-cert-banner.estandar h4 {
    color: #49ff7d;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.db-cert-banner.estandar .db-cert-count {
    background: rgba(73, 255, 125, 0.15);
    border: 1px solid rgba(73, 255, 125, 0.3);
    color: #49ff7d;
}

.db-cert-banner.pro {
    background: rgba(73, 230, 255, 0.06);
    border: 1px solid rgba(73, 230, 255, 0.2);
}

.db-cert-banner.pro h4 {
    color: #49e6ff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.db-cert-banner.pro .db-cert-count {
    background: rgba(73, 230, 255, 0.15);
    border: 1px solid rgba(73, 230, 255, 0.3);
    color: #49e6ff;
}

.db-cert-count {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Ajustes y Correcciones Visuales para Modo Claro & Dashboard Espacioso
   ========================================================================== */

/* 1. Incrementar el ancho de la cabina de perfil para que sea inmersiva y de pantalla completa */
.db-layout-container {
    max-width: 1440px !important;
    width: 95% !important;
}

/* 2. Forzar que el envoltorio del portal cubra todo el viewport, previniendo bandas blancas */
.db-wrapper {
    min-height: 100vh !important;
}

/* 3. Evitar que el Nav y el Footer cambien sus colores premium oscuros en modo claro */
.light-theme .main-header {
    background: #070926 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.light-theme .main-header .logo {
    color: #fff !important;
}

.light-theme .main-header .nav-links a {
    color: rgba(255, 255, 255, 0.65) !important;
}

.light-theme .main-header .nav-links a:hover,
.light-theme .main-header .nav-links a.active {
    color: #49ff7d !important;
}

.light-theme .main-header .nav-welcome-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.light-theme .main-footer {
    background: rgba(10, 11, 16, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.light-theme .main-footer p {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* 4. Mejorar el contraste de la inicial del Avatar en modo claro (reemplazar verde claro por verde esmeralda legible) */
.light-theme .db-avatar-text {
    color: #16a34a !important;
    /* Verde esmeralda de alta legibilidad */
    text-shadow: none !important;
}

/* Asegurar que el fondo del avatar en modo claro tenga excelente legibilidad */
.light-theme .db-avatar-wrapper {
    background: rgba(22, 163, 74, 0.1) !important;
    border-color: rgba(22, 163, 74, 0.25) !important;
}

/* 5. Reemplazo sistemático de colores neón (#49ff7d y #49e6ff) en Modo Claro para Alta Legibilidad (Dashboard únicamente) */

/* active-estandar (badge verde claro en el sidebar) -> verde esmeralda */
.light-theme .db-sub-badge.active-estandar {
    background: rgba(22, 163, 74, 0.08) !important;
    border: 1px solid rgba(22, 163, 74, 0.25) !important;
    color: #15803d !important;
    box-shadow: none !important;
}

/* active-pro (badge celeste neón en el sidebar) -> azul cobalto */
.light-theme .db-sub-badge.active-pro {
    background: rgba(2, 132, 199, 0.08) !important;
    border: 1px solid rgba(2, 132, 199, 0.25) !important;
    color: #0284c7 !important;
    box-shadow: none !important;
}

/* progress fill and percent */
.light-theme .progress-bar-percent {
    color: #15803d !important;
}

.light-theme .progress-bar-fill {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}

/* Botón lime dentro del cockpit (guardar, descargar, unirse) -> verde esmeralda y sin auras molestas */
.light-theme .db-content-pane .btn-lime {
    background: #16a34a !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
    text-shadow: none !important;
}

.light-theme .db-content-pane .btn-lime:hover {
    background: #15803d !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35) !important;
}

/* Banner de clase en vivo - Botón de zoom */
.light-theme .db-content-pane .next-class-banner .class-zoom-btn {
    background: #15803d !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35) !important;
}

/* Banners del plan de certificaciones (Cupo Estándar y Premium Pro) en Modo Claro */
.light-theme .db-cert-banner.estandar {
    background: rgba(22, 163, 74, 0.06) !important;
    border: 1px solid rgba(22, 163, 74, 0.2) !important;
}

.light-theme .db-cert-banner.estandar h4 {
    color: #15803d !important;
}

.light-theme .db-cert-banner.estandar .db-cert-count {
    background: rgba(22, 163, 74, 0.1) !important;
    border: 1px solid rgba(22, 163, 74, 0.25) !important;
    color: #15803d !important;
}

.light-theme .db-cert-banner.pro {
    background: rgba(2, 132, 199, 0.06) !important;
    border: 1px solid rgba(2, 132, 199, 0.2) !important;
}

.light-theme .db-cert-banner.pro h4 {
    color: #0284c7 !important;
}

.light-theme .db-cert-banner.pro .db-cert-count {
    background: rgba(2, 132, 199, 0.1) !important;
    border: 1px solid rgba(2, 132, 199, 0.25) !important;
    color: #0284c7 !important;
}

/* Icono en los títulos de secciones del formulario */
.light-theme .form-section-header h3 i {
    color: #15803d !important;
}

/* Alertas de éxito y error con alto contraste */
.light-theme .auth-success-alert {
    background: rgba(22, 163, 74, 0.06) !important;
    border: 1px solid rgba(22, 163, 74, 0.2) !important;
    color: #15803d !important;
}

/* Candados Glowing de bloqueo en Modo Claro */
.light-theme .db-lock-card .db-lock-icon {
    color: #ea580c !important;
    /* Naranja oscuro para contraste */
    text-shadow: none !important;
}

.light-theme .db-lock-card .db-lock-circle {
    background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%) !important;
}

/* Teaser upgrades banner */
.light-theme .upgrade-teaser-banner {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.06) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
    border: 1px solid rgba(22, 163, 74, 0.15) !important;
}

.light-theme .upgrade-teaser-icon {
    color: #15803d !important;
}

.light-theme .db-nav-item.active {
    background: rgba(22, 163, 74, 0.08) !important;
    color: #15803d !important;
    border-color: rgba(22, 163, 74, 0.2) !important;
}

.light-theme .db-nav-item.active .db-nav-icon {
    color: #15803d !important;
}

/* Overrides Adicionales para Modo Claro (Legibilidad y Dropdowns) */

/* 1. Stat Card Icons and Badges */
.light-theme .stat-card-icon {
    color: #15803d !important;
}

/* 2. Course Badge Live and Timeline indicator */
.light-theme .course-badge-live {
    background: rgba(22, 163, 74, 0.08) !important;
    border: 1px solid rgba(22, 163, 74, 0.25) !important;
    color: #15803d !important;
    text-shadow: none !important;
}

.light-theme .course-badge-completed {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #0c1530 !important;
}

.light-theme .timeline-event.active::before {
    background: #15803d !important;
    box-shadow: 0 0 6px rgba(21, 128, 61, 0.4) !important;
}

.light-theme .db-timeline::before {
    background: rgba(0, 0, 0, 0.08) !important;
}

.light-theme .timeline-event::before {
    background: rgba(0, 0, 0, 0.2) !important;
}

/* 3. Amount Glow */
.light-theme .checkout-price-item.total .amount-glow {
    color: #15803d !important;
    text-shadow: none !important;
}

/* 4. Checkout Plan Benefits */
.light-theme .checkout-plan-benefits {
    background: rgba(0, 0, 0, 0.01) !important;
    border: 1px dashed rgba(0, 0, 0, 0.08) !important;
}

.light-theme .checkout-benefit-item {
    color: #1e293b !important;
}

.light-theme .checkout-benefit-icon {
    color: #15803d !important;
}

/* 5. Checkout Lock Icon & Active Session alert */
.light-theme .secure-lock-icon {
    color: #15803d !important;
    text-shadow: none !important;
}

.light-theme .checkout-ssl-info {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.light-theme .checkout-ssl-info p {
    color: #475569 !important;
}

.light-theme .checkout-session-alert {
    background: rgba(2, 132, 199, 0.06) !important;
    border: 1px solid rgba(2, 132, 199, 0.2) !important;
}

.light-theme .session-alert-icon {
    color: #0284c7 !important;
    text-shadow: none !important;
}

.light-theme .session-alert-title {
    color: #0c1530 !important;
}

.light-theme .session-alert-desc {
    color: #475569 !important;
}

.light-theme .session-alert-desc strong {
    color: #0c1530 !important;
}

/* 6. Form Step Badge */
.light-theme .form-step-badge {
    background: rgba(22, 163, 74, 0.08) !important;
    border: 1px solid rgba(22, 163, 74, 0.25) !important;
    color: #15803d !important;
}

.light-theme .form-step-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.light-theme .form-step-header h4 {
    color: #0c1530 !important;
}

/* 7. Dropdown Select Containers (reemplazar select oscuros) */
.light-theme .auth-select {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #0c1530 !important;
}

.light-theme .auth-select option {
    background: #ffffff !important;
    color: #0c1530 !important;
}

.light-theme .auth-input-wrapper::after {
    color: rgba(0, 0, 0, 0.45) !important;
}

.light-theme .auth-input-wrapper:focus-within::after {
    color: #15803d !important;
}

.light-theme .plan-select-dropdown {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #0c1530 !important;
}

.light-theme .plan-select-dropdown:focus {
    border-color: #15803d !important;
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.2) !important;
}

.light-theme .plan-select-dropdown option {
    background: #ffffff !important;
    color: #0c1530 !important;
}

/* 8. Fix White Text Loss in panels/checkout */
.light-theme .checkout-summary-card h3,
.light-theme .checkout-form-card h3 {
    color: #0c1530 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.light-theme .checkout-price-item.total {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0c1530 !important;
}

/* Next Live Class Banner Background Legibility */
.light-theme .next-class-banner {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
    border-color: rgba(22, 163, 74, 0.15) !important;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.05) !important;
}

/* 9. Global button override (remove selector constraint of dashboard content pane) */
.light-theme .btn-lime {
    background: #16a34a !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
    text-shadow: none !important;
}

.light-theme .btn-lime:hover {
    background: #15803d !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35) !important;
}

/* Inmunidad Total para el Modal de Login y Registro (no debe verse afectado por el Modo Claro) */
.light-theme .auth-modal-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 12, 30, 0.98) 100%) !important;
    border: 1px solid rgba(73, 230, 255, 0.18) !important;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 45px rgba(73, 230, 255, 0.15) !important;
}

.light-theme .auth-modal-box .auth-logo {
    color: #fff !important;
}

.light-theme .auth-modal-box .auth-tagline {
    color: rgba(255, 255, 255, 0.6) !important;
}

.light-theme .auth-modal-box .auth-tab-btn {
    color: rgba(255, 255, 255, 0.6) !important;
}

.light-theme .auth-modal-box .auth-tab-btn.active {
    background: rgba(73, 255, 125, 0.12) !important;
    color: #49ff7d !important;
    box-shadow: inset 0 0 10px rgba(73, 255, 125, 0.15) !important;
    border: 1px solid rgba(73, 255, 125, 0.2) !important;
}

.light-theme .auth-modal-box .auth-field-label {
    color: var(--text-muted) !important;
}

.light-theme .auth-modal-box .auth-forgot-link {
    color: #49e6ff !important;
}

.light-theme .auth-modal-box .auth-forgot-link:hover {
    color: #fff !important;
}

.light-theme .auth-modal-box .auth-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.light-theme .auth-modal-box .auth-input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.light-theme .auth-modal-box .auth-input:focus {
    border-color: #49ff7d !important;
    box-shadow: 0 0 10px rgba(73, 255, 125, 0.25) !important;
    background: rgba(0, 0, 0, 0.4) !important;
}

.light-theme .auth-modal-box .auth-input-icon {
    color: rgba(255, 255, 255, 0.4) !important;
}

.light-theme .auth-modal-box .auth-input-wrapper::after {
    color: rgba(255, 255, 255, 0.35) !important;
}

.light-theme .auth-modal-box .auth-input-wrapper:focus-within::after {
    color: #49ff7d !important;
}

.light-theme .auth-modal-box .auth-select option {
    background: #0d1222 !important;
    color: #fff !important;
}

.light-theme .auth-modal-box .auth-checkbox-text {
    color: rgba(255, 255, 255, 0.65) !important;
}

.light-theme .auth-modal-box .auth-checkbox-custom {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.light-theme .auth-modal-box .auth-error-alert {
    background: rgba(255, 73, 73, 0.1) !important;
    border: 1px solid rgba(255, 73, 73, 0.25) !important;
    color: #ff6b6b !important;
}

.light-theme .auth-modal-box .btn-lime {
    background: #49ff7d !important;
    color: #0c1530 !important;
    box-shadow: 0 0 20px rgba(73, 255, 125, 0.35) !important;
}

.light-theme .auth-modal-box .btn-lime:hover {
    background: #3cfc73 !important;
    box-shadow: 0 0 30px rgba(73, 255, 125, 0.55) !important;
}

.light-theme .checkout-benefits-title {
    color: #0c1530 !important;
}