/* ==========================================================================
   NODSOL.PLANS Admin System — Common Design Variables & Tokens
   File: /css/common/variables.css
   ========================================================================== */

:root {
    --primary: #ff0000;
    --primary-container: #d60000;
    --primary-fixed: #ffebee;
    --on-primary: #ffffff;
    --on-primary-container: #fffafa;

    --secondary: #7d5700;
    --secondary-container: #f8b100;
    --on-secondary: #ffffff;

    --surface: #f8f9fa;
    --surface-bright: #ffffff;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f3f4f5;
    --surface-container: #edeeef;
    --surface-container-high: #e7e8e9;
    --surface-container-highest: #e1e3e4;

    --on-surface: #191c1d;
    --on-surface-variant: #5d3f3c;
    --tertiary: #5c5b5b;

    --error: #ba1a1a;
    --error-container: #ffdad6;
    --on-error-container: #93000a;

    --success: #15803d;
    --success-container: #dcfce7;
    --on-success-container: #14532d;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);

    --radius-sm: 3px;
    --radius-md: 3px;
    --radius-lg: 3px;
    --radius-xl: 3px;
    --radius-full: 3px;
    --dash-radius: 3px;

    --sidebar-width: 18rem;
    --header-height: 5rem;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL BRAND TYPOGRAPHY: Only Montserrat font
   ========================================================================== */
html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, a, table, th, td, label {
    font-family: 'Montserrat', sans-serif !important;
}

/* ==========================================================================
   ICON FONTS PRESERVATION: Protect Material Symbols & Icon Fonts from Montserrat override
   ========================================================================== */
.material-symbols-outlined,
.material-symbols-sharp,
.material-symbols-rounded,
[class*="material-symbols"],
.material-icons {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga' 1 !important;
    font-feature-settings: 'liga' 1 !important;
    -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined.filled,
.material-symbols-outlined.estimate-material-symbol-fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}

.fa, .fas, .far, .fal, .fad, .fab, [class*="fa-"] {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'FontAwesome', sans-serif !important;
    text-transform: none !important;
}

.bi, [class*="bi-"] {
    font-family: 'bootstrap-icons' !important;
    text-transform: none !important;
}

/* ==========================================================================
   GLOBAL BRAND GEOMETRY: Radius 3px on all edges (cards, buttons, boxes, etc.)
   ========================================================================== */
button, .btn, input, select, textarea, .card, .dash-card, .dropdown-menu,
.rounded-sm, .rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-full {
    border-radius: 3px !important;
}

/* ==========================================================================
   GLOBAL BRAND COLOR ENFORCEMENT: Brand Red #ff0000
   ========================================================================== */
.bg-primary, [class~="bg-primary"], .btn-primary, .btn-brand-red {
    background-color: #ff0000 !important;
    color: #ffffff !important;
}

.bg-primary:hover, [class~="bg-primary"]:hover, .btn-primary:hover, .btn-brand-red:hover {
    background-color: #d60000 !important;
    color: #ffffff !important;
}

.text-primary, [class~="text-primary"] {
    color: #ff0000 !important;
}

.border-primary, [class~="border-primary"] {
    border-color: #ff0000 !important;
}
