.ba-auth-shell {
    min-height: calc(100vh - 64px);
    display: grid;
    place-items: center;
    padding: 40px 18px;
    background:
        radial-gradient(circle at 30% 10%, rgba(94, 177, 255, .12), transparent 32rem),
        linear-gradient(145deg, #090b10 0%, #0d121a 48%, #10151d 100%);
    color: #eef3fb;
}

.ba-auth-frame {
    width: min(100%, 460px);
    padding: 30px;
    border: 1px solid #273244;
    border-radius: 8px;
    background: rgba(17, 23, 34, .94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.ba-auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #a9b5c7;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ba-auth-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.ba-auth-header {
    margin-bottom: 22px;
}

.ba-auth-title {
    margin: 0 0 8px;
    color: #eef3fb;
    font-size: 30px;
    line-height: 1.15;
}

.ba-auth-lede {
    margin: 0;
    color: #a9b5c7;
    line-height: 1.55;
}

.ba-auth-content,
.ba-auth-stack {
    display: grid;
    gap: 14px;
}

.ba-auth-actions {
    display: grid;
    gap: 10px;
}

.ba-auth-divider {
    border-color: #273244;
}

.ba-auth-muted {
    color: #a9b5c7;
    line-height: 1.55;
}

.ba-auth-note {
    padding: 12px 14px;
    border: 1px solid #273244;
    border-radius: 8px;
    background: #161f2d;
    color: #eef3fb;
}

.ba-auth-note.success {
    border-color: rgba(81, 207, 102, .35);
    background: rgba(81, 207, 102, .12);
}

.ba-auth-note.error {
    border-color: rgba(255, 107, 107, .35);
    background: rgba(255, 107, 107, .12);
}

.ba-auth-icon {
    align-self: center;
    font-size: 56px;
}

.ba-auth-progress {
    justify-self: center;
    width: 56px;
    height: 56px;
}

.ba-auth-code {
    display: inline-block;
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid #273244;
    border-radius: 6px;
    background: #0b1018;
    color: #eef3fb;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    overflow-wrap: anywhere;
}

.ba-auth-field {
    margin-bottom: 6px;
}

.ba-auth-content .mud-input {
    color: #eef3fb;
}

.ba-auth-content .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-filled {
    background-color: #0b1018;
}

.ba-auth-content .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-outlined {
    background-color: #0b1018;
}

.ba-auth-content .mud-input-label,
.ba-auth-content .mud-input-helper-text,
.ba-auth-content .mud-input-adornment {
    color: #a9b5c7;
}

.ba-auth-content .mud-input-outlined-border {
    border-color: #3a4860;
}

.ba-auth-content .mud-input:focus-within .mud-input-outlined-border {
    border-color: #5eb1ff;
}

.ba-auth-content .mud-button-root {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: none;
}

.ba-auth-content .mud-link {
    color: #88c7ff;
}

@media (max-width: 640px) {
    .ba-auth-shell {
        min-height: calc(100vh - 56px);
        padding: 24px 14px;
    }

    .ba-auth-frame {
        padding: 24px;
    }

    .ba-auth-title {
        font-size: 26px;
    }
}
