:root,
[data-bs-theme=light] {
    --theme-blue: #2563eb;          /* Primary blue updated */
    --theme-light-blue: #60a5fa;    /* Accent / info updated */
    --theme-dark-blue: #1e3a8a;     /* Strong emphasis updated */
    --theme-indigo: #6b5eae;
    --theme-pink: #f672a7;
    --theme-red: #dc2626;           /* Error / danger updated */
    --theme-orange: #fd7e14;
    --theme-yellow: #f7b84b;
    --theme-green: #0acf97;
    --theme-teal: #1abc9c;
    --theme-cyan: #43bfe5;
    --theme-black: #000;
    --theme-white: #fff;
    --theme-gray: #8a969c;
    --theme-gray-dark: #343a40;
    --theme-gray-100: #f6f7fb;
    --theme-gray-200: #eef2f7;
    --theme-gray-300: #e7e9eb;
    --theme-gray-400: #ced4da;
    --theme-gray-500: #a1a9b1;
    --theme-gray-600: #8a969c;
    --theme-gray-700: #6c757d;
    --theme-gray-800: #343a40;
    --theme-gray-900: #313a46;
    --theme-primary: #2563eb;       /* Swapped to match brand primary */
    --theme-secondary: #1e3a8a;     /* Swapped to match dark blue emphasis */
    --theme-success: #1abc9c;
    --theme-info: #60a5fa;          /* Swapped to match light blue accent */
    --theme-warning: #f7b84b;
    --theme-danger: #dc2626;        /* Swapped to match brand red */
    --theme-light: #eef2f7;
    --theme-dark: #313a46;

    /* RGB Values updated for opacity utilities */
    --theme-primary-rgb: 37, 99, 235;
    --theme-secondary-rgb: 30, 58, 138;
    --theme-success-rgb: 26, 188, 156;
    --theme-info-rgb: 96, 165, 250;
    --theme-warning-rgb: 247, 184, 75;
    --theme-danger-rgb: 220, 38, 38;
    --theme-light-rgb: 238, 242, 247;
    --theme-dark-rgb: 49, 58, 70;

    /* Text Emphasis variables adjusted for readability */
    --theme-primary-text-emphasis: #1d4ed8;
    --theme-secondary-text-emphasis: #1e3a8a;
    --theme-success-text-emphasis: #16a085;
    --theme-info-text-emphasis: #2563eb;
    --theme-warning-text-emphasis: #d29c40;
    --theme-danger-text-emphasis: #991b1b;
    --theme-purple-text-emphasis: #574bbc;
    --theme-light-text-emphasis: #8a969c;
    --theme-dark-text-emphasis: #343a40;

    /* Background Subtle values adjusted (tints) */
    --theme-primary-bg-subtle: #eff6ff;
    --theme-secondary-bg-subtle: #e0f2fe;
    --theme-success-bg-subtle: #ddf5f0;
    --theme-info-bg-subtle: #f0f9ff;
    --theme-warning-bg-subtle: #fef4e4;
    --theme-danger-bg-subtle: #fef2f2;
    --theme-purple-bg-subtle: #e8e6fa;
    --theme-light-bg-subtle: #fbfbfd;
    --theme-dark-bg-subtle: #ced4da;

    /* Border Subtle values adjusted */
    --theme-primary-border-subtle: #bfdbfe;
    --theme-secondary-border-subtle: #bae6fd;
    --theme-success-border-subtle: #a3e4d7;
    --theme-info-border-subtle: #c7d2fe;
    --theme-warning-border-subtle: #fce3b7;
    --theme-danger-border-subtle: #fca5a5;
    --theme-purple-border-subtle: #c2bcf1;
    --theme-light-border-subtle: #eef2f7;
    --theme-dark-border-subtle: #a1a9b1;

    --theme-white-rgb: 255, 255, 255;
    --theme-black-rgb: 0, 0, 0;
    --theme-font-sans-serif: "Nunito", sans-serif;
    --theme-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --theme-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    --theme-body-font-family: var(--theme-font-sans-serif);
    --theme-body-font-size: 0.875rem;
    --theme-body-font-weight: 400;
    --theme-body-line-height: 1.5;
    --theme-body-color: #4c4c5c;
    --theme-body-color-rgb: 76, 76, 92;
    --theme-body-bg: #f5f6f8;
    --theme-body-bg-rgb: 245, 246, 248;
    --theme-emphasis-color: rgba(76, 76, 92, 0.75);
    --theme-emphasis-color-rgb: 76, 76, 92;
    --theme-secondary-color: #9ba6b7;
    --theme-secondary-color-rgb: 155, 166, 183;
    --theme-secondary-bg: #fff;
    --theme-secondary-bg-rgb: 255, 255, 255;
    --theme-tertiary-color: rgba(76, 76, 92, 0.5);
    --theme-tertiary-color-rgb: 76, 76, 92;
    --theme-tertiary-bg: #f6f7fb;
    --theme-tertiary-bg-rgb: 246, 247, 251;
    --theme-heading-color: inherit;
    --theme-link-color: #2563eb;   /* Links updated to brand primary */
    --theme-link-color-rgb: 37, 99, 235;
    --theme-link-decoration: none;
    --theme-link-hover-color: #1d4ed8;
    --theme-link-hover-color-rgb: 29, 78, 216;
    --theme-code-color: #f672a7;
    --theme-highlight-color: #4c4c5c;
    --theme-highlight-bg: #fdf1db;
    --theme-border-width: 1px;
    --theme-border-style: solid;
    --theme-border-color: #e7e9eb;
    --theme-border-color-translucent: #eef2f7;
    --theme-border-radius: 0.3rem;
    --theme-border-radius-sm: 0.25rem;
    --theme-border-radius-lg: 0.4rem;
    --theme-border-radius-xl: 1rem;
    --theme-border-radius-xxl: 2rem;
    --theme-border-radius-2xl: var(--theme-border-radius-xxl);
    --theme-border-radius-pill: 50rem;
    --theme-box-shadow: 0px 1px 4px 0px rgba(130, 143, 163, 0.15);
    --theme-box-shadow-sm: 0 0.75rem 6rem rgba(56, 65, 74, 0.03);
    --theme-box-shadow-lg: 0 0.25rem 1rem rgba(var(--theme-body-color-rgb), 0.2);
    --theme-box-shadow-inset: inset 0 1px 2px rgba(var(--theme-body-color-rgb), 0.075);
    --theme-focus-ring-width: 0;
    --theme-focus-ring-opacity: 0.25;
    --theme-focus-ring-color: rgba(37, 99, 235, 0.25);
    --theme-form-valid-color: #1abc9c;
    --theme-form-valid-border-color: #1abc9c;
    --theme-form-invalid-color: #dc2626;
    --theme-form-invalid-border-color: #dc2626;
}

