/* ============================================================
   FUNOVA Login Premium (scope: layout autenticacion)
   ============================================================ */

.cuerpo-autenticacion {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(201, 160, 78, 0.22), transparent 62%),
        radial-gradient(840px 420px at 92% 112%, rgba(53, 125, 117, 0.22), transparent 60%),
        linear-gradient(145deg, #08161d 0%, #102732 45%, #163643 100%);
}

.cuerpo-autenticacion::before,
.cuerpo-autenticacion::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cuerpo-autenticacion::before {
    width: 560px;
    height: 560px;
    top: -180px;
    right: -200px;
    border: 1px solid rgba(132, 188, 255, 0.16);
    box-shadow:
        0 0 0 24px rgba(132, 188, 255, 0.06),
        0 0 0 56px rgba(132, 188, 255, 0.03);
}

.cuerpo-autenticacion::after {
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: -120px;
    border: 1px solid rgba(201, 160, 78, 0.22);
    box-shadow:
        0 0 0 18px rgba(201, 160, 78, 0.08),
        0 0 0 42px rgba(201, 160, 78, 0.04);
}

.auth-envoltura {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
}

.auth-tarjeta {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 24px 65px rgba(5, 12, 18, 0.45),
        0 8px 22px rgba(12, 26, 38, 0.24);
}

.auth-marca {
    padding: 30px 26px 18px;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background:
        linear-gradient(140deg, #102d3a 0%, #173b49 62%, #1c4f5e 100%);
    border-bottom: 1px solid rgba(210, 230, 242, 0.28);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.auth-logo-img {
    width: 100%;
    max-width: 468px;
    max-height: 120px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.auth-slogan {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    display: block;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(236, 248, 255, 0.9);
    letter-spacing: 0.24px;
}

.auth-titulo {
    margin: 0;
    padding: 24px 32px 14px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #10222d;
    text-align: center;
}

.auth-form {
    padding: 0 32px 24px;
    gap: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.auth-campo {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    align-items: center;
}

.auth-etiqueta {
    font-size: 0.81rem;
    color: #56626f;
    width: 100%;
    text-align: left;
}

.auth-input {
    width: 100%;
    max-width: 420px;
    border-radius: 11px;
    border: 1px solid #d9e3ea;
    background: #fbfdff;
    padding: 12px 13px;
}

.auth-input:focus {
    border-color: #2d7a74;
    box-shadow: 0 0 0 3px rgba(45, 122, 116, 0.14);
}

.auth-boton {
    margin-top: 2px;
    width: 100%;
    max-width: 420px;
    align-self: center;
    border-radius: 11px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #173c48 0%, #1f5f5a 100%);
    box-shadow: 0 8px 18px rgba(24, 71, 84, 0.22);
    font-weight: 700;
}

.auth-boton:hover {
    background: linear-gradient(135deg, #1d4b5a 0%, #27726b 100%);
}

.auth-pie {
    margin: 0;
    padding: 0 32px 22px;
    text-align: center;
    font-size: 0.73rem;
    color: #70808d;
}

.auth-tarjeta .alerta {
    width: calc(100% - 64px);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .auth-envoltura {
        max-width: 470px;
    }
}

@media (max-width: 560px) {
    .auth-envoltura {
        max-width: 100%;
    }
    .auth-marca {
        padding: 24px 18px 14px;
    }
    .auth-logo-img {
        width: 100%;
        max-width: 360px;
        max-height: 92px;
    }
    .auth-titulo {
        padding: 20px 20px 12px;
    }
    .auth-form {
        padding: 0 20px 20px;
    }
    .auth-campo,
    .auth-input,
    .auth-boton,
    .auth-tarjeta .alerta {
        max-width: 100%;
    }
    .auth-pie {
        padding: 0 20px 18px;
    }
}
