/* =========================================================
   CASLA - SISTEMA DE ACCESO
   Login / Registro / Recuperación
   ========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --azul-casla: #0878d1;
    --azul-oscuro: #04549a;
    --azul-profundo: #032f55;

    --azul-claro: #eaf6ff;

    --blanco: #ffffff;

    --texto: #18344d;
    --texto-suave: #70869a;

    --rojo: #e74c3c;

    --sombra:
        0 25px 60px rgba(0, 67, 120, 0.18);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--texto);

    overflow-x: hidden;
}


/* =========================================================
   FONDO
========================================================= */

.fondo-login {
    position: fixed;

    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(8, 120, 209, 0.18),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(4, 84, 154, 0.18),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #f7fcff,
            #e9f6ff
        );
}


/* =========================================================
   BURBUJAS DECORATIVAS
========================================================= */

.burbuja {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);

    opacity: 0.45;

    animation:
        flotar 8s ease-in-out infinite;
}


.burbuja-1 {
    width: 280px;
    height: 280px;

    background:
        rgba(8, 120, 209, 0.15);

    top: -100px;
    left: -80px;
}


.burbuja-2 {
    width: 200px;
    height: 200px;

    background:
        rgba(0, 164, 255, 0.12);

    bottom: 5%;
    right: 5%;

    animation-delay: 2s;
}


.burbuja-3 {
    width: 100px;
    height: 100px;

    background:
        rgba(8, 120, 209, 0.13);

    top: 40%;
    right: 30%;

    animation-delay: 4s;
}


@keyframes flotar {

    0%,
    100% {
        transform:
            translateY(0)
            scale(1);
    }

    50% {
        transform:
            translateY(-25px)
            scale(1.05);
    }
}


/* =========================================================
   CONTENEDOR PRINCIPAL LOGIN
========================================================= */

.login-contenedor {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, 0.95fr);

    max-width: 1250px;

    margin: auto;

    padding: 45px;

    align-items: center;

    gap: 50px;
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.login-presentacion {
    animation:
        aparecerIzquierda 0.8s ease forwards;
}