[data-bs-theme=dark] {
    color-scheme: dark;
    --theme-body-color: #aab8c5;
    --theme-body-color-rgb: 170, 184, 197;
    --theme-body-bg: #17181e;
    --theme-body-bg-rgb: 23, 24, 30;
    --theme-emphasis-color: #b0bbc5;
    --theme-emphasis-color-rgb: 176, 187, 197;
    --theme-secondary-color: #8391a2;
    --theme-secondary-color-rgb: 131, 145, 162;
    --theme-secondary-bg: #1e1f27;
    --theme-secondary-bg-rgb: 30, 31, 39;
    --theme-tertiary-color: #aab8c5;
    --theme-tertiary-color-rgb: 170, 184, 197;
    --theme-tertiary-bg: #272832;
    --theme-tertiary-bg-rgb: 39, 40, 50;

    /* Adjusted Dark Mode emphasis elements to align with the new base blue/red signatures */
    --theme-primary-text-emphasis: #60a5fa;
    --theme-secondary-text-emphasis: #93c5fd;
    --theme-success-text-emphasis: #76d7c4;
    --theme-info-text-emphasis: #a5f3fc;
    --theme-warning-text-emphasis: #fad493;
    --theme-danger-text-emphasis: #fca5a5;
    --theme-purple-text-emphasis: #a39beb;
    --theme-light-text-emphasis: #f6f7fb;
    --theme-dark-text-emphasis: #e7e9eb;

    --theme-primary-bg-subtle: rgba(37, 99, 235, 0.2);
    --theme-secondary-bg-subtle: rgba(30, 58, 138, 0.2);
    --theme-success-bg-subtle: rgba(26, 188, 156, 0.2);
    --theme-info-bg-subtle: rgba(96, 165, 250, 0.2);
    --theme-warning-bg-subtle: rgba(247, 184, 75, 0.2);
    --theme-danger-bg-subtle: rgba(220, 38, 38, 0.2);
    --theme-purple-bg-subtle: rgba(102, 88, 221, 0.2);
    --theme-light-bg-subtle: #22232c;
    --theme-dark-bg-subtle: #1a1d20;

    --theme-primary-border-subtle: #1e40af;
    --theme-secondary-border-subtle: #172554;
    --theme-success-border-subtle: #10715e;
    --theme-info-border-subtle: #1e3a8a;
    --theme-warning-border-subtle: #946e2d;
    --theme-danger-border-subtle: #7f1d1d;
    --theme-purple-border-subtle: #3d3585;
    --theme-light-border-subtle: #6c757d;
    --theme-dark-border-subtle: #6c757d;

    --theme-heading-color: #aab8c5;
    --theme-link-color: #60a5fa;
    --theme-link-hover-color: #93c5fd;
    --theme-link-color-rgb: 96, 165, 250;
    --theme-link-hover-color-rgb: 147, 197, 253;
    --theme-code-color: #faaaca;
    --theme-highlight-color: #dee2e6;
    --theme-highlight-bg: #664d03;
    --theme-border-color: #cedce4;
    --theme-border-color-translucent: #8391a2;
    --theme-form-valid-color: #6ce2c1;
    --theme-form-valid-border-color: #6ce2c1;
    --theme-form-invalid-color: #fca5a5;
    --theme-form-invalid-border-color: #fca5a5;
}


