/* =========================================================
   PARA GABY · LOGIN
   Argentina + fútbol + viajes
   ========================================================= */


.login-body {
    min-height: 100vh;

    margin: 0;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(117, 185, 230, 0.24),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(213, 169, 61, 0.13),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #eaf7ff 0%,
            #f8fcff 48%,
            #edf8ff 100%
        );
}


.login-screen {
    position: relative;

    width: 100%;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        max(24px, env(safe-area-inset-top))
        16px
        max(24px, env(safe-area-inset-bottom));
}


/* Líneas celestes muy sutiles,
   inspiradas en la camiseta */

.login-screen::before,
.login-screen::after {
    content: "";

    position: fixed;
    top: 0;
    bottom: 0;

    z-index: 0;

    width: clamp(35px, 10vw, 90px);

    background:
        linear-gradient(
            180deg,
            rgba(117, 185, 230, 0.08),
            rgba(117, 185, 230, 0.02)
        );

    pointer-events: none;
}


.login-screen::before {
    left: 8%;
}


.login-screen::after {
    right: 8%;
}


.login-card {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 420px;

    padding: 28px 22px 22px;

    border:
        1px solid rgba(117, 185, 230, 0.24);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.94);

    box-shadow:
        0 24px 70px
        rgba(23, 59, 103, 0.13);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


/* =========================================================
   TRES ESTRELLAS
   ========================================================= */

.login-stars {
    display: flex;
    justify-content: center;

    gap: 7px;

    margin-bottom: 13px;

    color: var(--gold);

    font-size: 0.76rem;

    letter-spacing: 1px;
}


/* =========================================================
   ESCUDO PROPIO
   ========================================================= */

.login-badge {
    position: relative;

    width: 76px;
    height: 76px;

    display: grid;
    place-items: center;

    overflow: hidden;

    margin: 0 auto 21px;

    border: 4px solid white;
    border-radius: 50%;

    background: white;

    box-shadow:
        0 8px 24px
        rgba(23, 59, 103, 0.13);
}


.login-badge-stripes {
    position: absolute;
    inset: 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);
}


.login-badge-stripes span:nth-child(1),
.login-badge-stripes span:nth-child(3) {
    background: #75b9e6;
}


.login-badge-stripes span:nth-child(2) {
    background: white;
}


.login-badge strong {
    position: relative;
    z-index: 2;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.91);

    color: var(--blue-dark);

    font-size: 1.15rem;
    font-weight: 900;

    box-shadow:
        0 3px 12px
        rgba(23,59,103,.12);
}


/* =========================================================
   TEXTO
   ========================================================= */

.login-heading {
    text-align: center;
}


.login-eyebrow {
    margin: 0 0 6px;

    color: var(--celeste-dark);

    font-size: 0.63rem;
    font-weight: 850;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


.login-heading h1 {
    margin: 0;

    color: var(--blue-dark);

    font-size: clamp(
        2rem,
        10vw,
        2.65rem
    );

    line-height: 1;

    letter-spacing: -0.055em;
}


.login-heading > p:not(.login-eyebrow) {
    max-width: 315px;

    margin: 14px auto 0;

    color: var(--muted);

    font-size: 0.79rem;

    line-height: 1.55;
}


.login-welcome {
    display: block;

    margin-top: 10px;

    color: var(--blue);

    font-size: 0.79rem;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.login-form {
    margin-top: 27px;
}


.login-form > label {
    display: block;

    margin: 0 0 8px;

    color: var(--blue-dark);

    font-size: 0.71rem;
    font-weight: 800;
}


.password-field {
    position: relative;
}


.password-field input {
    width: 100%;
    height: 55px;

    padding:
        0
        56px
        0
        16px;

    border:
        1.5px solid
        #d6e7f2;

    border-radius: 16px;

    background:
        #f8fcff;

    color: var(--blue-dark);

    font-size: 16px;

    letter-spacing: 0.08em;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}


.password-field input:focus {
    border-color:
        var(--celeste);

    outline: none;

    background: white;

    box-shadow:
        0 0 0 4px
        rgba(117,185,230,.14);
}


.password-field input::placeholder {
    color: #a6b8c7;

    letter-spacing: 0.15em;
}


.show-password {
    position: absolute;

    top: 50%;
    right: 7px;

    width: 43px;
    height: 43px;
    min-height: 43px;

    display: grid;
    place-items: center;

    transform:
        translateY(-50%);

    border: 0;
    border-radius: 12px;

    background: transparent;

    font-size: 1rem;
}


.login-button {
    width: 100%;
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 13px;

    border: 0;
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            #23598d
        );

    box-shadow:
        0 8px 20px
        rgba(23,59,103,.19);

    color: white;

    font-size: 0.84rem;
    font-weight: 850;

    transition:
        transform .12s ease,
        box-shadow .12s ease;
}


.login-button:active {
    transform: scale(.985);

    box-shadow:
        0 4px 12px
        rgba(23,59,103,.16);
}


.login-button span {
    font-size: 1rem;
}


/* =========================================================
   ERROR
   ========================================================= */

.form-error {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: 10px 0 0;
    padding: 10px 12px;

    border-radius: 12px;

    background: #fff0ed;

    color: #a65349;

    font-size: 0.72rem;
    font-weight: 700;
}


/* =========================================================
   PISTA
   ========================================================= */

.login-hint {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-top: 20px;
    padding: 12px 14px;

    border:
        1px solid #efe3bd;

    border-radius: 16px;

    background:
        var(--gold-soft);
}


.hint-ball {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    flex: 0 0 38px;

    border-radius: 50%;

    background: white;

    font-size: 1.15rem;
}


.login-hint small {
    display: block;

    margin-bottom: 2px;

    color: #a18334;

    font-size: 0.54rem;
    font-weight: 850;

    letter-spacing: .08em;
}


.login-hint strong {
    display: block;

    color: #736335;

    font-size: 0.68rem;

    line-height: 1.35;
}


/* =========================================================
   FOOTER
   ========================================================= */

.login-footer {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 10px;

    margin-top: 23px;
}


.login-footer span {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d9e6ee
        );
}


.login-footer span:last-child {
    background:
        linear-gradient(
            90deg,
            #d9e6ee,
            transparent
        );
}


.login-footer p {
    margin: 0;

    color: #9badba;

    font-size: 0.58rem;
    font-weight: 750;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 360px) {

    .login-screen {
        padding-right: 12px;
        padding-left: 12px;
    }


    .login-card {
        padding:
            23px
            17px
            18px;

        border-radius: 25px;
    }


    .login-badge {
        width: 66px;
        height: 66px;

        margin-bottom: 17px;
    }


    .login-heading > p:not(.login-eyebrow) {
        font-size: .74rem;
    }


    .login-form {
        margin-top: 21px;
    }

}


/* =========================================================
   TELÉFONOS BAJOS / HORIZONTAL
   ========================================================= */

@media (max-height: 700px) {

    .login-screen {
        align-items: flex-start;
    }


    .login-card {
        margin: auto 0;
    }


    .login-stars {
        margin-bottom: 8px;
    }


    .login-badge {
        width: 62px;
        height: 62px;

        margin-bottom: 13px;
    }


    .login-badge strong {
        width: 36px;
        height: 36px;

        font-size: 1rem;
    }


    .login-heading > p:not(.login-eyebrow) {
        margin-top: 9px;
    }


    .login-form {
        margin-top: 18px;
    }


    .login-hint {
        margin-top: 14px;
    }


    .login-footer {
        margin-top: 15px;
    }

}