@keyframes aparecerIzquierda {

    from {
        opacity: 0;

        transform:
            translateX(-40px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


.presentacion-contenido {
    max-width: 550px;
}


/* =========================================================
   LOGO CASLA
========================================================= */

.logo-contenedor {
    width: 150px;
    height: 150px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    background:
        transparent;

    border-radius: 30px;

    animation:
        logoEntrada 1s ease;
}


.logo-casla {
    width: 145px;
    height: 145px;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(
            0 12px 20px
            rgba(0, 70, 130, 0.15)
        );

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}


.logo-casla:hover {
    transform:
        scale(1.05)
        translateY(-3px);

    filter:
        drop-shadow(
            0 18px 28px
            rgba(0, 70, 130, 0.22)
        );
}


@keyframes logoEntrada {

    from {
        opacity: 0;

        transform:
            scale(0.7)
            rotate(-8deg);
    }

    to {
        opacity: 1;

        transform:
            scale(1)
            rotate(0);
    }
}


/* =========================================================
   TEXTO PRESENTACIÓN
========================================================= */

.presentacion-contenido h1 {
    font-size:
        clamp(38px, 5vw, 62px);

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 800;

    margin-bottom: 25px;
}


.presentacion-contenido h1 span {
    display: block;

    color:
        var(--azul-casla);
}


.presentacion-contenido > p {
    font-size: 18px;

    line-height: 1.7;

    color:
        var(--texto-suave);

    max-width: 500px;
}


.decoracion-linea {
    width: 75px;
    height: 5px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--azul-casla),
            #55b9f3
        );

    margin:
        30px 0;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.presentacion-info {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}


.presentacion-info div {
    display: flex;

    align-items: center;

    gap: 8px;

    color:
        var(--texto-suave);

    font-size: 14px;
}


.presentacion-info i {
    color:
        var(--azul-casla);
}


/* =========================================================
   PANEL LOGIN
========================================================= */

.login-panel {
    display: flex;

    justify-content: center;

    animation:
        aparecerDerecha 0.8s ease forwards;
}


@keyframes aparecerDerecha {

    from {
        opacity: 0;

        transform:
            translateX(40px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


/* =========================================================
   TARJETA LOGIN
========================================================= */

.login-card {
    width: 100%;

    max-width: 470px;

    padding: 45px;

    background:
        rgba(255, 255, 255, 0.88);

    border:
        1px solid rgba(255, 255, 255, 0.8);

    border-radius: 30px;

    box-shadow:
        var(--sombra);

    backdrop-filter:
        blur(18px);
}


/* =========================================================
   HEADER LOGIN
========================================================= */

.login-header {
    text-align: center;

    margin-bottom: 32px;
}


.icono-login {
    width: 65px;
    height: 65px;

    margin:
        0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    color: white;

    font-size: 25px;

    background:
        linear-gradient(
            135deg,
            var(--azul-casla),
            var(--azul-oscuro)
        );

    box-shadow:
        0 12px 25px
        rgba(8, 120, 209, 0.25);
}


.login-header h2 {
    font-size: 32px;

    font-weight: 800;

    margin-bottom: 7px;
}


.login-header p {
    color:
        var(--texto-suave);

    font-size: 15px;
}


/* =========================================================
   CAMPOS
========================================================= */

.campo {
    margin-bottom: 22px;
}


.campo label {
    display: block;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 9px;
}


.input-contenedor {
    position: relative;
}


.input-contenedor > i:first-child {
    position: absolute;

    left: 17px;

    top: 50%;

    transform:
        translateY(-50%);

    color:
        #8ba4b8;

    transition:
        0.3s;
}


.input-contenedor input {
    width: 100%;

    height: 55px;

    padding:
        0 48px;

    border:
        1.5px solid #dce8f0;

    border-radius: 15px;

    outline: none;

    background:
        #f9fcfe;

    color:
        var(--texto);

    font-size: 15px;

    transition:
        0.3s;
}


.input-contenedor input::placeholder {
    color:
        #a4b4c1;
}


.input-contenedor input:focus {
    border-color:
        var(--azul-casla);

    background:
        white;

    box-shadow:
        0 0 0 4px
        rgba(8, 120, 209, 0.08);
}


.input-contenedor:focus-within
> i:first-child {
    color:
        var(--azul-casla);
}


/* =========================================================
   MOSTRAR CONTRASEÑA
========================================================= */

.password-toggle {
    position: absolute;

    right: 5px;

    top: 5px;

    width: 45px;
    height: 45px;

    border: none;

    background:
        transparent;

    color:
        #8ba4b8;

    cursor: pointer;

    border-radius: 12px;

    transition:
        0.3s;
}


.password-toggle:hover {
    background:
        var(--azul-claro);

    color:
        var(--azul-casla);
}


/* =========================================================
   RECUPERAR CONTRASEÑA
========================================================= */

.recuperar {
    text-align: right;

    margin-top: -8px;

    margin-bottom: 25px;
}


.recuperar a {
    color:
        var(--azul-casla);

    font-size: 13px;

    font-weight: 600;

    text-decoration:
        none;
}


.recuperar a:hover {
    text-decoration:
        underline;
}


/* =========================================================
   BOTÓN INGRESAR
========================================================= */

.btn-ingresar {
    width: 100%;

    height: 56px;

    border: none;

    border-radius: 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    color: white;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            var(--azul-casla),
            var(--azul-oscuro)
        );

    box-shadow:
        0 12px 25px
        rgba(8, 120, 209, 0.23);

    transition:
        0.3s;
}


.btn-ingresar:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 17px 30px
        rgba(8, 120, 209, 0.3);
}


.btn-ingresar i {
    transition:
        0.3s;
}


.btn-ingresar:hover i {
    transform:
        translateX(5px);
}


/* =========================================================
   SEPARADOR
========================================================= */

.separador {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 30px 0;

    color:
        #a4b4c1;
}


.separador::before,
.separador::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        #e3edf3;
}


.separador span {
    font-size: 13px;
}


/* =========================================================
   CREAR CUENTA
========================================================= */

.crear-cuenta {
    text-align: center;
}


.crear-cuenta p {
    color:
        var(--texto-suave);

    font-size: 14px;

    margin-bottom: 12px;
}


.crear-cuenta a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        11px 20px;

    border-radius: 12px;

    color:
        var(--azul-casla);

    background:
        var(--azul-claro);

    text-decoration:
        none;

    font-size: 14px;

    font-weight: 700;

    transition:
        0.3s;
}


.crear-cuenta a:hover {
    background:
        #d9efff;

    transform:
        translateY(-2px);
}


/* =========================================================
   REGRESAR
========================================================= */

.regresar {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 25px;

    color:
        var(--texto-suave);

    text-decoration:
        none;

    font-size: 13px;

    transition:
        0.3s;
}


.regresar:hover {
    color:
        var(--azul-casla);
}


/* =========================================================
   MENSAJE DE ERROR
========================================================= */

.mensaje {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    border-radius: 14px;

    margin-bottom: 22px;

    animation:
        mensajeEntrada 0.4s ease;
}


.mensaje-error {
    background:
        #fff1ef;

    border:
        1px solid #ffd6d1;

    color:
        #b9382c;
}


.mensaje-icono {
    font-size: 22px;
}


.mensaje strong {
    display: block;

    font-size: 13px;

    margin-bottom: 2px;
}


.mensaje span {
    display: block;

    font-size: 12px;
}


@keyframes mensajeEntrada {

    from {
        opacity: 0;

        transform:
            translateY(-10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   OVERLAY BIENVENIDA
========================================================= */

.overlay-bienvenida {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(3, 47, 85, 0.55);

    backdrop-filter:
        blur(10px);

    animation:
        overlayEntrada 0.4s ease;
}


.overlay-bienvenida.cerrando {
    animation:
        overlaySalida 0.4s ease forwards;
}


@keyframes overlayEntrada {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes overlaySalida {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


/* =========================================================
   TARJETA BIENVENIDA
========================================================= */

.bienvenida-card {
    width: 100%;

    max-width: 430px;

    padding:
        45px 35px;

    text-align: center;

    border-radius: 30px;

    background:
        white;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.22);

    animation:
        bienvenidaEntrada 0.6s
        cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


@keyframes bienvenidaEntrada {

    from {
        opacity: 0;

        transform:
            scale(0.75)
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            scale(1)
            translateY(0);
    }
}


/* =========================================================
   CHECK BIENVENIDA
========================================================= */

.check-bienvenida {
    width: 82px;
    height: 82px;

    margin:
        0 auto 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:
        white;

    font-size: 34px;

    background:
        linear-gradient(
            135deg,
            #0fa968,
            #087d52
        );

    box-shadow:
        0 12px 30px
        rgba(15, 169, 104, 0.25);

    animation:
        checkEntrada 0.7s
        0.2s both;
}


@keyframes checkEntrada {

    from {
        transform:
            scale(0)
            rotate(-90deg);
    }

    to {
        transform:
            scale(1)
            rotate(0);
    }
}


.bienvenida-card h2 {
    font-size: 28px;

    font-weight: 800;

    margin-bottom: 10px;

    color:
        var(--texto);
}


.bienvenida-card p {
    font-size: 16px;

    color:
        var(--texto);

    margin-bottom: 6px;
}


.bienvenida-card > span {
    display: block;

    color:
        var(--texto-suave);

    font-size: 13px;
}


/* =========================================================
   BOTÓN CONTINUAR
========================================================= */

.btn-continuar {
    margin-top: 25px;

    border: none;

    padding:
        12px 28px;

    border-radius: 12px;

    color:
        white;

    background:
        var(--azul-casla);

    font-weight: 700;

    cursor: pointer;

    transition:
        0.3s;
}


.btn-continuar:hover {
    transform:
        translateY(-2px);

    background:
        var(--azul-oscuro);
}


/* =========================================================
   ANIMACIÓN DE CARGA
========================================================= */

.cargando {
    display: flex;

    justify-content: center;

    gap: 6px;

    margin-top: 25px;
}


.cargando span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        var(--azul-casla);

    animation:
        puntos 1.2s infinite;
}


.cargando span:nth-child(2) {
    animation-delay:
        0.15s;
}


.cargando span:nth-child(3) {
    animation-delay:
        0.3s;
}


@keyframes puntos {

    0%,
    60%,
    100% {
        transform:
            translateY(0);

        opacity:
            0.35;
    }

    30% {
        transform:
            translateY(-7px);

        opacity:
            1;
    }
}


/* =========================================================
   LOGIN - TABLET
========================================================= */

@media (max-width: 950px) {

    .login-contenedor {
        grid-template-columns: 1fr;

        max-width: 600px;

        padding:
            35px 25px;
    }


    .login-presentacion {
        text-align: center;
    }


    .presentacion-contenido {
        max-width: 600px;

        margin:
            auto;
    }


    .logo-contenedor {
        margin:
            0 auto 25px;
    }


    .presentacion-contenido h1 {
        font-size: 42px;
    }


    .decoracion-linea {
        margin:
            25px auto;
    }


    .presentacion-info {
        justify-content:
            center;
    }
}


/* =========================================================
   LOGIN - CELULARES
========================================================= */

@media (max-width: 600px) {

    body {
        background:
            #f4faff;
    }


    .login-contenedor {
        min-height: 100vh;

        padding:
            25px 16px;

        gap:
            25px;
    }


    .login-presentacion {
        display:
            block;
    }


    .logo-contenedor {
        width: 100px;
        height: 100px;

        margin:
            0 auto 20px;
    }


    .logo-casla {
        width: 95px;
        height: 95px;
    }


    .presentacion-contenido h1 {
        font-size:
            31px;

        letter-spacing:
            -1px;

        margin-bottom:
            14px;
    }


    .presentacion-contenido > p {
        font-size:
            14px;

        line-height:
            1.5;
    }


    .decoracion-linea {
        margin:
            18px auto;
    }


    .presentacion-info {
        display:
            none;
    }


    .login-card {
        padding:
            30px 22px;

        border-radius:
            24px;
    }


    .login-header {
        margin-bottom:
            25px;
    }


    .icono-login {
        width: 55px;
        height: 55px;

        border-radius:
            17px;

        font-size:
            21px;
    }


    .login-header h2 {
        font-size:
            27px;
    }


    .campo {
        margin-bottom:
            18px;
    }


    .input-contenedor input {
        height:
            53px;

        font-size:
            14px;
    }


    .btn-ingresar {
        height:
            54px;
    }


    .bienvenida-card {
        padding:
            38px 25px;

        border-radius:
            25px;
    }


    .check-bienvenida {
        width: 72px;
        height: 72px;

        font-size:
            29px;
    }


    .bienvenida-card h2 {
        font-size:
            24px;
    }
}


/* =========================================================
   CELULARES MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .login-contenedor {
        padding:
            18px 12px;
    }


    .presentacion-contenido h1 {
        font-size:
            27px;
    }


    .login-card {
        padding:
            25px 18px;
    }
}


/* =========================================================
   REGISTRO
========================================================= */

.registro-contenedor {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(520px, 1fr);

    max-width: 1250px;

    margin: auto;

    padding: 40px;

    align-items: center;

    gap: 50px;
}


/* =========================================================
   PRESENTACIÓN DEL REGISTRO
========================================================= */

.registro-presentacion {
    animation:
        aparecerIzquierda 0.8s ease forwards;
}


.registro-beneficios {
    display: flex;

    flex-direction: column;

    gap: 16px;
}


.registro-beneficios div {
    display: flex;

    align-items: center;

    gap: 12px;

    color:
        var(--texto-suave);

    font-size: 15px;
}


.registro-beneficios i {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color:
        var(--azul-casla);

    background:
        var(--azul-claro);
}


/* =========================================================
   PANEL REGISTRO
========================================================= */

.registro-panel {
    display: flex;

    justify-content: center;

    animation:
        aparecerDerecha 0.8s ease forwards;
}


.registro-card {
    width: 100%;

    max-width: 560px;

    padding: 42px;

    background:
        rgba(255, 255, 255, 0.90);

    border:
        1px solid rgba(255, 255, 255, 0.85);

    border-radius: 30px;

    box-shadow:
        var(--sombra);

    backdrop-filter:
        blur(18px);
}


/* =========================================================
   ENCABEZADO REGISTRO
========================================================= */

.registro-header {
    text-align: center;

    margin-bottom: 28px;
}


.icono-registro {
    width: 62px;
    height: 62px;

    margin:
        0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 19px;

    color: white;

    font-size: 23px;

    background:
        linear-gradient(
            135deg,
            var(--azul-casla),
            var(--azul-oscuro)
        );

    box-shadow:
        0 12px 25px
        rgba(8, 120, 209, 0.25);
}


.registro-header h2 {
    font-size: 30px;

    font-weight: 800;

    margin-bottom: 6px;
}


.registro-header p {
    color:
        var(--texto-suave);

    font-size: 14px;
}


/* =========================================================
   FORMULARIO REGISTRO
========================================================= */

.formulario-registro {
    width: 100%;
}


.fila-formulario {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}


.formulario-registro .campo {
    margin-bottom: 17px;
}


.formulario-registro .input-contenedor input {
    height: 52px;

    padding-left: 46px;

    padding-right: 45px;
}


.formulario-registro
.input-contenedor
> i:first-child {
    left: 16px;
}


/* =========================================================
   BOTÓN REGISTRAR
========================================================= */

.btn-registrar {
    width: 100%;

    height: 55px;

    margin-top: 5px;

    border: none;

    border-radius: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            var(--azul-casla),
            var(--azul-oscuro)
        );

    box-shadow:
        0 12px 25px
        rgba(8, 120, 209, 0.23);

    transition:
        0.3s;
}


.btn-registrar:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 17px 30px
        rgba(8, 120, 209, 0.30);
}


.btn-registrar i {
    transition:
        0.3s;
}


.btn-registrar:hover i {
    transform:
        translateX(5px);
}


/* =========================================================
   YA TIENES CUENTA
========================================================= */

.ya-cuenta {
    text-align: center;
}


.ya-cuenta p {
    color:
        var(--texto-suave);

    font-size: 14px;

    margin-bottom: 12px;
}


.ya-cuenta a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        11px 20px;

    border-radius: 12px;

    color:
        var(--azul-casla);

    background:
        var(--azul-claro);

    text-decoration:
        none;

    font-size: 14px;

    font-weight: 700;

    transition:
        0.3s;
}


.ya-cuenta a:hover {
    background:
        #d9efff;

    transform:
        translateY(-2px);
}


/* =========================================================
   REGISTRO - TABLET
========================================================= */

@media (max-width: 1050px) {

    .registro-contenedor {
        grid-template-columns:
            1fr;

        max-width:
            650px;

        padding:
            35px 25px;
    }


    .registro-presentacion {
        text-align:
            center;
    }


    .registro-beneficios {
        align-items:
            center;
    }


    .registro-panel {
        width:
            100%;
    }


    .registro-card {
        max-width:
            620px;
    }
}


/* =========================================================
   REGISTRO - CELULAR
========================================================= */

@media (max-width: 600px) {

    .registro-contenedor {
        padding:
            25px 15px;

        gap:
            25px;
    }


    .registro-card {
        padding:
            30px 20px;

        border-radius:
            24px;
    }


    .registro-header {
        margin-bottom:
            24px;
    }


    .icono-registro {
        width:
            55px;

        height:
            55px;

        border-radius:
            17px;

        font-size:
            20px;
    }


    .registro-header h2 {
        font-size:
            27px;
    }


    .fila-formulario {
        grid-template-columns:
            1fr;

        gap:
            0;
    }


    .formulario-registro .campo {
        margin-bottom:
            17px;
    }


    .registro-beneficios {
        display:
            none;
    }


    .btn-registrar {
        height:
            54px;
    }


    /* LOGO EN REGISTRO */
    
    .registro-contenedor .logo-contenedor {
        width:
            100px;

        height:
            100px;

        margin:
            0 auto 20px;
    }


    .registro-contenedor .logo-casla {
        width:
            95px;

        height:
            95px;
    }
}


/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .registro-contenedor {
        padding:
            18px 12px;
    }


    .registro-card {
        padding:
            25px 17px;
    }


    .registro-contenedor .logo-contenedor {
        width:
            90px;

        height:
            90px;
    }


    .registro-contenedor .logo-casla {
        width:
            85px;

        height:
            85px;
    }
}



/* =========================================================
   RECUPERACIÓN DE CONTRASEÑA
========================================================= */

.recuperacion-contenedor {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(450px, 0.9fr);

    max-width: 1250px;

    margin: auto;

    padding: 45px;

    align-items: center;

    gap: 50px;
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.recuperacion-presentacion {
    animation:
        aparecerIzquierda 0.8s ease forwards;
}


.recuperacion-info {
    display: flex;

    flex-direction: column;

    gap: 16px;
}


.recuperacion-info div {
    display: flex;

    align-items: center;

    gap: 12px;

    color:
        var(--texto-suave);

    font-size: 15px;
}


.recuperacion-info i {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color:
        var(--azul-casla);

    background:
        var(--azul-claro);
}


/* =========================================================
   PANEL
========================================================= */

.recuperacion-panel {
    display: flex;

    justify-content: center;

    animation:
        aparecerDerecha 0.8s ease forwards;
}


.recuperacion-card {
    width: 100%;

    max-width: 500px;

    padding: 42px;

    background:
        rgba(255, 255, 255, 0.90);

    border:
        1px solid rgba(255, 255, 255, 0.85);

    border-radius: 30px;

    box-shadow:
        var(--sombra);

    backdrop-filter:
        blur(18px);
}


/* =========================================================
   HEADER
========================================================= */

.recuperacion-header {
    text-align: center;

    margin-bottom: 28px;
}


.icono-recuperacion {
    width: 62px;
    height: 62px;

    margin:
        0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 19px;

    color: white;

    font-size: 23px;

    background:
        linear-gradient(
            135deg,
            var(--azul-casla),
            var(--azul-oscuro)
        );

    box-shadow:
        0 12px 25px
        rgba(8, 120, 209, 0.25);
}


.recuperacion-header h2 {
    font-size: 30px;

    font-weight: 800;

    margin-bottom: 6px;
}


.recuperacion-header p {
    color:
        var(--texto-suave);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   FORMULARIO
========================================================= */

.formulario-recuperacion {
    width: 100%;
}


.formulario-recuperacion .campo {
    margin-bottom: 19px;
}


.formulario-recuperacion
.input-contenedor input {
    height: 54px;

    padding-left: 46px;

    padding-right: 45px;
}


.formulario-recuperacion
.input-contenedor
> i:first-child {
    left: 16px;
}


/* =========================================================
   CAMPOS DESACTIVADOS
========================================================= */

.formulario-recuperacion
.input-contenedor
input:disabled {
    background:
        #f0f6fa;

    color:
        #71889a;

    cursor:
        not-allowed;
}


/* =========================================================
   BOTÓN
========================================================= */

.btn-recuperacion {
    width: 100%;

    height: 55px;

    margin-top: 5px;

    border: none;

    border-radius: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            var(--azul-casla),
            var(--azul-oscuro)
        );

    box-shadow:
        0 12px 25px
        rgba(8, 120, 209, 0.23);

    transition:
        0.3s;
}


.btn-recuperacion:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 17px 30px
        rgba(8, 120, 209, 0.30);
}


.btn-recuperacion i {
    transition:
        0.3s;
}


.btn-recuperacion:hover i {
    transform:
        translateX(5px);
}


/* =========================================================
   VOLVER AL LOGIN
========================================================= */

.volver-login {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    color:
        var(--texto-suave);

    text-decoration:
        none;

    font-size: 13px;

    transition:
        0.3s;
}


.volver-login:hover {
    color:
        var(--azul-casla);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 950px) {

    .recuperacion-contenedor {
        grid-template-columns:
            1fr;

        max-width:
            650px;

        padding:
            35px 25px;
    }


    .recuperacion-presentacion {
        text-align:
            center;
    }


    .recuperacion-info {
        align-items:
            center;
    }


    .recuperacion-panel {
        width:
            100%;
    }


    .recuperacion-card {
        max-width:
            600px;
    }
}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 600px) {

    .recuperacion-contenedor {
        padding:
            25px 15px;

        gap:
            25px;
    }


    .recuperacion-card {
        padding:
            30px 20px;

        border-radius:
            24px;
    }


    .recuperacion-header {
        margin-bottom:
            24px;
    }


    .icono-recuperacion {
        width:
            55px;

        height:
            55px;

        border-radius:
            17px;

        font-size:
            20px;
    }


    .recuperacion-header h2 {
        font-size:
            27px;
    }


    .recuperacion-header p {
        font-size:
            13px;
    }


    .recuperacion-info {
        display:
            none;
    }


    .formulario-recuperacion
    .input-contenedor input {
        height:
            53px;

        font-size:
            14px;
    }


    .btn-recuperacion {
        height:
            54px;
    }
}


/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .recuperacion-contenedor {
        padding:
            18px 12px;
    }


    .recuperacion-card {
        padding:
            25px 17px;
    }
}