html[data-skin=strata] {
    /* ===== TYPOGRAPHY ===== */
    --theme-font-sans-serif: "Roboto", sans-serif;
    --theme-font-family-secondary: "Roboto", sans-serif;
    --theme-body-font-size: 14px;

    /* ===== BACKGROUNDS ===== */
    --theme-body-bg: #f6f9fa;
    --theme-secondary-bg: #ffffff;

    /* ===== CARD / SHADOW ===== */
    --theme-theme-card-border-width: 1px;
    --theme-theme-card-border-color: #e5e7eb;
    --theme-theme-card-box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    --theme-box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    /* ===== RADIUS ===== */
    --theme-border-radius: 6px;

    /* ===== FONT WEIGHTS ===== */
    --theme-font-weight-medium: 400;
    --theme-font-weight-semibold: 500;
    --theme-font-weight-bold: 600;

    /* ===== FONT SIZES ===== */
    --theme-font-size-xxs: 11px;
    --theme-font-size-xs: 12px;
    --theme-font-size-base: 13px;
    --theme-font-size-md: 14px;
    --theme-font-size-lg: 16px;
    --theme-font-size-xl: 18px;
    --theme-font-size-xxl: 20px;

    /* ===== SIDENAV ===== */
    --theme-sidenav-item-icon-size: 1.125rem;
    --theme-sidenav-item-gap: 12px;
    --theme-sidenav-item-padding-x: 12px;
    --theme-sidenav-item-padding-y: 10px;
    --theme-sidenav-item-font-size: 0.875rem;

    /* ===== BRAND COLORS ===== */
    --theme-primary: #2563eb;
    --theme-secondary: #64748b;
    --theme-success: #16a34a;
    --theme-info: #60a5fa;
    --theme-warning: #f59e0b;
    --theme-danger: #dc2626;
    --theme-dark: #1e3a8a;

    /* RGB */
    --theme-primary-rgb: 37, 99, 235;
    --theme-info-rgb: 96, 165, 250;
    --theme-danger-rgb: 220, 38, 38;

    /* ===== CHART COLORS ===== */
    --theme-chart-primary: #2563eb;
    --theme-chart-primary-rgb: 37, 99, 235;
    --theme-chart-secondary: #60a5fa;
    --theme-chart-secondary-rgb: 96, 165, 250;
    --theme-chart-gray: #e5e7eb;
    --theme-chart-gray-rgb: 229, 231, 235;
    --theme-chart-dark: #1e3a8a;
    --theme-chart-dark-rgb: 30, 58, 138;

    --theme-chart-border-color: #e5e7eb;
    --theme-chart-title-color: #6b7280;

    /* ===== SUBTLE STATES ===== */
    --theme-primary-bg-subtle: rgba(37, 99, 235, 0.1);
    --theme-info-bg-subtle: rgba(96, 165, 250, 0.1);
    --theme-danger-bg-subtle: rgba(220, 38, 38, 0.1);

    --theme-primary-border-subtle: rgba(37, 99, 235, 0.3);
    --theme-info-border-subtle: rgba(96, 165, 250, 0.3);
    --theme-danger-border-subtle: rgba(220, 38, 38, 0.3);

    /* ===== TEXT EMPHASIS ===== */
    --theme-primary-text-emphasis: #1e40af;
    --theme-info-text-emphasis: #2563eb;
    --theme-danger-text-emphasis: #991b1b;
}

