.auth-page {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding: 7rem 0 3rem;
    color: var(--site-ui-text, #f7f7f7);
    background:
        radial-gradient(ellipse at 50% 20%, rgba(255, 205, 104, 0.08), transparent 55%),
        var(--main-color-bg, #1f252e);
}

.auth-container {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(100%, 560px);
    padding: clamp(1.5rem, 5vw, 3rem);
    background: linear-gradient(145deg, #303a47, #222933);
    border: 1px solid rgba(255, 205, 104, 0.25);
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.24);
}

.auth-card-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-icon {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.auth-eyebrow {
    margin: 0 0 0.4rem;
    color: var(--site-ui-gold, #ffcd68);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-title {
    margin: 0;
    color: #fff;
    font-family: "BebasNeue", "Noto Sans", sans-serif;
    font-size: clamp(2.25rem, 7vw, 3.25rem);
    line-height: 1;
}

.auth-intro {
    max-width: 26rem;
    margin: 0.75rem auto 0;
    color: var(--site-ui-muted, #d3d8df);
}

.auth-field {
    margin-bottom: 1.15rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--site-ui-muted, #d3d8df);
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-form .input-form {
    width: 100%;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 0.7rem 0.85rem;
    color: var(--site-ui-text, #f7f7f7);
    font-size: 1rem;
    background-color: #1d232c;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.65rem;
}

.auth-form .input-form::placeholder {
    color: #aeb6c1;
    opacity: 1;
}

.auth-form .input-form:focus {
    color: var(--site-ui-text, #f7f7f7);
    background-color: #1d232c;
    border-color: var(--site-ui-gold, #ffcd68);
    box-shadow: 0 0 0 0.2rem rgba(255, 205, 104, 0.18);
}

.auth-form .input-form.is-invalid {
    background-image: none;
}

.auth-form .invalid-feedback {
    color: #ffc1c1;
}

.auth-forgot {
    margin: -0.35rem 0 1.5rem;
    text-align: right;
}

.auth-forgot a {
    color: var(--site-ui-gold, #ffcd68);
    font-size: 0.9rem;
    text-decoration: none;
}

.auth-forgot a:hover,
.auth-forgot a:focus {
    color: var(--site-ui-gold-light, #ffdf97);
    text-decoration: underline;
}

.auth-form .auth-submit {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 1rem;
    color: #252525;
    font-weight: 700;
    background-color: var(--site-ui-gold, #ffcd68);
    border-color: var(--site-ui-gold, #ffcd68);
    border-radius: 999px;
}

.auth-form .auth-submit:hover,
.auth-form .auth-submit:focus {
    color: #252525;
    background-color: var(--site-ui-gold-light, #ffdf97);
    border-color: var(--site-ui-gold-light, #ffdf97);
}

.auth-inline-error {
    position: static;
    margin-top: 0.5rem;
    padding: 0.65rem 0.85rem;
    color: #ffc1c1;
    background-image: none;
    background: rgba(190, 65, 65, 0.16);
    border: 1px solid rgba(255, 132, 132, 0.3);
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .auth-page {
        min-height: calc(100vh - 56px);
        padding: 6rem 0 2rem;
    }

    .auth-card {
        border-radius: 1rem;
    }
}
