/* =====================================================================
   Theme: Midnight & Gold — Navy and gold: the office's standard look.
   ---------------------------------------------------------------------
   A theme only fills colour slots (--cs-*). base.css and site.css turn them into
   Bootstrap's variables, the office and the public website. To add a theme: copy this
   file, change the data-cs-theme value and the colours, and add it to the theme list
   (Emlak.Web/Models → SiteThemes, and the API's SettingsController).
   Navigation, the photo banner (hero-*) and hero-accent are dark-surface colours in
   both modes. hero-accent is only used for large text on the dark banner.

   Contrast, LIGHT:
     text #111827 on page #f5f3ee 16.0:1
     text #111827 on surface #ffffff 17.7:1
     muted #4b5563 on surface #ffffff 7.6:1
     muted #4b5563 on surface-2 #f4f1e9 6.7:1
     accent-text #7a5c14 on surface #ffffff 6.2:1
     on-primary #ffffff on primary #0b1220 18.7:1
     on-accent #0b1220 on accent #d4a843 8.5:1
     on-rent #ffffff on rent #0f766e 5.5:1
     soft-text #1b2740 on soft #eef1f7 13.2:1
     nav-text #e5e7eb on nav-bg #0b1220 15.1:1
     nav-muted #9aa6bb on nav-bg #0b1220 7.6:1
     nav-active-text #d4a843 on nav-active-bg #16213a 7.2:1
     hero-text #f3f4f6 on hero-to #0b1220 17.0:1
     hero-muted #cbd5e1 on hero-to #0b1220 12.6:1
     hero-accent #d4a843 on hero-to #0b1220 8.5:1
     hero-accent #d4a843 on hero-from #1d2a44 6.5:1
     warning-text #92400e on warning-soft #fffbeb 6.8:1
     success-text #047857 on success-soft #ecfdf5 5.2:1
   Contrast, DARK:
     text #e5e7eb on page #0b1220 15.1:1
     text #e5e7eb on surface #121b2d 13.9:1
     muted #a3aec2 on surface #121b2d 7.7:1
     muted #a3aec2 on surface-2 #1a2439 6.9:1
     accent-text #e2bb5e on surface #121b2d 9.4:1
     on-primary #0b1220 on primary #d4a843 8.5:1
     on-accent #0b1220 on accent #d4a843 8.5:1
     on-rent #0b1220 on rent #2dd4bf 10.1:1
     soft-text #f0d58a on soft #2a2410 10.7:1
     nav-text #e5e7eb on nav-bg #070c16 15.8:1
     nav-muted #9aa6bb on nav-bg #070c16 8.0:1
     nav-active-text #d4a843 on nav-active-bg #16213a 7.2:1
     hero-text #f3f4f6 on hero-to #070c16 17.8:1
     hero-muted #cbd5e1 on hero-to #070c16 13.2:1
     hero-accent #d4a843 on hero-to #070c16 8.8:1
     hero-accent #d4a843 on hero-from #1a2540 6.9:1
     warning-text #fcd34d on warning-soft #3a2e0e 9.2:1
     success-text #6ee7b7 on success-soft #0f3a2e 8.3:1
   ===================================================================== */

:root[data-cs-theme="midnight-gold"] {
    --cs-page: #f5f3ee;
    --cs-surface: #ffffff;
    --cs-surface-2: #f4f1e9;
    --cs-text: #111827;
    --cs-muted: #4b5563;
    --cs-border: #e2ddd0;
    --cs-input-bg: #ffffff;
    --cs-input-border: #c9c2b1;
    --cs-shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 6px 18px rgba(17, 24, 39, .05);
    --cs-primary: #0b1220;
    --cs-primary-hover: #1b2740;
    --cs-primary-active: #26344f;
    --cs-on-primary: #ffffff;
    --cs-primary-rgb: 11, 18, 32;
    --cs-accent: #d4a843;
    --cs-accent-hover: #e2bb5e;
    --cs-on-accent: #0b1220;
    --cs-accent-text: #7a5c14;
    --cs-rent: #0f766e;
    --cs-on-rent: #ffffff;
    --cs-soft: #eef1f7;
    --cs-soft-border: #cdd5e3;
    --cs-soft-text: #1b2740;
    --cs-danger: #dc2626;
    --cs-danger-soft: #fef2f2;
    --cs-danger-soft-border: #fecaca;
    --cs-danger-text: #b91c1c;
    --cs-success: #047857;
    --cs-success-soft: #ecfdf5;
    --cs-success-soft-border: #a7f3d0;
    --cs-success-text: #047857;
    --cs-warning-soft: #fffbeb;
    --cs-warning-soft-border: #fcd34d;
    --cs-warning-text: #92400e;
    --cs-info-soft: #eef1f7;
    --cs-info-soft-border: #cdd5e3;
    --cs-info-text: #1b2740;
    --cs-nav-bg: #0b1220;
    --cs-nav-bg-2: #1b2740;
    --cs-nav-text: #e5e7eb;
    --cs-nav-muted: #9aa6bb;
    --cs-nav-line: #d4a843;
    --cs-nav-active-text: #d4a843;
    --cs-nav-active-bg: #16213a;
    --cs-hero-from: #1d2a44;
    --cs-hero-to: #0b1220;
    --cs-hero-text: #f3f4f6;
    --cs-hero-muted: #cbd5e1;
    --cs-hero-accent: #d4a843;
}

:root[data-cs-theme="midnight-gold"][data-bs-theme="dark"] {
    --cs-page: #0b1220;
    --cs-surface: #121b2d;
    --cs-surface-2: #1a2439;
    --cs-text: #e5e7eb;
    --cs-muted: #a3aec2;
    --cs-border: #2a3752;
    --cs-input-bg: #0e1626;
    --cs-input-border: #3b4a68;
    --cs-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 22px rgba(0, 0, 0, .3);
    --cs-primary: #d4a843;
    --cs-primary-hover: #e2bb5e;
    --cs-primary-active: #c29632;
    --cs-on-primary: #0b1220;
    --cs-primary-rgb: 212, 168, 67;
    --cs-accent: #d4a843;
    --cs-accent-hover: #e2bb5e;
    --cs-on-accent: #0b1220;
    --cs-accent-text: #e2bb5e;
    --cs-rent: #2dd4bf;
    --cs-on-rent: #0b1220;
    --cs-soft: #2a2410;
    --cs-soft-border: #5c4b1c;
    --cs-soft-text: #f0d58a;
    --cs-danger: #ef4444;
    --cs-danger-soft: #3b1d24;
    --cs-danger-soft-border: #7f2d38;
    --cs-danger-text: #fca5a5;
    --cs-success: #10b981;
    --cs-success-soft: #0f3a2e;
    --cs-success-soft-border: #1f6b53;
    --cs-success-text: #6ee7b7;
    --cs-warning-soft: #3a2e0e;
    --cs-warning-soft-border: #7a5d12;
    --cs-warning-text: #fcd34d;
    --cs-info-soft: #17223a;
    --cs-info-soft-border: #34466b;
    --cs-info-text: #c7d2fe;
    --cs-nav-bg: #070c16;
    --cs-nav-bg-2: #16213a;
    --cs-nav-text: #e5e7eb;
    --cs-nav-muted: #9aa6bb;
    --cs-nav-line: #d4a843;
    --cs-nav-active-text: #d4a843;
    --cs-nav-active-bg: #16213a;
    --cs-hero-from: #1a2540;
    --cs-hero-to: #070c16;
    --cs-hero-text: #f3f4f6;
    --cs-hero-muted: #cbd5e1;
    --cs-hero-accent: #d4a843;
}
