/* Estilo para el botón de mostrar contraseña */
.btn-show-pass {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: none !important; /* Para que se una al input */
    color: rgba(255, 255, 255, 0.6) !important;
    border-radius: 0 15px 15px 0 !important; /* Redondeado solo a la derecha */
    transition: 0.3s;
}

    .btn-show-pass:hover {
        color: #00d2ff !important;
    }

/* Ajuste para el input para que no tenga borde redondeado a la derecha */
.cyber-input#password {
    border-radius: 15px 0 0 15px !important;
}
:root {
    --pg-blue: #004a99;
    --pg-cyan: #00d2ff;
    --dark-deep: #050a0f;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}
body#page-top {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-deep);
    color: white;
    margin: 0;
    overflow-x: hidden;
}
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-deep);
    color: white;
    margin: 0;
    overflow-x: hidden;
}

/* --- NAVBAR INTERACTIVO (GLASSMORPHISM) --- */
#mainNav {
    padding: 1.5rem 0;
    /* Bajamos de 0.5s a 0.2s y usamos una curva más simple */
    transition: all 0.1s ease-out;
    background: transparent !important;
    z-index: 1000;
}

    #mainNav.navbar-shrink {
        padding: 0.8rem 0;
        background: rgba(5, 10, 15, 0.8) !important;
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--glass-border);
    }

.navbar-brand img {
    height: 40px;
    transition: transform 0.3s;
}

.nav-link {
    font-weight: 600 !important;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7) !important;
    margin: 0 12px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: var(--pg-cyan) !important;
    }

.btn-nav-login {
    background: var(--pg-cyan);
    color: var(--dark-deep) !important;
    border-radius: 12px;
    padding: 10px 25px !important;
    font-weight: 800 !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
}

    .btn-nav-login:hover {
        transform: scale(1.05);
        box-shadow: 0 0 30px var(--pg-cyan);
    }

/* --- CONTENEDOR PRINCIPAL --- */
main {
    min-height: 80vh;
}

/* --- SECCIÓN CONTACTO INTERACTIVA (CARDS) --- */
.contact-section {
    background: var(--dark-deep);
    padding: 100px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.contact-card-pro {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

    .contact-card-pro:hover {
        transform: translateY(-15px);
        background: rgba(255, 255, 255, 0.06);
        border-color: var(--pg-cyan);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--pg-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.contact-card-pro:hover .icon-circle {
    background: var(--pg-cyan);
    color: var(--dark-deep);
    box-shadow: 0 0 20px var(--pg-cyan);
}

.contact-card-pro h5 {
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.contact-card-pro p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.contact-card-pro a {
    color: var(--pg-cyan);
    text-decoration: none;
    font-weight: 600;
}

/* --- FOOTER MODERNO --- */
.footer-modern {
    background: #03070a;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    max-width: 180px;
    transition: 0.3s;
}

    .footer-logo:hover {
        opacity: 1;
    }

/* --- BOTÓN WHATSAPP FLOTANTE --- */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}

    .whatsapp-fixed:hover {
        transform: scale(1.1) rotate(10deg);
        color: white;
    }



/* 1. Reset y Contenedor Principal (Respetando el Nav del Layout) */
#dynamic-register-section {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 110vh; /* Un poco más alto para el formulario largo */
    overflow: hidden;
    padding: 100px 20px; /* Espacio para el navbar y respiro abajo */
}

/* 2. Fondo Dinámico Triple Capa (Idéntico al Inicio) */
.base-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #001f3f, #004a99, #001122, #0072ce);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    z-index: -3;
}

.promo-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/header.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    mix-blend-mode: luminosity;
    z-index: -2;
}

.light-spots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.15) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(58, 123, 213, 0.15) 0%, transparent 40%);
    z-index: -1;
}

@@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 3. Tarjeta Hyper-Glass Grande */
.hyper-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 3.5rem;
    width: 100%;
    max-width: 1000px; /* Formulario ancho */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    color: white;
}

/* 4. Estética de Inputs (Efecto Hundido / Inset) */
.form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #00d2ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    margin-left: 5px;
    display: block;
}

.custom-input-group {
    position: relative;
    margin-bottom: 20px;
}

    .custom-input-group input {
        width: 100%;
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 14px 20px;
        color: #fff;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        box-shadow: inset 2px 2px 8px rgba(0,0,0,0.4); /* Efecto relieve interno */
    }

        .custom-input-group input:focus {
            background: rgba(255, 255, 255, 0.05);
            border-color: #00d2ff;
            box-shadow: 0 0 15px rgba(0, 210, 255, 0.3), inset 2px 2px 8px rgba(0,0,0,0.2);
            outline: none;
        }

