
/* ==========================================================================
   PodUp Theme — DARK values
   MIRROR of light-theme.css: SAME variable names, DARK values.
   Edit a value here → changes DARK theme only.
   The block below (same key list/order as light-theme.css) is the edit surface.
   The LEGACY BRIDGE at the bottom is NOT a value knob — leave it as-is.
   ========================================================================== */

/* The html:has() half of this selector exists so <html> resolves the dark palette
   too. The browser paints the PAGE scrollbar from the document element, which is
   not a descendant of <body> and therefore could never see these tokens — it fell
   through to light-theme.css's :root and rendered a pale grey bar on every dark
   page. :has() re-evaluates live, so the theme toggle (js/global/theme.js rewrites
   data-theme on <body> only) still switches it without a reload. Values are
   declared once, here; nothing is duplicated. */
body[data-theme="dark"],
html:has(body[data-theme="dark"]) {
    /* ---- Surfaces ---- */
    --color-bg: #0f0f0f;
    --color-surface: #1a1a1a;
    --color-surface-2: #222222;
    --color-border: #2e2e2e;
    --color-border-soft: #242424;
    --color-dim: #3a3a3a;

    /* ---- Text ---- */
    --color-text: #FFFFFF;
    --color-text-secondary: #D1D1D1;
    --color-text-muted: #7a7672;

    /* ---- Primary (brand gold) ---- */
    --color-primary: #B0842C;
    --color-primary-light: #E0C080;
    --color-primary-dark: #B0842C;
    --color-icon-gold: #C2A032;
    --color-icon-commanColor: #C2A032;
    --color-on-primary: #1a1305;
    --gradient-primary: linear-gradient(135deg, #09BBF0 0%, #0469E7 100%);
    --gradient-primary-comman: linear-gradient(90deg, #E2C147 0%, #C8A23C 49.52%, #F1D483 100%);

    /* ---- Accents ---- */
    --color-accent-seafoam: #4CBAA6;
    --color-accent-skyblue-bright: #44A7CE;
    --color-accent-skyblue: #9FE4FF;
    --color-accent-orange: #C8642D;
    --color-accent-purple: #6366F1;
    --color-accent-purple-bg: rgba(99, 102, 241, .10);

    /* ---- Graph / category palette ---- */
    --color-graph-teal: #4CBAA6;
    --color-graph-blue: #44A7CE;
    --color-graph-rust: #C8642D;
    --color-graph-gold: #E0C080;

    /* ---- Semantic (text) ---- */
    --color-success: #4CBAA6;
    --color-warning: #b0842c;
    --color-error: #C8642D;
    --color-info: #8BDEFF;
    --color-on-success: #06231e;

    /* ---- Semantic surfaces (alerts / badges) ---- */
    --color-success-bg: rgba(76, 186, 166, .15);
    --color-success-border: rgba(76, 186, 166, .3);
    --color-warning-bg: rgba(176, 132, 44, .08);
    --color-warning-border: rgba(176, 132, 44, .25);
    --color-error-bg: rgba(200, 100, 45, .08);
    --color-error-border: rgba(200, 100, 45, .25);
    --color-info-bg: rgba(139, 222, 255, .08);
    --color-info-border: rgba(139, 222, 255, .25);

    /* ---- Typography (theme-independent — keep equal in both files) ---- */
    --font-primary: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-secondary: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-md: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 22px;
    --font-size-title:30px;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* ---- Radius (theme-independent) ---- */
    --radius-none: 0px;
    --radius-2: 2px;
    --radius-small: 3px;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-10: 10px;
    --radius-12: 12px;
    --radius-14: 14px;
    --radius-16: 16px;
    --radius-20: 20px;
    --radius-24: 24px;
    --radius-30: 30px;
    --radius-lg: 50px;
    --radius-pill: 999px;
    --radius-card: var(--radius-12);      /* used by quick-wizard.css */

    /* ---- Shadows (deeper on dark) ---- */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .5);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);

    /* ---- Interaction ---- */
    --focus-ring: 0 0 0 2px rgba(176, 132, 44, .15);
    --selected-ring: 0 0 0 3px rgba(224, 192, 128, .2);
    --selected-bg: rgba(224, 192, 128, .06);

    /* ---- Buttons ---- */
    --btn-radius: var(--radius-lg);
    --btn-padding: 9px 24px;
    --btn-font-weight: var(--font-weight-semibold);
    --btn-font-size: var(--font-size-md);
    --btn-letter-spacing: 0;
    --btn-primary-bg: linear-gradient(90deg, #E2C147 0%, #C8A23C 49.52%, #F1D483 100%);
    --btn-primary-bg-hover: linear-gradient(90deg, #E8C84F 0%, #D2AC42 49.52%, #F5DC93 100%);
    --btn-primary-color: #1F1F1F;
    --btn-primary-shadow: 0 2px 10px rgba(176, 132, 44, .30);
    --btn-primary-shadow-hover: 0 6px 20px rgba(224, 192, 128, .55);
    --btn-secondary-bg: transparent;
    --btn-secondary-color: #FFFFFF;                 /* guideline: white text, gold border */
    --btn-secondary-border: 1.5px solid var(--color-primary);
    --btn-secondary-bg-hover: rgba(176, 132, 44, .12);
    --btn-secondary-shadow-hover: 0 0 18px rgba(224, 192, 128, .45);   /* guideline: symmetric gold glow on hover */
    --btn-accent-bg: var(--gradient-primary);
    --btn-accent-bg-hover: var(--gradient-primary);
    --btn-accent-color: #ffffff;
    --btn-disconnect-bg: var(--color-surface);
    --btn-disconnect-border: var(--color-border);
    --btn-disconnect-color: var(--color-error);

    --btn-actionItem-bg: rgba(176, 132, 44, 0.33);
    --btn-actionItem-bg-hover : rgba(176, 132, 44, 0.33);
    --btn-actionItem-color : #fff;
    --btn-actionItem-border : #E0C080;

    /* Button variants (colours). Mirror of light; these variants are overridden in dark by theme.css. */
    --btn-orange-bg: linear-gradient(95deg, #08D259 3.96%, #00C09E 100%);
    --btn-orange-bg-hover: linear-gradient(180deg, #00C09E 3.96%, #08D259 100%);
    --btn-red-bg-hover: #d1372c;
    --btn-lightgray-bg: linear-gradient(180deg, #FDFDFD 0%, #F3F4F5 100%);
    --btn-lightgray-bg-hover: linear-gradient(180deg, #F3F4F5 0%, #FDFDFD 100%);
    --btn-lightgray-shadow: 0px 2px 2px rgba(81, 110, 134, 0.04);

    /* ---- Form inputs ---- */
    --input-bg: var(--color-surface-2);
    --input-color: var(--color-text);
    --input-border: var(--input-border);
    --input-radius: var(--radius-md);
    --input-radius-area: 16px;
    --input-padding: 10px 18px;
    --input-placeholder: var(--color-text-muted);
    --input-focus-border: var(--color-primary);
    --input-focus-ring: 0px none;
    --input-bg-dark: #2B2B2B;
    --input-bg-border-dark: 1px solid #2B2B2B;
    --input-color-dark: #CECECE;
    --search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c8c4bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    /* Native <select> caret — same chevron the select2 widget shows, so bare
       selects read as dropdowns too (feedback P0.2). */
    --select-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D1D1D1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

    /* ---- Form controls (checkbox / radio / switch) ---- */
    --form-accent: #B0842C;                         /* switch ON (guideline blue) */
    --form-knob: #ffffff;
    --radio-primary: #B0842C;                        /* checkbox/radio checked = same blue */
    --switch-off-bg: #3a3a3a;
    --switch-on-bg: var(--radio-primary);
    --switch-knob: #ffffff;
    --checkbox-bg: #383838;          /* unchecked box surface (dark) */
    --checkbox-border: #525252;         /* unchecked box border (dark) */
    --checkbox-checked-bg: #B0842C;    /* checked box = brand blue */
    --checkbox-accent-color : #B0842C;
    --checkbox-radius : var(--radius-small);

    /* Radio (native, accent-color tinted) */
    --radio-size: 18px;

    /* ---- Icon chip (neutral icon tile: list-item / step / service icons) ---- */
    --icon-chip-bg: var(--color-surface-2);
    --icon-chip-border: var(--color-border);
    --icon-chip-color: var(--color-text-secondary);

    /* ---- Status colours (SINGLE SOURCE — every status badge/label, all pages) ---- */
    --status-completed: var(--color-accent-seafoam);        /* Completed / Done / Ready */
    --status-processing: var(--color-accent-orange);        /* In-process / Processing */
    --status-pending: var(--color-accent-skyblue-bright);   /* Pending / Draft */
    --status-error: var(--wizard-rust-red);                 /* Error / Failed */

    /* ---- Tabs ---- */
    --tab-color: var(--color-text-secondary);
    --tab-active-bg: #b0842c;
    --tab-active-color: #FFF;
    --tab-radius: 8px;
    
    /* ---- Pagination — new palette (dark) ---- */
    --pagination-bgcolor-new: #333333;
    --pagination-bordercolor-new: #fff;
    --pagination-textcolor-active-new: #000;
    --pagination-textcolor-new: #fff;

    --pagination-size: 40px;
    --pagination-radius: var(--radius-md);
    --pagination-gap: 8px;
    --pagination-bg: var(--pagination-bgcolor-new);
    --pagination-color: var(--pagination-textcolor-new);
    --pagination-border: 1px solid var(--pagination-bordercolor-new);
    --pagination-hover-border: var(--pagination-bordercolor-new);
    --pagination-hover-color: var(--pagination-textcolor-new);
    --pagination-active-bg: var(--pagination-bordercolor-new);
    --pagination-active-color: var(--pagination-textcolor-active-new);
    --pagination-disabled-color: var(--color-text-muted);
    --pagination-nav-bg: transparent;
    --pagination-nav-color: var(--color-text-secondary);
    --pagination-nav-hover-color: var(--color-text);
    --pagination-prev-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none'%3E%3Cpath d='M6 1L1 6L6 11' stroke='%23c8c4bc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --pagination-next-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none'%3E%3Cpath d='M1 1L6 6L1 11' stroke='%23c8c4bc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    /* ---- Modals / popups ---- */
    --modal-bg: var(--color-surface);
    --modal-text: var(--color-text);
    --modal-title: var(--color-text);
    --modal-muted: var(--color-text-secondary);
    --modal-close-bg: #747474;
    --modal-close-bg-hover: #8a8a8a;

    /* ---- Cards / surfaces (module cards) ---- */
    --studio-card-bg: var(--color-surface);
    --studio-card-border: var(--color-border);
    --filemanager-bg: var(--color-surface);
    --filemanager-text: var(--color-text);
    --filemanager-border: var(--color-border);
    --social-info-bg: var(--color-surface-2);

    /* ---- Thumbnail-listing action icons (.thumbnaillisting_wrap .single_action a) ---- */
    --single-action-bg: var(--color-surface-2);
    --single-action-color: var(--color-text-secondary);
    --single-action-hover-color: var(--color-text);

    /* ---- Loader overlay veil (.new-social-loader etc.) ---- */

    /* ---- Scheduler calendar "add" (+) affordance on future days ---- */
    --calendar-add-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='12' fill='%23222222' stroke='%233a3a3a'/%3E%3Cpath d='M13 7v12M7 13h12' stroke='%23E0C080' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");

    /* ---- Tags input (.bootstrap-tagsinput) ----
       Must be the SAME field colour as the select2 multi-select used by Blog
       Category (--input-bg-dark, theme.css:965), not --color-surface-2. The
       chips inside are --color-surface-2; when the field was also
       --color-surface-2 the chips had zero contrast and disappeared into it,
       while Category's chips sat visibly on the lighter field. */
    --tagsinput-bg: var(--input-bg-dark);
    --tagsinput-border: var(--color-border);
    --tagsinput-text: var(--color-text);

    /* ---- Form Builder (jQuery formBuilder: /crmform, Interview Questions) ----
       The plugin's skin in app-style.css hardcodes a blue-on-white palette
       (#ffffff, #f1f6f9, #DEEDF6, #DEE6EB, rgba(31,132,194,.15), #414141,
       #A8A8A8) with no theme hooks, so the page was unreadable in dark and
       off-brand in light. These are the knobs; the rules live in theme.css. */
    --fb-palette-bg: var(--color-surface);              /* control list surface   */
    --fb-palette-item-bg: var(--color-surface);         /* draggable field chip   */
    --fb-palette-item-hover-bg: var(--color-surface-2);
    --fb-palette-item-text: var(--color-text-secondary);
    --fb-palette-item-hover-text: var(--color-text);
    --fb-palette-border: var(--color-border);
    --fb-palette-icon: var(--color-primary-light);

    --fb-stage-bg: transparent;                         /* canvas behind cards    */
    --fb-card-bg: var(--color-surface);                 /* one field on the stage */
    --fb-card-border: var(--color-border);
    --fb-card-hover-border: var(--color-primary);
    --fb-card-shadow: none;
    --fb-card-hover-shadow: var(--shadow-md);

    --fb-heading-text: var(--color-text);               /* header-field <h1>      */
    --fb-label-text: var(--color-text-secondary);       /* .field-label           */

    --fb-edit-bg: var(--color-surface-2);               /* expanded edit panel    */
    --fb-edit-border: var(--color-border);
    --fb-edit-label-text: var(--color-text-secondary);
    --fb-option-row-bg: var(--color-bg);                /* .sortable-options rows */

    --fb-action-bg: transparent;                        /* per-card icon buttons  */
    --fb-action-border: var(--color-border);
    --fb-action-color: var(--color-text-secondary);
    --fb-action-hover-bg: var(--color-surface-2);
    --fb-action-hover-color: var(--color-primary-light);
    --fb-action-danger-color: var(--color-error);

    /* ---- Misc text ---- */
    --help-note-text: var(--color-text-secondary);
    --credit-text: var(--color-text-secondary);
    --credit-label: var(--color-text-secondary);
    --credit-count: var(--color-text);

    /* ---- Studio misc ---- */
    --icon-highlight-gradient: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    --studio-tab-active-bg: #B0842C;
    --studio-tab-active-color: #ffffff;

    /* ---- Shared chrome (header + sidebar + toggle) ---- */
    --chrome-header-bg: #1f1f1f;
    --chrome-header-text: #f0ede6;
    --chrome-surface: var(--color-dim);
    --chrome-surface-hover: #2a2a2a;
    --chrome-icon: #d1d5db;
    --chrome-icon-hover: var(--color-primary-light);
    --chrome-toggle-border: var(--color-dim);
    --chrome-profile-surface: var(--color-surface-2);
    --chrome-profile-border: var(--color-border);
    --chrome-profile-icon: var(--color-text-secondary);


    /* ---- Newsletter / Email Marketer (Mailcoach) module ----
       The /newsletter (mailcoach) pages still use the OLD ".main-menu menu-light"
       sidebar (styled light by app-style.css) instead of the app's new dark
       chrome, so the module needs its own token set. Consumed by the
       ".mailcoach_body" rules in theme.css. Mirror in light-theme.css. */
    --nl-sidebar-bg: var(--color-surface);          /* left sidebar surface */
    --nl-sidebar-text: var(--color-text);           /* inactive item text */
    --nl-sidebar-active: var(--color-primary);/* active item text = gold */
    --nl-sidebar-active-bg: var(--color-surface-2); /* active/hover row bg */
    --nl-sidebar-icon: var(--color-text);           /* inactive menu icons = white; active = --nl-sidebar-active */
    --nl-sidebar-border: var(--color-border);
    --nl-header-bg: var(--chrome-header-bg);         /* top breadcrumb bar */
    --nl-header-text: var(--chrome-header-text);
    --nl-content-bg: var(--color-bg);               /* page canvas */
    --nl-surface: var(--color-surface);             /* cards / panels */
    --nl-border: var(--color-border);
    --nl-text: var(--color-text);
    --nl-text-muted: var(--color-text-muted);
    --nl-tab-active: var(--color-primary-light);     /* submenu / filter tab */
    --nl-tab-active-bg: var(--color-surface-2);

    /* ======================================================================
       LEGACY BRIDGE — dark only. NOT a value knob.
       Remaps the app's old design-system vars (navigation.css :root) to the
       tokens above so existing modules re-theme without per-module edits.
       Light gets these from navigation.css already; do not mirror here.
       ====================================================================== */
    --bg: var(--color-bg);
    --whiteText: #FFFFFF;
    --whiteBg: var(--color-surface);
    --boxBg: var(--color-surface-2);
    --icon: var(--color-text-secondary);
    --lightLine: var(--color-border);
    --darkLine: var(--color-dim);
    --textShade1: var(--color-text);
    --textShade2: var(--color-text-secondary);
    --textShade3: var(--color-text-secondary);
    --textShade4: var(--color-text-muted);
    --primary: var(--color-primary);
    --darkPrimary: var(--color-primary);
    --secondary: #FF6600;
    --darkSecondary: #ED5F00;
    --lightPrimary: var(--color-warning-bg);
    --error: var(--color-error);
    --success: var(--color-success);
    --alert: var(--color-warning);
    --Information: var(--color-info);
    --lightError: var(--color-error-bg);
    --lightSuccess: var(--color-success-bg);
    --lightAlert: var(--color-warning-bg);
    --lightInformation: var(--color-info-bg);
    /* Left sidebar (navy) */
    --navyBlueDark: #000000;    /* sidebar background       */
    --navyBlueLight1: #1f1f1f;  /* active / hover / submenu */
    --navyBlueLight2: #2b2b2b;  /* secondary hover          */
    --navyBlueLight3: #08273E;
    --navyBlueLight4: #041B2B;
    --navyTextcolor: #fff;   /* sidebar label            */
    --navyTextC0D2: #D1D5DB;    /* submenu label            */
    --navyIcon3267: #D1D5DB;    /* sidebar/submenu icon     */
    --navyIconHover79A4: #D1D5DB;
    --navyTitleColor16B7: #16B7F9; /* group title           */
    --sidebar-icon: #C0C0C0;
    --sidebar-active-icon : #B0842C;
    --sidebar-active-textColor : #fff;



    /* ---- Wizard left nav ---- */
    --wizard-nav-bg:            var(--color-surface);         /* sidebar background          */
    --wizard-nav-text:          var(--color-text);            /* step label                  */
    --wizard-nav-icon:          var(--color-text);            /* step number/icon             */
    --wizard-step-pending-bg:     rgba(255,255,255,0.06);      /* pending circle background    */
    --wizard-step-pending-border: rgba(255,255,255,0.22);      /* pending circle border        */
    
    --wizard-step-done:           var(--color-success);        /* done step circle             */
    --wizard-step-done-icon:      #ffffff;                     /* checkmark icon               */
    --wizard-step-skip:           var(--color-primary-light);  /* skipped step — gold          */
    --wizard-step-skip-icon:      #ffffff;  
    --wizard-active-text-new : #B0842C;
    --wizard-active-border-new : #070706 ;
    --wizard-active-bg-new : rgba(176, 132, 44, 0.10);
    --wizard-active-num-text:     #fff;      /* completed step circle checkmark text — used by quick-wizard.css */



--wizard-step-active:         #fff;          /* current step text     */
--wizard-step-active-bg:      rgba(176, 132, 44, 0.10);       /* current step row background  */
--wizard-step-active-icon: #B0842C; /* icon color active  */
--wizard-step-active-icon-border: #B0842C; /* icon color active  */

--wizard-complete : #FFF;
--wizard-complete-bg-icon : #4CBAA6;
--wizard-complete-icon-border: #4CBAA6; /* icon color active  */
--wizard-complete-text-color : #fff;

--wizard-sidebar-item : #D1D1D1;
--wizard-sidebar-num-fg : #828282; /* rounded border and circle text */
--wizard-sidebar-num-bg : transparent;


    /* New variable */
    --deleteIcon: #B85050;
    --deleteBorder : #b8505018;
    --deleteBackground : #B85050;
    --deleteBgIcon: #fff;

    --viewIcon : #44A7CE;
    --viewBorder : #44a7ce18;
    --viewBackground : #44A7CE;
    --viewBgIcon : #fff;

   /* Icon colors list*/
    --IconlistColor : #B0842C;
    --IconlistColor-white : #fff;
    --IconlistColor-secondary : #000;
    --IconLogoColor: #B0842C;

   /* ---- Buttons ---- */
   --btn-tertiary-bg: transparent;
   --btn-tertiary-color: #FFFFFF;
   --btn-tertiary-border: 1.5px solid var(--color-primary-light);
   --btn-tertiary-bg-hover: rgba(176, 132, 44, .12);
   --btn-tertiary-shadow-hover: 0 4px 16px rgba(224, 192, 128, .30);

   --btn-quaternary-bg: #4CBAA6;
   --btn-quaternary-color: #fff;
   --btn-quaternary-border: 1.5px solid #4CBAA6;
   --btn-quaternary-bg-hover: #4CBAA6;
   --btn-quaternary-shadow-hover: 0 4px 16px rgb(146 146 146 / 40%);

   --btn-quinary-bg: #C8642D;
   --btn-quinary-color: #fff;
   --btn-quinary-border: 1.5px solid #C8642D;
   --btn-quinary-bg-hover: #C8642D;
   --btn-quinary-shadow-hover: none;
   
   /* Pagination */
   --pagination-border-color: rgba(209, 213, 219, 0.42);
   --pagination-text-color: rgba(229, 231, 235, 1);
   --pagination-text-color-2: rgba(209, 213, 219, 0.42);

   --pagination-hover-bg-color:rgba(191, 191, 191, 1);
   --pagination-hover-text-color:rgba(26, 18, 0, 1); 
   --pagination-hover-border-color: rgba(191, 191, 191, 1);

   /* heading icon */
   --icon-bg-color: linear-gradient(95deg, #08D259 3.96%, #00C09E 100%);

   /* AI Text Color */
   --light-green:#08D259;
   --light-green-contrast-30: rgba(8, 210, 89, .30);
   --light-green-contrast-15: rgba(8, 210, 189, .15);
   
   /* input */   
   --select-option-bg-hover: #B0842C;
   --select-option-text-hover: #ffffff;

   /* plan box */
   --plan-box-bg: #222;
   --plan-box-border-color:#2e2e2e;
   --plan-box-icon-bg-color:#292929;
   --plan-box-icon-text-color:#fff;
   --plan-box-heading-color:rgba(232, 232, 240, 0.5);
   --plan-box-text-color:#ffffff;

   --plan-box-hover-bg: #1D1D1D;
   --plan-box-hover-border-color:#B0842C;
   --plan-box-hover-icon-bg-color:#B0842C;
   --plan-box-hover-icon-text-color:#ffffff;
   --plan-box-hover-heading-color: #B0842C;
   --plan-box-hover-text-color:#B0842C;

   /* font-size */
   --font-size-xxl: 24px;
   --font-size-30: 30px;
   --font-size-16: 16px;
   /* --font-size-base: 14px; */
   --WizardTextColorLogo : var(--color-text);
   
    /* ======================================================================
       COMPONENT CONTRACTS — geometry + typography tokens
       Mirror block: IDENTICAL keys to light-theme.css. Values are var()-based
       so they resolve to this theme's (dark) colours; change a value here to
       restyle that property for THIS (dark) theme only.
       Rules that CONSUME them live in theme.css, wired component-by-component.
       ====================================================================== */

    /* ---- Tier-1 primitives (theme-independent) ---- */
    --space-0: 0;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --line-tight: 1.2;
    --line-base: 1.5;
    --line-loose: 1.7;
    --border-width: 1px;
    --border-width-2: 1.5px;

    /* ---- Buttons (shape — extends existing --btn-*) ---- */
    --btn-font-family: var(--font-primary);
    --btn-height: 44px;                               /* = current .w3nbtn base */
    --btn-margin: 0;
    --btn-border-width: var(--border-width-2);

    /* ---- Forms / inputs (shape — extends existing --input-*) ---- */
    --input-font-family: var(--font-primary);
    --input-font-size: var(--font-size-md);
    --input-font-weight: var(--font-weight-regular);
    --input-height: 42px;                             /* = current form .form-control base (dark rule sets radius/padding) */
    --input-margin: 0;
    --input-border-width: var(--border-width);
    --form-label-color: var(--textShade2);            /* light #46545A / dark #D1D1D1 */
    --seo-label-color: var(--color-text);             /* SEO tab Title/Description/URL labels — white on dark */
    --form-label-font-size: var(--font-size-md);      /* 14px = current */
    --form-label-font-weight: var(--font-weight-regular); /* 400 = current */
    --form-label-margin: 0 0 12px 0;                  /* = current */
    --form-gap: var(--space-4);

    /* ---- Titles / headings (values = current look) ---- */
    --title-font-family: var(--font-primary);
    --title-color: var(--textShade1);                 /* current heading colour (bridge: light #1C2224 / dark #fff) */
    --title-font-weight: var(--font-weight-semibold); /* 600 = current h4/h5 */
    --title-letter-spacing: normal;
    --title-line-height: 1.125;                       /* = current h4/h5 */
    --title-h4-size: 1.6rem;                          /* = current h4 */
    --title-h4-margin: 0 0 24px 0;                    /* = current h4 */
    --title-h5-size: 1.4rem;                          /* = current h5 */
    --title-h5-margin: 0 0 16px 0;                    /* = current h5 */
    --title-page-size: 3.0rem;                        /* = current .page_titlemn h2 */
    --title-page-color: var(--textShade1);
    /* Available (not yet wired — contextual headings) */
    --title-margin: 0 0 var(--space-3);
    --title-h1-size: var(--font-size-xl);
    --title-h2-size: var(--font-size-lg);
    --title-h3-size: 16px;
    --title-h6-size: var(--font-size-sm);
    --label-color: var(--color-text-secondary);
    --label-font-size: var(--font-size-md);
    --label-font-weight: var(--font-weight-medium);
    --label-letter-spacing: .1em;
    --label-text-transform: capitalize;

    /* ---- Tables (values = current look) ---- */
    --table-head-bg: transparent;                    /* = current thead th (dark overridden transparent by theme.css) */
    --table-head-color: var(--textShade1);            /* = current thead th */
    --table-head-font-size: 1.4rem;                   /* = current thead th */
    --table-head-font-weight: var(--font-weight-semibold); /* 600 = current */
    --table-head-padding: 10px 20px;                  /* = current thead th */
    --table-head-transform: none;                     /* current headers are NOT uppercase */
    --table-cell-color: var(--textShade1);            /* = current td */
    --table-cell-font-size: 1.4rem;                   /* = current td */
    --table-cell-font-weight: var(--font-weight-regular); /* 400 = current td */
    --table-cell-padding: 18px 20px;                  /* = current td */
    --table-radius: var(--radius-none);                 /* 8px = current head corners */
    --table-border: var(--border-width) solid var(--lightLine);
    --table-row-hover-bg: var(--color-surface-2);     /* dark row-hover; light has none */
    --table-stripe-bg: transparent;

    /* ---- Pagination (extends existing --pagination-*) ---- */
    --pagination-font-size: var(--font-size-md);
    --pagination-font-weight: var(--font-weight-medium);
    --pagination-border-width: var(--border-width);

    /* ---- Dropdowns / menus (geometry shared; colours overridden in dark by theme.css) ---- */
    --dropdown-bg: var(--color-surface);
    --dropdown-border: none;
    --dropdown-radius: 12px;                          /* = current (shared geometry) */
    --dropdown-shadow: var(--shadow-md);
    --dropdown-padding: 10px;                         /* = current (shared geometry) */
    --dropdown-item-color: var(--color-text);
    --dropdown-item-font-size: var(--font-size-sm);   /* 12px (shared) */
    --dropdown-item-height: 36px;                     /* (shared) */
    --dropdown-item-padding: 0 12px;                  /* (shared) */
    --dropdown-item-radius: var(--radius-sm);         /* 6px (shared) */
    --dropdown-item-hover-bg: var(--color-surface-2);
    --dropdown-item-hover-color: var(--color-text);

    /* ---- Tabs (extends existing --tab-*) ---- */
    --tab-font-size: 15px;                            /* = current .sh_tab_wrap */
    --tab-font-weight: var(--font-weight-medium);     /* 500 = current */
    --tab-padding: 6px 14px;                          /* = current .sh_tab_wrap */

    /* ---- Cards / panels (geometry shared; bg overridden in dark by theme.css) ---- */
    --card-bg: var(--color-surface);
    --card-color: var(--color-text);
    --card-border: none;
    --card-radius: 12px;                              /* = current (shared) */
    --card-padding: 30px;                             /* = current (shared) */
    --card-shadow: 0px 2px 4px 0px rgba(9, 25, 36, 0.10); /* = current (shared) */
    --card-header-bg: var(--color-surface-2);
    --card-header-color: var(--color-text);

    /* ---- Badges / status pills (geometry shared; colours via variants) ---- */
    --badge-font-size: var(--font-size-md);           /* 14px = current */
    --badge-font-weight: var(--font-weight-regular);  /* 400 = current */
    --badge-height: 26px;                             /* = current */
    --badge-padding: 0 12px;                          /* = current */
    --badge-radius: var(--radius-sm);                 /* 6px = current */

    /* ---- Modals / popups (geometry — extends existing --modal-*) ---- */
    --modal-radius: 10px;                             /* = current body .modal-content */
    --modal-padding: var(--space-5);                  /* 24px = current .modal-body */
    --modal-header-border: var(--border-width) solid var(--color-border);

    /* ---- Add-episode tag link (.add_episodes_wrap a) ---- */
    --add-ep-tag-height: 22px;
    --add-ep-tag-padding: 0 7px;
    --add-ep-tag-radius: 6px;
    --add-ep-tag-color: var(--primary);               /* light #B0842C / dark gold */

    /* ---- Permalink label (.inside-permalink strong) ---- */
    --permalink-label-color: var(--color-text-secondary); /* themed for dark (#D1D1D1); was #414141 (invisible) */


    
   /* pawan new add variable */
    
   /* contrast */

   /* ---- Buttons ---- */
   --btn-primary-accent-shadow-hover: 0 4px 16px rgba(224, 192, 128, .30);

   --btn-secondary-bg-white:transparent;
   --btn-secondary-dark-color:#FFFFFF;
   --btn-secondary-dark-border:1.5px solid var(--color-primary-light);
   --btn-secondary-dark-box-shadow: 0 4px 16px rgba(224, 192, 128, .30);
   
   /* edit btn */
   --edit-btn-color: #2D90D0 !important;
   --edit-btn-bg-color: var(--color-graph-blue-contrast-20) !important;
   --edit-btn-border: rgb(68 167 206 / 35%) !important;

   /* input */   
   --input-hover-border-blue: #B0842C;
   --pill-border-color: #B0842C;

   /* Pagination */


   /* heading icon */
      /* heading icon */
   --icon-style-box-bg-color: rgba(255, 255, 255, 0.1);
   /* heading icon bg color */
   --icon-style-box-border: 1.5px solid rgba(255, 255, 255, 0.5);
   /* heading icon border color */
   --icon-style-box-color: #FFFFFF;
   /* heading icon text or svg icon color */
   --icon-style-box-border-radius: 8px;
   /* heading icon 12px border-radius */
   --icon-style-box-base-color: #fff;
   

   /* AI Text Color */
   --badge-highlight-text-color: #FFF;
   --badge-highlight-border-color: #B0842C;
   --badge-highlight-bg-color: #B0842C;
   --badge-highlight-border-radius: 40px;
   

   /* plan box */
    --plan-box-bg: #161619;
    --plan-box-border-color: #303030;
    --plan-box-icon-bg-color: rgba(255, 255, 255, 0.1);
    --plan-box-icon-text-color: #FFFFFF;
    --plan-box-icon-border-color: rgba(255, 255, 255, 0.5);
    --plan-box-heading-color: #EFEFEF;
    --plan-box-text-color: #828282;

    --plan-box-hover-bg: rgba(176, 132, 44, 0.05);
    --plan-box-hover-border-color: #B0842C;
    --plan-box-hover-icon-bg-color: rgba(255, 255, 255, 0.1);
    --plan-box-hover-icon-text-color: #ffffff;
    --plan-box-hover-icon-border-color: rgba(255, 255, 255, 0.5);
    --plan-box-hover-heading-color: #EFEFEF;
    --plan-box-hover-text-color: #828282;

   /* font-size */

    /* ---- Stripe Config Banner ---- */
    --stripe-banner-bg: var(--color-warning-bg);
    --stripe-banner-border: var(--color-warning-border);
    --stripe-banner-text: var(--color-warning);

     /* pawan podup seo modules new component start */
    --sidebar-step-d-active-tab-bg-color:#0F0F13;
    --sidebar-step-d-active-tab-text-color:#828282;
    --sidebar-step-d-active-tab-border-color:#828282;
    --sidebar-step-d-active-tab-label-color:#D1D1D1;

    --sidebar-step-active-tab-bg-color:#1E282C;
    --sidebar-step-active-tab-text-color:#B0842C;
    --sidebar-step-active-tab-border-color: #B0842C;
    --sidebar-step-active-tab-label-color:#B0842C;

    --sidebar-step-completed-tab-bg-color:#4CBAA6;
    --sidebar-step-completed-tab-text-color:#FFFFFF;
    --sidebar-step-completed-tab-border-color:#4CBAA6;
    --sidebar-step-completed-tab-label-color:#4CBAA6;
    
  --checkbox-d-select-bg-color: transparent;
   --checkbox-d-select-border-color: #595959;
   --checkbox-select-bg-color: #B0842C;
   
   --checkbox-select-border-color: #B0842C;

    --color-light-blue-bg: #f2f6f8;
    /* pawan podup seo modules new component end */

    /* ---- AI generation loader / progress ring (golden touch) ---- */
    --loader-track: var(--color-surface-2);             /* faint ring behind the sweep */
    --loader-fill-1: var(--color-primary);              /* sweep tail */
    --loader-fill-2: var(--color-primary-light);        /* sweep body */
    --loader-fill-3: var(--color-icon-gold);            /* sweep head (brightest) */
    --loader-overlay-bg: rgba(15, 15, 15, 0.72);        /* scrim for overlay loaders */
    --loader-message-color: var(--color-primary-light); /* "Generating…" text = gold */

    /* ---- AI result action buttons (save / delete / download) ---- */
    --result-action-bg: var(--color-surface-2);
    --result-action-border: var(--color-border);
    --result-action-color: var(--color-text-secondary);
    --result-action-hover-bg: var(--color-warning-bg);
    --result-action-hover-color: var(--color-primary-light);
    --result-action-hover-border: var(--color-primary-light);
    --result-action-save-bg: var(--btn-orange-bg);
    --result-action-save-bg-hover: var(--btn-orange-bg-hover);
    --result-action-save-color: var(--whiteText);
    --result-action-save-shadow: 0 4px 16px var(--light-green-contrast-30);
    --result-action-delete-bg: var(--deleteBackground);
    --result-action-delete-color: var(--deleteBgIcon);

    /* ── ProRepurposer wizard tokens (shared by all wizards) — DARK ── */
    /* Accent (selected/active/tabs/outline-buttons/gold-brand) + hyperlinks.
       Sky-blue in light, gold in dark. rgba tints via color-mix on these. */
    --wizard-accent: var(--color-primary);
    --wizard-accent-hover: var(--color-primary-dark);
    --wizard-link: var(--color-primary);
    --wizard-link-hover: var(--color-primary-dark);

    /* ---- Wizard Tabs variables (active = solid fill; gold in dark) ---- */
    --wiz-tab-bg-color: transparent;
    --wiz-tab-border-color: #3a3a3a;
    --wiz-tab-text-color: var(--color-text-secondary);
    --wiz-tab-active-bg-color: var(--color-primary);
    --wiz-tab-active-border-color: var(--color-primary);
    --wiz-tab-active-text-color: #fff;
    --wiz-tab-border-radius:var(--radius-pill);

    /* Blue / success (no close global twin) */
    --wizard-blue: #2563eb;
    --wizard-blue-50: #eff6ff;
    --wizard-success: #059669;
    --wizard-success-hover: #047857;
    /* Brand hues */
    --wizard-sky-blue-dark: #3590B5;
    --wizard-gold-yellow: #FFB814;
    --wizard-sky-bright: #16b7f9;
    --wizard-sedge-green: #87A07A;
    --wizard-rust-red: #B34A3A;
    --wizard-icon-color: #C9915A;
    /* Status text */
    --wizard-success-text: #5FD0BC;
    --wizard-danger-text: #F87171;
    --wizard-warn-text: #B0842C;
    --wizard-brand-success-text: #2E8A78;
    --wizard-warn-text-lightdark-goldblue: #B0842C;

    /* Misc constants */
    --wizard-on-sky-deep: #0d3a5c;
    --wizard-status-neutral: #A2A2A2;
    --wizard-danger-strong: #dc2626;
    --wizard-text-offwhite: #E6E6E6;
    /* Font */
    --wizard-font-weight-extrabold: 800;
    --wizard-font-size-3xl: 26px;
    /* Sidebar item */
    --wizard-sidebar-item-skipped: #fbbf24;
    --wizard-sidebar-item-skipped-ink: #78350f;

    /* warning alert message */
    --alert-warning-box-border : #B0842C;
    --alert-warning-box-bg : #1a1a1a ;
    --alert-warning-box-title : #B0842C;
    --alert-warning-box-subtitle : var(--color-text-secondary);
    --alert-warning-box-icon-bg : #B0842C ;
    --alert-warning-box-icon-color : #fff ;

    --upload-box-bg: #1A1A1A;
    --upload-box-border-color: rgba(176, 132, 44, 0.4);
    --upload-box-icon-bg-color: #1A1A1A;
    --upload-box-icon-text-color: #B0842C;
    --upload-box-icon-border-color: #353535;
    --upload-box-heading-color: #B0842C;
    --upload-box-text-color: #D1D1D1;

   --gridentbox-new : linear-gradient(120deg, rgba(120, 90, 30, 0.55) 0%, rgba(45, 33, 12, 0.92) 58%, var(--color-bg) 100%);
   
   /* New variable for all podup backend pages */
   --card-box-bgcolor : transparent;
   --card-box-radiusnew : var(--radius-none);
   --car-padding-pages-new : 0px;

   /* ---- Engager / Social Inbox module (/socialinbox) — DARK ---- */
   --engager-panel-bg: var(--color-surface);        /* left accounts / list / chat panels */
   --engager-panel-shadow: var(--shadow-md);
   --engager-border: var(--color-border);           /* card + row dividers (was #D9E3EA) */
   --engager-inner-bg: var(--color-surface-2);      /* chat bubble + reply textarea (was #F3F6F8) */
   --engager-active-bg: linear-gradient(95deg, rgba(224,192,128,.22) 3.96%, rgba(176,132,44,.22) 100%); /* selected row = gold tint */
   --engager-notif-bg: rgba(176, 132, 44, 0.18);    /* notification count badge = gold tint (red is reserved for errors) */
   --engager-notif-color: var(--color-primary-light);
   --engager-thread-line: #555555;                  /* reply thread connector line */
   --engager-heading: var(--color-text);
   --engager-text-muted: var(--color-text-secondary);
   --engager-toggle-bg: rgba(176, 132, 44, 0.18);   /* collapse hamburger chip (gold tint) */
   --engager-toggle-icon: var(--color-primary-light); /* hamburger icon = gold (was #000) */

   --red-error-border: #dc2626;
   --red-error-textColor: #dc2626;
   --red-error-IconColor: #dc2626;

   /* update new variable for box new color */
   --bgbluebgdarkgray : #222222;
   --borderprimary-box : #B0842C;
   --boxtitle2 : #FFF;
   --claimbtn-box2 : #FFF;
   --claimbtn-box-text2 : #222222;

   /* cancel-funnel loader spinner (gold in dark) */
   --cancel-loader-color : #B0842C;

   /* Header apps menu (#mmodule-menu) — the module grid dropdown. Markup + base
      CSS come from the remote theme API (white panel, blue icons), so the whole
      panel is themed through these tokens. Icons are flat <img> SVGs, hence the
      filter chain rather than a colour. */
   --appsmenu-toggle-filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(560%) hue-rotate(2deg) brightness(95%) contrast(90%); /* dots → gold */
   --appsmenu-panel-bg: var(--color-surface);
   --appsmenu-panel-border: 1px solid var(--color-border);
   --appsmenu-panel-shadow: 0 12px 32px rgba(0, 0, 0, .60);
   --appsmenu-item-color: var(--color-text);
   --appsmenu-item-hover-bg: rgba(176, 132, 44, .18);
   --appsmenu-item-hover-color: var(--color-primary-light);
   --appsmenu-icon-filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(560%) hue-rotate(2deg) brightness(95%) contrast(90%); /* module icons → gold */

   /* Mailcoach / Email Integrator help box — x-mailcoach::help = .alert.alert-info
      (e.g. "No campaigns yet, but you'll need a list first…"). Gold in dark. */
   --mc-help-bg: var(--color-warning-bg);
   --mc-help-border: var(--color-warning-border);
   --mc-help-text: var(--color-warning);
   --mc-help-link: var(--color-primary-light);

   /* colorforleft-sidebar-locked */
   --bgcolor-featureslock : #303030;
   --color-title-locked : #fff;
   --color-title-secondary : #d1d1d1;

   /* recorder new variables start */
   --btn-default-new-bgcolor : #3a3a3a;
   --btn-default-text-color : #fff;
   --btn-default-icon-color : #fff;
   --btn-default-border : #3a3a3a;

   --prejoin-select-big-bgcolor : #4a4a4a;
   --prejoin-select-big-iconcolor : #e5e7eb;
   --prejoin-select-big-textcolor : rgb(255 255 255 / 60%);
   --prejoin-checkboxnew : #B0842C;
   --prejoin-checkbox-border : #FFF;
   /* prejoin checkbox / radio states (brand: gold when selected) */
   --prejoin-checkbox-bg : #3A3A3A;
   --prejoin-checkbox-border-idle : rgba(255, 255, 255, .22);
   --prejoin-checkbox-border-hover : rgba(255, 255, 255, .40);
   --prejoin-checkbox-tick : #FFFFFF;
   --prejoin-checkbox-focus-ring : rgba(176, 132, 44, .35);

   --recorder-textcolor : #fff;
   --recorder-bgcolor : #fff;
   --recorder-bordercolor : #fff;
   --recorder-iconcolornew : #FFF;

   --recorder-bgcolor-1 : #000;
   --recorder-bgcolor-2 : #1a1a1a;
   --recorder-bgcolor-3 : #2a2a2a;
   --recorder-bgcolor-4 : #000;
   --recorder-bgcolor-transparent : transparent;

   /* recorder IconBox Color*/
   --recorder-iconbox-bgcolor : #4A4A4A;
   --recorder-iconbox-bordercolor : #4A4A4A;
   --recorder-iconbox-textcolor : #FFF;
   --recorder-iconcolornew-header : #000;


   --recorder-iconbox-opacitybgcolor : #f9cc7163;
   --active-toggle-recorder : #b0842c;
   --footercenter-border : #323232;
   --recorderwhitetext : #fff;

   --recorderRedColor: #EF4444;


   /* recorder new variables end */

}

