@charset "UTF-8";
:root, [data-bs-theme=light], [data-menu-theme=light] {
    /* Standard grays (unchanged) */
    --tblr-gray: #4c496c;
    --tblr-gray-dark: #211d3b;
    --tblr-gray-100: #f1f5f9;
    --tblr-gray-200: #e2e8f0;
    --tblr-gray-300: #c8d3e1;
    --tblr-gray-400: #c9c1d6;
    --tblr-gray-500: #736c91;
    --tblr-gray-600: #4c496c;
    --tblr-gray-700: #333152;
    --tblr-gray-800: #211d3b;
    --tblr-gray-900: #1a0f2a;

    /* Custom Branding Colors */
    --tblr-primary: #22382D;
    --tblr-heading-color: #22382D;
    --tblr-card-color: #22382D;

    --tblr-secondary: #C3D5A3;
    --tblr-success: #22382D;
    --tblr-info: #467fd0; /* kept default */
    --tblr-warning: #ffc107; /* kept default */
    --tblr-danger: #df4759;  /* kept default */
    --tblr-light: #F4FBE9;   /* used for subtle backgrounds */
    --tblr-dark: #241f2d;    /* kept default */
    --tblr-muted: #66626c;
    --tblr-tabler: #22382D;

    /* RGB versions */
    --tblr-primary-rgb: 34,56,45;
    --tblr-secondary-rgb: 195,213,163;
    --tblr-success-rgb: 97,206,112;
    --tblr-info-rgb: 70,127,208;
    --tblr-warning-rgb: 255,193,7;
    --tblr-danger-rgb: 223,71,89;
    --tblr-light-rgb: 244,251,233;
    --tblr-dark-rgb: 36,31,45;
    --tblr-muted-rgb: 102,98,108;
    --tblr-tabler-rgb: 34,56,45;

    /* Text & Emphasis */
    --tblr-primary-text-emphasis: #322a60;
    --tblr-secondary-text-emphasis: #42444b;
    --tblr-success-text-emphasis: #1a4a3c;
    --tblr-info-text-emphasis: #1c3353;
    --tblr-warning-text-emphasis: #664d03;
    --tblr-danger-text-emphasis: #591c24;
    --tblr-light-text-emphasis: #333152;
    --tblr-dark-text-emphasis: #333152;

    /* Backgrounds & Borders */
    --tblr-primary-bg-subtle: #e5e1fc;
    --tblr-secondary-bg-subtle: #edeef1;
    --tblr-success-bg-subtle: #d9f1ea;
    --tblr-info-bg-subtle: #dae5f6;
    --tblr-warning-bg-subtle: #fff3cd;
    --tblr-danger-bg-subtle: #f9dade;
    --tblr-light-bg-subtle: #F4FBE9;
    --tblr-dark-bg-subtle: #a09bbe;

    --tblr-primary-border-subtle: #cbc3f9;
    --tblr-secondary-border-subtle: #dbdde4;
    --tblr-success-border-subtle: #b3e3d5;
    --tblr-info-border-subtle: #b5ccec;
    --tblr-warning-border-subtle: #ffe69c;
    --tblr-danger-border-subtle: #f2b5bd;
    --tblr-light-border-subtle: #e2e8f0;
    --tblr-dark-border-subtle: #736c91;

    /* Body & Link */
    --tblr-body-font-size: 0.875rem;
    --tblr-body-font-weight: 400;
    --tblr-body-line-height: 1.4285714286;
    --tblr-body-color: #22382D;
    --tblr-body-color-rgb: 152,158,140;
    --tblr-body-bg: #f1f5f9;
    --tblr-body-bg-rgb: 241,245,249;
    --tblr-emphasis-color: #000;
    --tblr-emphasis-color-rgb: 0,0,0;
    --tblr-secondary-color: rgba(36,31,45,0.75);
    --tblr-secondary-color-rgb: 36,31,45;
    --tblr-secondary-bg: #e2e8f0;
    --tblr-secondary-bg-rgb: 226,232,240;
    --tblr-tertiary-color: rgba(36,31,45,0.5);
    --tblr-tertiary-color-rgb: 36,31,45;
    --tblr-tertiary-bg: #f1f5f9;
    --tblr-tertiary-bg-rgb: 241,245,249;
    --tblr-link-color: #22382D;
    --tblr-link-color-rgb: 34,56,45;
    --tblr-link-hover-color: #6354bf; /* You can adjust hover if desired */
    --tblr-link-hover-color-rgb: 99,84,191;
    --tblr-border-color: #e7e6e7;
    --tblr-border-color-translucent: rgba(102,98,108,0.16);
    --tblr-box-shadow-inset: inset 0 1px 2px rgba(0,0,0,0.075);
    --tblr-focus-ring-width: 0.25rem;
    --tblr-focus-ring-opacity: 0.25;
    --tblr-focus-ring-color: rgba(34,56,45,0.25);
    --tblr-form-valid-color: #61CE70;
    --tblr-form-valid-border-color: #61CE70;
    --tblr-form-invalid-color: #df4759;
    --tblr-form-invalid-border-color: #df4759;
    --tblr-danger-text: var(--tblr-danger);
    --tblr-navbar-border-color: transparent;
}

/* Dark theme adjustments */
[data-bs-theme=dark], [data-menu-theme=dark] {
    /* You might want to preserve some dark-specific values – these are only adjusted for our branding colors */
    --tblr-primary: #22382D;
    --tblr-secondary: #C3D5A3;
    --tblr-success: #61CE70;
    --tblr-primary-rgb: 34,56,45;
    --tblr-secondary-rgb: 195,213,163;
    --tblr-success-rgb: 97,206,112;

    /* Text: For dark theme, you may prefer lighter text – adjust as needed */
    --tblr-body-color: #c8d3e1;
    --tblr-body-color-rgb: 200,211,225;

    /* Dark background remains dark */
    --tblr-body-bg: #181818;
    --tblr-body-bg-rgb: 24,24,24;

    --tblr-emphasis-color: #fff;
    --tblr-emphasis-color-rgb: 255,255,255;

    /* Keeping other dark variables as provided, or adjust further if needed */
    --tblr-bg-surface: #221e26;
    --tblr-navbar-bg: var(--tblr-bg-surface);
    --tblr-dark-mode-border-color: #302b33;
    --tblr-bg-main-color: #181818;
    --tblr-bg-forms: var(--tblr-dark-mode-border-color);
    --tblr-danger: #E25A6A;
    --tblr-danger-rgb: 226,90,106;
    --tblr-navbar-color: rgba(255,255,255,0.7);
    --tblr-bg-surface-tertiary: #ffffff02;
    --tblr-navbar-border-color: transparent;
}
