.auth-card {
    --bs-card-bg: color-mix(in srgb, var(--bs-body-bg) 97%, transparent);
    backdrop-filter: blur(.75rem);
    border-radius: 1.25rem;
    margin: auto;
    overflow: hidden;
    width: 100%;
}

.auth-card-standard {
    max-width: 30rem;
}

.auth-card-wide {
    max-width: 42rem;
}

.auth-brand {
    align-items: center;
    display: flex;
    min-height: 2.75rem;
}

.auth-logo {
    display: block;
    height: auto;
    max-height: 2.75rem;
    max-width: min(100%, 15rem);
    width: auto;
}

.auth-logo-dark {
    display: none;
}

[data-bs-theme='dark'] .auth-logo-light {
    display: none;
}

[data-bs-theme='dark'] .auth-logo-dark {
    display: block;
}

.auth-eyebrow {
    color: var(--bs-primary);
    font-size: .75rem;
    letter-spacing: .12em;
}

.auth-card .form-control,
.auth-card .form-select {
    min-height: 3.5rem;
}

.auth-card .form-control:focus,
.auth-card .form-select:focus,
.auth-card .form-check-input:focus,
.auth-card .btn:focus-visible,
.auth-card a:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .2);
    outline: 0;
}

.auth-card .form-check-input {
    margin-top: .2rem;
}

/*
 * Related authentication fields form one native Bootstrap control surface.
 * Focused fields are raised above the shared one-pixel border so the complete
 * focus ring remains visible for keyboard and high-contrast users.
 */
.auth-field-stack > * {
    margin-bottom: 0 !important;
    position: relative;
}

.auth-field-stack > *:focus-within {
    z-index: 2;
}

.auth-field-stack > *:not(:first-child) .form-control {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: calc(-1 * var(--bs-border-width));
}

.auth-field-stack > *:not(:last-child) .form-control {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.auth-field-stack .form-text {
    margin-bottom: .75rem;
    padding-inline: .25rem;
}

.auth-field-stack > *:last-child .form-text {
    margin-bottom: 0;
}

.auth-form-section {
    border: 0;
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
    margin: 0 0 1.5rem;
    min-width: 0;
    padding: 0 0 .5rem;
}

.auth-form-section:last-of-type {
    margin-bottom: 1.25rem;
}

.auth-form-footer a:hover {
    text-decoration: underline !important;
}

.auth-status-mark {
    background: var(--bs-warning);
    border-radius: 50%;
    flex: 0 0 auto;
    height: .75rem;
    margin-top: .25rem;
    width: .75rem;
}

.auth-card .text-uppercase.form-control {
    letter-spacing: .08em;
}

@media (max-width: 575.98px) {
    .auth-card {
        border-radius: 1rem;
    }

    .auth-card .card-body {
        padding: 1.5rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card *,
    .auth-card *::before,
    .auth-card *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@supports not (backdrop-filter: blur(.75rem)) {
    .auth-card {
        --bs-card-bg: var(--bs-body-bg);
    }
}