/* 5. Botón Premium con Resplandor */
.btn-procter-register {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 50px;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.4);
}

    .btn-procter-register:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0, 210, 255, 0.6);
        filter: brightness(1.1);
    }

/* Checkbox personalizado */
.form-check-input {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid #00d2ff;
}

    .form-check-input:checked {
        background-color: #00d2ff;
        border-color: #00d2ff;
    }

.info-footer {
    margin-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Contenedor Principal: Ocupa el 100% del ancho del main */
.login-hero-container {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Se ajusta para dejar ver el footer abajo */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Bordes redondeados opcionales para que se vea como una sección premium */
    border-radius: 0;
    margin-top: 1rem;
}

/* CAPA 1: Fondo Azul Animado */
.ocean-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #001f3f, #004a99, #0072ce, #001122);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
    z-index: -5; /* Por encima de la imagen, pero por debajo del contenido */
    opacity: 0.8; /* Ajusta esto para que brille más o menos */
}

/* CAPA 2: Tu imagen header.jpg (A todo el ancho) */
.promo-header-img {
    position: fixed; /* Fixed para que cubra todo el viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/header.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1; /* Colores originales */
    mix-blend-mode: normal; /* Sin mezclas raras */
    z-index: -10; /* Lo más al fondo posible */
}

@@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* TARJETA DE CRISTAL (Glassmorphism con alto relieve) */
.glass-login-card {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 450px;
    padding: 3.5rem 2.5rem;
    border-radius: 35px;
    color: white;
    text-align: center;
    overflow: hidden; /* Crucial para que el azul no se salga de las esquinas */
    /* Efecto Cristal */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

    /* El fondo azul animado exclusivo de la tarjeta */
    .glass-login-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* Tu degradado original */
        background: linear-gradient(-45deg, #001f3f, #004a99, #0072ce, #001122);
        background-size: 400% 400%;
        animation: gradientMove 10s ease infinite;
        /* Opacidad para que sea traslúcido y no tape los textos */
        opacity: 0.6;
        z-index: -1; /* Se coloca detrás del contenido (logo, inputs, botones) */
    }

    /* Asegura que el contenido interno esté por encima del azul */
    .glass-login-card > * {
        position: relative;
        z-index: 1;
    }

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Estilos de Input Modernos */
.cyber-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    color: white !important;
    padding: 12px 15px !important;
    transition: 0.3s;
}

    .cyber-input:focus {
        border-color: #00d2ff !important;
        box-shadow: 0 0 15px rgba(0, 210, 255, 0.4) !important;
        background: rgba(0, 0, 0, 0.4) !important;
    }

/* Botón Premium */
.btn-pg-gold {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    border: none;
    border-radius: 15px;
    padding: 15px;
    width: 100%;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
}

    .btn-pg-gold:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0, 210, 255, 0.5);
    }

.procter-logo-top {
    max-width: 220px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}
/* 1. Reset y Contenedor Principal (Consistente con Inicio y Registro) */
#dynamic-forgot-section {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    padding: 20px;
}

/* 2. Fondo Dinámico Triple Capa */
.base-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #001f3f, #004a99, #001122, #0072ce);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    z-index: -3;
}

.promo-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/header.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mix-blend-mode: luminosity;
    z-index: -2;
}

.light-spots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 210, 255, 0.1) 0%, transparent 40%), radial-gradient(circle at 70% 70%, rgba(58, 123, 213, 0.1) 0%, transparent 40%);
    z-index: -1;
}

@@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 3. Tarjeta Hyper-Glass Compacta */
.forgot-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 3.5rem 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
}

/* 4. Estética de Inputs (Efecto Inset) */
.form-label-cyber {
    font-weight: 600;
    font-size: 0.8rem;
    color: #00d2ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.custom-input-group {
    position: relative;
    margin-bottom: 25px;
}

    .custom-input-group input {
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 16px 20px;
        color: #fff;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: inset 2px 2px 8px rgba(0,0,0,0.4);
        outline: none;
    }

        .custom-input-group input:focus {
            border-color: #00d2ff;
            box-shadow: 0 0 15px rgba(0, 210, 255, 0.3), inset 2px 2px 8px rgba(0,0,0,0.2);
        }

/* 5. Botón Premium */
.btn-forgot-cyber {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border: none;
    border-radius: 15px;
    padding: 16px;
    width: 100%;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
}

    .btn-forgot-cyber:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0, 210, 255, 0.6);
        filter: brightness(1.1);
    }

.back-to-login {
    margin-top: 25px;
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

    .back-to-login:hover {
        color: #00d2ff;
    }