.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--color-background);
}

.auth-shell {
    width: 100%;
    max-width: 440px;
}

.auth-shell .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    color: var(--color-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.auth-shell .brand::before {
    content: "AI";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-default);
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.85rem;
}

.auth-shell .card {
    padding: 1.5rem;
}

.auth-shell h1 {
    margin-bottom: 1rem;
}

.auth-shell .button {
    width: 100%;
}

.auth-footer-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--color-muted);
}

.auth-theme-position {
    position: fixed;
    top: 1rem;
    right: 1rem;
}

.recaptcha-box {
    margin: 16px 0;
    min-height: 78px;
}

.auth-card .recaptcha-box iframe {
    max-width: 100%;
}

/* Stage39 common interactive polish */
button,
.button,
a,
input,
textarea,
select {
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}

button:focus-visible,
.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(59, 125, 221, .22);
    outline-offset: 3px;
}
