/* ========================================================================== */
/*  PAGE | DASHBOARD                                                          */
/* ========================================================================== */

body[data-theme-mode="dark"] #pg-dashboard .rp-stat-card,
body[data-theme-mode="dark"] #pg-reports .rp-stat-card { background: var(--gsw-dark-surface) !important; border-color: var(--gsw-dark-border) !important; color: var(--gsw-dark-text) !important; box-shadow: none !important; }

body[data-theme-mode="dark"] :is(#pg-dashboard, #pg-reports) .rp-stat-card::after { background: radial-gradient(circle, rgba(148, 163, 184, .12) 0%, rgba(148, 163, 184, 0) 70%); }
body[data-theme-mode="dark"] :is(#pg-dashboard .rp-stat-info h3, #pg-reports .rp-stat-info h3, #pg-reports .rp-cmp-item .s, #pg-reports .rp-user-meta-item .v) { color: #ffffff !important; }
body[data-theme-mode="dark"] :is(#pg-dashboard .rp-stat-label, #pg-dashboard .rp-stat-mini, #pg-reports .rp-stat-label, #pg-reports .rp-stat-mini, #pg-reports .rp-panel-note, #pg-reports .rp-section-note, #pg-reports .rp-user-mail, #pg-reports .rp-compare-head, #pg-reports .rp-cmp-item .k, #pg-reports .rp-cmp-item .d, #pg-reports .rp-loading-card, #pg-reports .rp-user-meta-item .k, #pg-reports .rp-sub) { color: #e5e7eb !important; }
body[data-theme-mode="dark"] :is(#pg-dashboard .rp-stat-icon, #pg-reports .rp-stat-icon) { background: rgba(34, 49, 74, .34); opacity: .28; }

body[data-theme-mode="dark"] #pg-dashboard .d-license-info { background: radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 24%, transparent 76%) 0%, transparent 40%), linear-gradient(135deg, #050505 0%, #0a0a0a 100%); border-color: var(--gsw-dark-border) !important; box-shadow: none; color: #f8fafc; }
body[data-theme-mode="dark"] #pg-dashboard .d-license-info::before { background: linear-gradient(110deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, 0) 48%); }
body[data-theme-mode="dark"] #pg-dashboard .d-license-info::after { background: none; }
body[data-theme-mode="dark"] #pg-dashboard .d-license-bubble { background: color-mix(in srgb, var(--primary) 22%, transparent 78%); opacity: .24; filter: none; }
body[data-theme-mode="dark"] #pg-dashboard .d-license-icon { background: rgba(15, 23, 42, .88); border-color: var(--gsw-dark-border); box-shadow: none; }
body[data-theme-mode="dark"] #pg-dashboard .d-license-icon::before { border-color: rgba(148, 163, 184, .18); }
body[data-theme-mode="dark"] #pg-dashboard .d-license-icon i { color: color-mix(in srgb, var(--primary) 64%, #f8fafc 36%); text-shadow: none; }
body[data-theme-mode="dark"] #pg-dashboard .d-license-kicker { color: var(--gsw-dark-muted); }
body[data-theme-mode="dark"] #pg-dashboard .d-license-info .d-li-title { color: #f8fafc; }
body[data-theme-mode="dark"] #pg-dashboard .d-license-info .d-li-text { color: var(--gsw-dark-text); }

/* ========================================================================== */
/*  PAGE | EXAMS & REPORTS                                                    */
/* ========================================================================== */

body[data-theme-mode="dark"] #pg-reports :is(.rp-title, .rp-section-title, .rp-panel-title, .rp-user-name) { color: #ffffff !important; }
body[data-theme-mode="dark"] #pg-reports :is(.rp-filter .ui-filter-control, .rp-panel, .rp-compare, .rp-cmp-item, .rp-user-card, .rp-chip, .rp-loading-card, .rp-chart-empty, .rp-chart-tooltip, .rp-user-modal-card, .rp-user-meta-item) { background: var(--gsw-dark-surface) !important; background-image: none !important; border-color: var(--gsw-dark-border) !important; color: var(--gsw-dark-text) !important; box-shadow: none !important; }
body[data-theme-mode="dark"] #pg-reports .rp-filter .ui-filter-control:focus { border-color: var(--gsw-dark-border-strong) !important; box-shadow: 0 0 0 3px rgba(34, 49, 74, .45) !important; }
body[data-theme-mode="dark"] #pg-reports .rp-filter .ui-filter-control::-webkit-calendar-picker-indicator { filter: invert(.82); }
body[data-theme-mode="dark"] #pg-reports .rp-grid-line { stroke: var(--gsw-dark-border); }
body[data-theme-mode="dark"] #pg-reports .rp-axis-label { fill: #e5e7eb; }
body[data-theme-mode="dark"] #pg-reports .rp-chart-legend { color: var(--gsw-dark-text); }
body[data-theme-mode="dark"] #pg-reports .rp-dot { stroke: #000000; }
body[data-theme-mode="dark"] #pg-reports .rp-chip.active { background: #052e1f !important; border-color: #14532d !important; color: #86efac !important; }
body[data-theme-mode="dark"] #pg-reports .rp-chip.muted { background: var(--gsw-dark-surface) !important; border-color: var(--gsw-dark-border) !important; color: var(--gsw-dark-muted) !important; }

/* ========================================================================== */
/*  PAGE | SETTINGS & TRAININGS                                               */
/* ========================================================================== */

body[data-theme-mode="dark"] #pg-settings :is(.panel-card, .s-color-box, .s-switch-box, .s-logo-size-wrap) { background: linear-gradient(180deg, rgba(10, 15, 24, .96) 0%, rgba(15, 23, 42, .96) 100%) !important; border-color: rgba(51, 65, 85, .90) !important; box-shadow: none !important; }
body[data-theme-mode="dark"] #pg-settings :is(.panel-head h2, .s-card-heading h3, .s-card-heading h4, label, .s-color-title, .s-switch-txt, .s-logo-zone-title) { color: #f8fafc; }
body[data-theme-mode="dark"] #pg-settings :is(.panel-head p, .s-card-heading p, .s-desc, .s-color-note, .s-maint-note, .smtp-desc, .s-logo-zone-note, .s-logo-zone-icon) { color: var(--gsw-dark-text) !important; }
body[data-theme-mode="dark"] #pg-settings .s-logo-zone { background: rgba(15, 23, 42, .86) !important; border-color: rgba(100, 116, 139, .60) !important; }
body[data-theme-mode="dark"] #pg-settings .s-input-icon > i { color: var(--gsw-dark-text) !important; }
body[data-theme-mode="dark"] #pg-settings :is(.settings-screen-grid, .settings-layout-card, .editor-form, .s-grid, .s-form-grid, .s-media-grid, .s-media-item, .smtp-header, .smtp-actions, .s-card-heading, .s-logo-zone-copy) { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
body[data-theme-mode="dark"] #pg-settings .s-card-heading { border-bottom-color: var(--gsw-dark-border) !important; }
body[data-theme-mode="dark"] #pg-settings .smtp-title { color: #f8fafc !important; }
body[data-theme-mode="dark"] #pg-settings .s-color-circle { border-color: rgba(148, 163, 184, .28) !important; box-shadow: 0 6px 14px rgba(0, 0, 0, .28) !important; }
body[data-theme-mode="dark"] #pg-settings .s-logo-zone:hover { background: rgba(15, 23, 42, .92) !important; border-color: color-mix(in srgb, var(--primary) 44%, rgba(100, 116, 139, .60) 56%) !important; }
body[data-theme-mode="dark"] #pg-settings .s-logo-size-head { color: var(--gsw-dark-text) !important; }
body[data-theme-mode="dark"] #pg-settings .s-logo-size-head strong { background: color-mix(in srgb, var(--primary) 18%, #0f172a 82%) !important; color: color-mix(in srgb, var(--primary) 74%, #f8fafc 26%) !important; }
body[data-theme-mode="dark"] #pg-settings .s-logo-size-range { background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 82%, #0f172a 18%) 0%, color-mix(in srgb, var(--primary) 48%, #334155 52%) 100%) !important; box-shadow: inset 0 1px 2px rgba(2, 6, 23, .42) !important; }
body[data-theme-mode="dark"] #pg-settings .s-logo-size-range::-webkit-slider-thumb { background: #0f172a !important; border-color: var(--primary) !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .28) !important; }
body[data-theme-mode="dark"] #pg-settings .s-logo-size-range::-moz-range-thumb { background: #0f172a !important; border-color: var(--primary) !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .28) !important; }
body[data-theme-mode="dark"] #pg-settings .ui-field-soft { --ui-field-bg: #0b1220; --ui-field-border: rgba(100, 116, 139, .35); --ui-field-color: #e5e7eb; --ui-field-focus-border: color-mix(in srgb, var(--primary) 48%, #475569 52%); --ui-field-focus-bg: #0b1220; --ui-field-focus-shadow: 0 0 0 3px rgba(51, 65, 85, .32); }
body[data-theme-mode="dark"] #pg-settings :is(.s-input, .s-input.ui-field-soft, .s-input-icon input) { background: var(--ui-field-bg) !important; border-color: var(--ui-field-border) !important; color: var(--ui-field-color) !important; box-shadow: none !important; }
body[data-theme-mode="dark"] #pg-settings :is(.s-input, .s-input.ui-field-soft, .s-input-icon input)::placeholder { color: var(--gsw-dark-muted) !important; }
body[data-theme-mode="dark"] #pg-settings :is(.s-input, .s-input.ui-field-soft, .s-input-icon input):focus { background: var(--ui-field-focus-bg) !important; border-color: var(--ui-field-focus-border) !important; box-shadow: var(--ui-field-focus-shadow) !important; }
body[data-theme-mode="dark"] #pg-settings .s-color-box { background: linear-gradient(180deg, rgba(10, 15, 24, .96) 0%, rgba(15, 23, 42, .96) 100%) !important; border-color: rgba(51, 65, 85, .90) !important; }
body[data-theme-mode="dark"] #pg-settings .s-switch-box { background: linear-gradient(180deg, rgba(10, 15, 24, .96) 0%, rgba(15, 23, 42, .96) 100%) !important; border-color: rgba(51, 65, 85, .90) !important; box-shadow: none !important; }
body[data-theme-mode="dark"] #pg-settings .ios-switch .slider { background: linear-gradient(180deg, #182232 0%, #111827 100%) !important; border-color: var(--gsw-dark-border) !important; box-shadow: inset 0 1px 2px rgba(2, 6, 23, .55) !important; }
body[data-theme-mode="dark"] #pg-settings .ios-switch .slider::before { background: #f8fafc !important; }
body[data-theme-mode="dark"] #pg-settings .ios-switch > input:checked + .slider { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 84%, #67e8f9 16%) 0%, var(--primary) 100%) !important; border-color: color-mix(in srgb, var(--primary) 60%, #dbeafe 40%) !important; }


