/* Global theme defaults. Theme colors may be overwritten by config/theme.php. */
:root {
    --theme-primary: #B11226;
    --theme-primary-dark: #840D1D;
    --theme-primary-soft: #FBEAEC;
    --theme-background: #F4F5F7;
    --theme-surface: #FFFFFF;
    --theme-text: #24282F;
    --theme-border: #E5E7EB;
    --theme-on-primary: #FFFFFF;
}

/* Opt-in theme utility classes for existing pages. No existing layout changes. */
.theme-bg { background-color: var(--theme-background); }
.theme-surface { background-color: var(--theme-surface); }
.theme-text { color: var(--theme-text); }
.theme-primary-text { color: var(--theme-primary); }
.theme-primary-soft-bg { background-color: var(--theme-primary-soft); }
.theme-border { border-color: var(--theme-border) !important; }
.theme-hero { background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark)); color: var(--theme-on-primary); }
.theme-btn-primary {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: var(--theme-on-primary);
}
.theme-btn-primary:hover, .theme-btn-primary:focus-visible {
    background: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
    color: var(--theme-on-primary);
}
/* Existing status colors (success, warning, danger) remain untouched. */
