/* Strony poza aplikacją: logowanie, 403, offline (templates/registration/login_base.html).
   Mobile-first: karta na całą szerokość z 16 px marginesu, od 576 px stała szerokość 25 rem. */
.auth {
    min-height: 100vh;
    background: radial-gradient(ellipse at 45% 0%, #24445f 0%, var(--mb-navy) 70%);
    color: var(--mb-ink);
}

.auth__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem 1rem;
}

.auth__card {
    width: 100%;
    max-width: 25rem;
    border: 0;
    border-radius: var(--mb-radius);
    box-shadow: 0 1rem 2.5rem rgba(5, 15, 30, 0.35);
}

.auth__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

@media (min-width: 576px) {
    .auth__body {
        padding: 2.5rem 2.25rem;
    }
}

.auth__brand {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.auth__brand:focus-visible {
    outline: 2px solid var(--mb-focus);
    outline-offset: 4px;
}

.auth__logo {
    display: block;
    width: auto;
    height: 3.625rem;
}

.auth__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.auth__icon--danger {
    background: var(--tblr-red-lt);
    color: var(--tblr-red);
}

.auth__icon--warning {
    background: var(--tblr-orange-lt);
    color: var(--tblr-orange);
}

.auth__code {
    margin: 0 0 0.25rem;
    color: var(--mb-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.auth__title {
    margin: 0 0 0.5rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.auth__text {
    margin: 0 0 1.5rem;
    color: var(--mb-muted);
}

.auth__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 576px) {
    .auth__actions {
        flex-direction: row;
    }

    .auth__actions .auth__action {
        flex: 1;
    }
}

.auth__action {
    gap: 0.375rem;
    min-height: 2.75rem;
}

.auth__footer {
    margin: 1.25rem 0 0;
    color: var(--mb-hero-text);
    font-size: 0.8125rem;
}
