/* Pantalla de acceso del panel administrativo. */
body.login-page:has(.auth-login) {
    display: block;
    height: auto;
    min-height: 100vh;
    background: #f7f9fb !important;
}

.auth-login,
.auth-login *:not(i):not(span.material-symbols-outlined) {
    font-family: "Rubik", sans-serif;
}

.auth-login {
    display: grid;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    color: #1d2a3a;
}

.auth-login__story {
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 5vw, 4.5rem);
    background: #17283d;
    color: #fff;
}

.auth-login__brand {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.auth-login__story-content {
    max-width: 34rem;
    margin-top: clamp(4rem, 10.5vh, 6rem);
    margin-bottom: auto;
    padding-left: 1.65rem;
    border-left: 3px solid #5b9acf;
}

.auth-login__story h1,
.auth-login__card h2 {
    font-family: "Lexend", sans-serif !important;
}

.auth-login__story h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 3.6vw, 3.65rem);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.16;
}

.auth-login__story-content p {
    max-width: 25rem;
    margin: 1.35rem 0 0;
    color: #b7c6d7;
    font-size: 1rem;
    line-height: 1.65;
}

.auth-login__access {
    display: grid;
    place-items: center;
    padding: 3rem;
    background: #f7f9fb;
}

.auth-login__card {
    width: min(100%, 452px);
    padding: 2.6rem;
    border: 1px solid #e1e6ec;
    border-radius: .7rem;
    background: #fff;
    box-shadow: 0 5px 22px rgba(31, 48, 68, .04);
}

.auth-login__logo {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 3rem;
}

.auth-login__card h2 {
    margin: 0 0 .55rem;
    color: #1d2a3a;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -.035em;
}

.auth-login__intro {
    margin-bottom: 2rem;
    color: #6a7787;
    font-size: .9rem;
}

.auth-login__form .input {
    margin-bottom: 1.25rem;
}

.auth-login__form label {
    display: block;
    margin-bottom: .5rem !important;
    color: #344255;
    font-size: .82rem !important;
    font-weight: 600 !important;
}

.auth-login__form input:not([type="hidden"]) {
    display: block;
    width: 100%;
    height: 3rem;
    padding: .7rem .85rem;
    border: 1px solid #cbd5df;
    border-radius: .4rem;
    background: #fff;
    color: #1d2a3a;
    font-size: .9rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-login__form input:not([type="hidden"])::placeholder {
    color: #97a3b0;
}

.auth-login__form input:not([type="hidden"]):focus {
    outline: none;
    border-color: var(--color-primary, #0868bd);
    box-shadow: 0 0 0 3px rgba(35, 99, 170, .11);
}

.auth-login__submit {
    width: 100%;
    min-height: 3rem;
    margin-top: .45rem;
    border: 1px solid var(--color-primary, #0868bd) !important;
    border-radius: .4rem !important;
    background: var(--color-primary, #0868bd) !important;
    color: #fff !important;
    font-size: .9rem;
    font-weight: 600;
    transition: filter .15s ease;
}

.auth-login__submit:hover {
    filter: brightness(1.08);
}

.auth-login__separator {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 1.8rem 0;
    color: #83909f;
    font-size: .76rem;
    white-space: nowrap;
}

.auth-login__separator::before,
.auth-login__separator::after {
    flex: 1;
    height: 1px;
    content: "";
    background: #e1e6ec;
}

.auth-login__google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3rem;
    border: 1px solid #cbd5df;
    border-radius: .4rem;
    background: #fff;
    color: #263548;
    font-size: .88rem;
    font-weight: 500;
    transition: background-color .15s ease, border-color .15s ease;
}

.auth-login__google:hover {
    border-color: #aebbc9;
    background: #f7f9fb;
    color: #1d2a3a;
}

@media (max-width: 767px) {
    .auth-login {
        display: block;
    }

    .auth-login__story {
        min-height: 265px;
        padding: 1.6rem 1.5rem;
    }

    .auth-login__story-content {
        margin: 1.75rem 0 0;
        padding-left: 1rem;
        border-left-width: 2px;
    }

    .auth-login__story h1 {
        font-size: clamp(1.7rem, 6vw, 2.25rem);
    }

    .auth-login__story-content p {
        margin-top: .75rem;
        font-size: .82rem;
        line-height: 1.45;
    }

    .auth-login__access {
        display: block;
        padding: 1.5rem 1rem 2.5rem;
    }

    .auth-login__card {
        margin: 0 auto;
        padding: 1.8rem 1.4rem;
    }

    .auth-login__logo {
        margin-bottom: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-login :is(input, button, a) {
        transition: none !important;
    }
}