html[data-skin=strata][data-menu-color=light] {
    --theme-sidenav-bg: #ffffff;
    --theme-sidenav-border-color: #e5e7eb;
    --theme-sidenav-item-color: #6b7280;

    --theme-sidenav-item-hover-color: #2563eb;
    --theme-sidenav-item-hover-bg: #eff6ff;

    --theme-sidenav-item-active-color: #1e40af;
    --theme-sidenav-item-active-bg: #dbeafe;
}

html[data-skin=strata][data-menu-color=gray] {
    --theme-sidenav-bg: #f3f4f6;
    --theme-sidenav-border-color: #e5e7eb;

    --theme-sidenav-item-color: #6b7280;

    --theme-sidenav-item-hover-color: #2563eb;
    --theme-sidenav-item-hover-bg: #e0f2fe;

    --theme-sidenav-item-active-color: #111827;
    --theme-sidenav-item-active-bg: #e5e7eb;
}
html[data-skin=strata][data-menu-color=dark] {
    --theme-sidenav-bg: #0f172a;
    --theme-sidenav-border-color: #1f2937;

    --theme-sidenav-item-color: #94a3b8;

    --theme-sidenav-item-hover-color: #cbd5f5;
    --theme-sidenav-item-hover-bg: #1e293b;

    --theme-sidenav-item-active-color: #e2e8f0;
    --theme-sidenav-item-active-bg: #1e3a8a;
}

