/* SMARTCO_AUTH_NO_GRADIENT_R7
   Final strong override for auth-route backgrounds.
   Scope: AuthLayout pages (/auth/* plus legacy /login and /forgot-password).
   No API, DB, route, validation, or auth logic changes.
*/

@supports selector(body:has(.auth-layout)) {
    html:has(.auth-layout),
    body:has(.auth-layout),
    body:has(.auth-layout) #app,
    body:has(.auth-layout) .auth-layout,
    body:has(.auth-layout) .auth-layout-main {
        background: #f8fafc !important;
        background-color: #f8fafc !important;
        background-image: none !important;
    }
}

.auth-layout,
.auth-layout-main,
.auth-shell,
.auth-card,
.auth-card-narrow,
.auth-form-panel,
.auth-brand-panel,
.auth-brand-copy,
.auth-brand-points,
.auth-brand-points span,
.auth-secondary-actions,
.auth-reset-confirmation,
.auth-brand-mark,
.auth-submit,
.auth-submit-link,
.auth-layout *,
.auth-layout *::before,
.auth-layout *::after {
    background-image: none !important;
}

.auth-layout,
.auth-layout-main {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    background-image: none !important;
}

.auth-shell {
    background: transparent !important;
    background-color: transparent !important;
}

.auth-card,
.auth-card-narrow,
.auth-form-panel {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.auth-card {
    box-shadow: none !important;
}

.auth-brand-panel {
    background: #155f86 !important;
    background-color: #155f86 !important;
    background-image: none !important;
}

.auth-brand-panel::before,
.auth-brand-panel::after,
.auth-card::before,
.auth-card::after,
.auth-card-narrow::before,
.auth-card-narrow::after,
.auth-shell::before,
.auth-shell::after,
.auth-layout::before,
.auth-layout::after,
.auth-layout-main::before,
.auth-layout-main::after,
.auth-form-panel::before,
.auth-form-panel::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

.auth-submit,
.auth-submit-link {
    background: #0f766e !important;
    background-color: #0f766e !important;
    background-image: none !important;
    box-shadow: none !important;
}

.auth-layout .button-secondary,
.auth-layout .auth-reset-confirmation,
.auth-layout .auth-brand-mark,
.auth-layout .auth-brand-points span {
    background-image: none !important;
}