html[data-skin=strata][data-menu-color=gradient] {
    --theme-sidenav-bg: linear-gradient(135deg, #1e3a8a, #2563eb);
    --theme-sidenav-item-color: rgba(255,255,255,0.7);

    --theme-sidenav-item-hover-color: #ffffff;
    --theme-sidenav-item-hover-bg: rgba(255,255,255,0.1);

    --theme-sidenav-item-active-color: #ffffff;
    --theme-sidenav-item-active-bg: rgba(255,255,255,0.2);
}
/*ADDED*/
html[data-skin=strata][data-bs-theme=dark][data-menu-color=dark], html[data-skin=strata][data-bs-theme=dark][data-menu-color=light] {
    --theme-sidenav-bg: #0f172a;
    --theme-sidenav-border-color: #1f2937;
    --theme-sidenav-item-color: #94a3b8;
    --theme-sidenav-item-hover-color: #cbd5f5;
    --theme-sidenav-item-hover-bg: #1e293b;
    --theme-sidenav-item-active-color: #e2e8f0;
    --theme-sidenav-item-active-bg: #1e3a8a;
}

html[data-skin=strata][data-topbar-color=light] {
    --theme-topbar-bg: #ffffff;
    --theme-topbar-item-color: #6b7280;

    --theme-topbar-item-hover-color: #2563eb;

    --theme-topbar-search-bg: transparent;
    --theme-topbar-search-border: #e5e7eb;
}

html[data-skin=strata][data-topbar-color=gray] {
    --theme-topbar-bg: #f3f4f6;
    --theme-topbar-item-color: #6b7280;

    --theme-topbar-item-hover-color: #2563eb;

    --theme-topbar-search-bg: #e5e7eb;
    --theme-topbar-search-border: #e5e7eb;
}

html[data-skin=strata][data-topbar-color=dark] {
    --theme-topbar-bg: #1e293b;

    --theme-topbar-item-color: #cbd5f5;
    --theme-topbar-item-hover-color: #93c5fd;

    --theme-topbar-search-bg: #0f172a;
    --theme-topbar-search-border: #1f2937;
}

html[data-skin=strata][data-topbar-color=gradient] {
    --theme-topbar-bg: linear-gradient(135deg, #1e3a8a, #2563eb);

    --theme-topbar-item-color: rgba(255,255,255,0.8);
    --theme-topbar-item-hover-color: #ffffff;

    --theme-topbar-search-bg: rgba(255,255,255,0.1);
    --theme-topbar-search-border: rgba(255,255,255,0.2);
}

/*ADDED 2*/
html[data-skin=strata][data-bs-theme=dark][data-topbar-color=dark], html[data-skin=strata][data-bs-theme=dark][data-topbar-color=light], html[data-skin=strata][data-bs-theme=dark][data-topbar-color=gray] {
    --theme-topbar-bg: #1e293b;

    --theme-topbar-item-color: #cbd5f5;
    --theme-topbar-item-hover-color: #93c5fd;

    --theme-topbar-search-bg: #0f172a;
    --theme-topbar-search-border: #1f2937;
}


[data-bs-theme=dark][data-skin=strata] {
    --theme-body-bg: #0f172a;
    --theme-secondary-bg: #1e293b;
    --theme-box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    --theme-theme-card-border-color: #1f2937;
    --theme-chart-border-color: #1f2937;
    --theme-chart-gray: #374151;
}

/*addtiional from chatGPT*/
/* =========================================
   GLOBAL DARK MODE TOKENS
   ========================================= */

[data-bs-theme="dark"] {
    --theme-body-bg: #0f172a;
    --theme-surface-1: #1e293b;
    --theme-surface-2: #0f172a;

    --theme-border-color: #1f2937;

    --theme-text-primary: #e2e8f0;
    --theme-text-secondary: #94a3b8;
    --theme-text-muted: #64748b;

    --theme-input-bg: #0f172a;
    --theme-input-bg-focus: #020617;
    --theme-input-border: #334155;
}

/* =========================================
   FORM CONTROLS
   ========================================= */

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: var(--theme-input-bg);
    border: 1px solid var(--theme-input-border);
    color: var(--theme-text-primary);
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: var(--theme-text-muted);
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: var(--theme-input-bg-focus);
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

[data-bs-theme="dark"] .form-control:disabled {
    background-color: #020617;
    color: #64748b;
}

[data-bs-theme="dark"] .input-group-text {
    background-color: var(--theme-input-bg);
    border-color: var(--theme-input-border);
    color: var(--theme-text-secondary);
}

/* =========================================
   DROPDOWNS
   ========================================= */

[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--theme-surface-1);
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

[data-bs-theme="dark"] .dropdown-item {
    color: var(--theme-text-primary);
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: #1e3a8a;
    color: #ffffff;
}

[data-bs-theme="dark"] .dropdown-divider {
    border-color: var(--theme-border-color);
}

/* =========================================
   MODALS
   ========================================= */

[data-bs-theme="dark"] .modal-content {
    background-color: var(--theme-surface-1);
    border: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
}

[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: var(--theme-border-color);
}

/* =========================================
   TABLES
   ========================================= */

[data-bs-theme="dark"] .table {
    color: var(--theme-text-primary);
}

[data-bs-theme="dark"] .table th,
[data-bs-theme="dark"] .table td {
    border-color: var(--theme-border-color);
}

[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #020617;
}

[data-bs-theme="dark"] .table-hover tbody tr:hover {
    background-color: #1e293b;
}

/* =========================================
   CARDS
   ========================================= */

[data-bs-theme="dark"] .card {
    background-color: var(--theme-surface-1);
    border: 1px solid var(--theme-border-color);
}

/* =========================================
   ALERTS
   ========================================= */

[data-bs-theme="dark"] .alert-primary {
    background-color: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.3);
    color: #93c5fd;
}

[data-bs-theme="dark"] .alert-danger {
    background-color: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.3);
    color: #fca5a5;
}

/* =========================================
   BUTTONS
   ========================================= */

[data-bs-theme="dark"] .btn-light {
    background-color: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .btn-light:hover {
    background-color: #334155;
}

/* =========================================
   BADGES
   ========================================= */

[data-bs-theme="dark"] .badge.bg-light {
    background-color: #1e293b !important;
    color: #e2e8f0;
}

/* =========================================
   NAVBAR / TOPBAR
   ========================================= */

[data-bs-theme="dark"] .navbar {
    background-color: var(--theme-surface-1);
    border-bottom: 1px solid var(--theme-border-color);
}

/* =========================================
   SIDENAV (SAFE OVERRIDE)
   ========================================= */

[data-bs-theme="dark"] .sidenav,
[data-bs-theme="dark"] .sidebar {
    background-color: #0f172a;
}

/* =========================================
   DATEPICKER / 3RD PARTY (GENERIC FIXES)
   ========================================= */

/* Flatpickr / generic calendar */
[data-bs-theme="dark"] .flatpickr-calendar {
    background: #1e293b;
    border: 1px solid #1f2937;
}

[data-bs-theme="dark"] .flatpickr-day {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .flatpickr-day:hover {
    background: #2563eb;
}

/* React Datepicker / generic */
[data-bs-theme="dark"] .react-datepicker {
    background-color: #1e293b;
    border: 1px solid #1f2937;
}

[data-bs-theme="dark"] .react-datepicker__day {
    color: #e2e8f0;
}

/* =========================================
   SCROLLBARS (OPTIONAL POLISH)
   ========================================= */

[data-bs-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: #0f172a;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

/* =========================================
   EDGE CASE FIXES
   ========================================= */

/* Autofill fix */
[data-bs-theme="dark"] input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #1e293b inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

/* Disabled buttons */
[data-bs-theme="dark"] .btn:disabled {
    opacity: 0.6;
}

/* HR */
[data-bs-theme="dark"] hr {
    border-color: var(--theme-border-color);
}

/*==============================for FRONT END*/

.custom-background {
    background-image: url('app/assets/images/icons/decoration-star.svg'), url('public/assets/images/icons/decoration-star.svg');
    background-position: -20px center, calc(100% + 20px) center; /* Move images */
    background-size: auto, auto; /* Keep sizes */
    background-repeat: no-repeat, no-repeat;
    height: 400px;
    width: 100%;
}


.header .decoration-star {
    top: 80px;
    left: -200px;
    width: 500px;
    opacity: 0.7;
}

.header .decoration-star-2 {
    top: 80px;
    right: -200px;
    width: 500px;
    opacity: 0.7;
}

.services_bg {
    color: white;
    background: linear-gradient(to bottom right, rgba(10, 83, 190, 0.01), rgba(10, 83, 190, 0.65)), url("app/assets/images/frontend/rehab_center.jpg") center center no-repeat;
    background-size: cover;
}

/* Default (closed) */
.accordion-button {
    background-color: #f8f9fa;
    color: #000;
}

/* When OPEN */
.accordion-button:not(.collapsed) {
    background-color: var(--theme-dark-blue);
    color: #fff;
}

/* Arrow when OPEN */
.accordion-button:not(.collapsed)::after {
    filter: invert(1); /* turns it white */
}

/* Force Tempus Dominus to use Bootstrap's theme colors */
.tempus-dominus-widget {
    --td-bg: var(--theme-body-bg) !important;
    --td-color: var(--theme-body-color) !important;
}

/* Ensure the arrows/icons specifically match the text color */
.tempus-dominus-widget .next,
.tempus-dominus-widget .previous,
.tempus-dominus-widget .btn {
    color: var(--theme-body-color) !important;
}

/* Optional: Match the "active" highlight to Bootstrap's Primary color */
.tempus-dominus-widget .active {
    background-color: var(--theme-primary) !important;
    color: #fff !important; /* Usually white text on primary blue */
}

/*tempus dominus css*/

:root {
    /* Tempus Dominus overrides */
    --td-primary: var(--theme-primary);
    --td-secondary: var(--theme-secondary);
    --td-success: var(--theme-success);
    --td-danger: var(--theme-danger);
    --td-warning: var(--theme-warning);
    --td-info: var(--theme-info);

    --td-bg: var(--theme-body-bg);
    --td-text: var(--theme-body-color);

    --td-border-color: var(--theme-border-color);
    --td-border-radius: var(--theme-border-radius);
}
.td-picker {
    background-color: var(--theme-body-bg);
    color: var(--theme-body-color);
    border-radius: var(--theme-border-radius);
}

.td-picker .td-day.active,
.td-picker .td-day:hover {
    background-color: var(--theme-primary);
    color: #fff;
}

.td-picker .td-day.today {
    border: 1px solid var(--theme-primary);
}

.td-picker .td-header {
    background-color: var(--theme-primary);
    color: #fff;
}

[data-bs-theme="dark"] {
    --td-bg: #212529;
    --td-text: #f8f9fa;
    --td-primary: var(--theme-primary);
}