/*================================================================================
	Item Name: 
	Version: 2.0
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */
input, textarea{
	unicode-bidi: plaintext;
	}
.OutsideProduct {
	display: none;
}
/* Hide all elements that require a permission action by default with high specificity */
body [data-action]:not([data-revealed="true"]) {
	display: none !important;
}

/* ==============================================================================
   Select2 Bootstrap/Vuexy Height & Alignment Harmonization
   ============================================================================== */
.select2-container .select2-selection--single {
    height: 38px !important;
    border: 1px solid #d8d6de !important;
    border-radius: 0.357rem !important;
    display: flex !important;
    align-items: center !important;
    position: relative;
    background-color: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    padding-left: 14px !important;
    padding-right: 28px !important;
    color: #6e6b7b !important;
    font-size: 1rem;
    line-height: normal !important;
    width: 100%;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #7367f0 !important;
    outline: 0;
}

/* Multi-select */
.select2-container--default .select2-selection--multiple {
    min-height: 38px !important;
    height: auto !important;
    border: 1px solid #d8d6de !important;
    border-radius: 0.357rem !important;
    padding: 3px 6px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    background-color: #fff;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
.select2-container--default .select2-selection--multiple .select2-search--inline {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}
.select2-container--default .select2-selection--multiple .select2-search__field {
    margin: 0 !important;
    padding: 0 4px !important;
    height: 34px !important;
    line-height: 34px !important;
    font-size: 0.95rem;
    color: #6e6b7b;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #7367f0 !important;
    border: none !important;
    color: #fff !important;
    padding: 1px 8px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 20px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    margin-right: 4px !important;
    float: none !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #7367f0 !important;
    outline: 0;
}

/* ==============================================================================
   Praxis Blue UI Theme Harmonization
   ============================================================================== */
:root {
    --bs-primary: #174170;
    --bs-primary-rgb: 23, 65, 112;
    --praxis-midnight: #061e3a;
    --praxis-sapphire: #0b2950;
    --praxis-cobalt: #174170;
    --praxis-steel: #5588b6;
}

/* Global Hyperlinks & Navigation */
a {
    color: #174170;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover {
    color: #0b2950;
    text-decoration: none;
}

/* Breadcrumbs */
.breadcrumb a,
.breadcrumb-item a {
    color: #174170 !important;
    font-weight: 500;
}

.breadcrumb a:hover,
.breadcrumb-item a:hover {
    color: #0b2950 !important;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6e6b7b !important;
}

/* Nav Links, Pills & Tabs */
.nav-link {
    color: #5e5873;
}

.nav-link:hover,
.nav-link:focus {
    color: #174170;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #174170 !important;
    border-bottom: 2px solid #174170 !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.nav-pill-primary .nav-item .nav-link.active {
    background-color: #174170 !important;
    border: 1px solid #174170 !important;
    border-color: #174170 !important;
    box-shadow: 0 2px 6px 0 rgba(11, 41, 80, 0.35) !important;
    color: #ffffff !important;
}

/* Primary Borders */
.border-primary,
.border-top-primary,
.border-bottom-primary,
.border-start-primary,
.border-end-primary {
    border-color: #174170 !important;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #174170 !important;
    border-color: #174170 !important;
    color: #ffffff !important;
}

.page-item .page-link:hover,
.page-link:hover {
    color: #0b2950 !important;
    background-color: #f3f2f7;
}

/* Select2 Dropdowns */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
    background-color: #174170 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(85, 136, 182, 0.2) !important;
    border-color: #5588b6 !important;
    color: #0b2950 !important;
}

/* Header Navbar Icons */
.header-navbar .navbar-container ul.navbar-nav li i.ficon:hover,
.header-navbar .navbar-container ul.navbar-nav li svg.ficon:hover {
    color: #174170 !important;
}

/* Primary text & links */
.text-primary,
a.text-primary {
    color: #174170 !important;
}

/* Primary Buttons */
.btn-primary {
    border-color: #174170 !important;
    background-color: #174170 !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary {
    border-color: #061e3a !important;
    background-color: #0b2950 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px 0 rgba(11, 41, 80, 0.35) !important;
}

.btn-primary:focus,
.btn-check:focus + .btn-primary {
    box-shadow: 0 0 0 0.25rem rgba(23, 65, 112, 0.25) !important;
}

/* Outline Buttons */
.btn-outline-primary {
    border-color: #174170 !important;
    color: #174170 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:focus,
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary,
.btn-group > .btn-outline-primary.active,
.btn-group > .btn-outline-primary:active {
    background-color: #174170 !important;
    border-color: #174170 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px 0 rgba(23, 65, 112, 0.3) !important;
}

/* Light / Soft Badges & Light Primary Backgrounds */
.bg-light-primary,
.avatar.bg-light-primary {
    background-color: rgba(85, 136, 182, 0.18) !important;
    background: rgba(85, 136, 182, 0.18) !important;
    color: #0b2950 !important;
}

.avatar.bg-light-primary .avatar-content {
    color: #0b2950 !important;
}

.badge-light-primary,
.badge.bg-light-primary {
    background-color: rgba(85, 136, 182, 0.18) !important;
    color: #0b2950 !important;
    border: 1px solid rgba(85, 136, 182, 0.25) !important;
}

.badge.bg-primary {
    background-color: #174170 !important;
    color: #ffffff !important;
}

/* Form Controls & Checkboxes */
.form-check-input:checked {
    background-color: #174170 !important;
    border-color: #174170 !important;
}

.form-check-input:focus {
    border-color: #5588b6 !important;
    box-shadow: 0 0 0 0.2rem rgba(85, 136, 182, 0.25) !important;
}

.form-control:focus {
    border-color: #5588b6 !important;
    box-shadow: 0 0 0 0.2rem rgba(85, 136, 182, 0.2) !important;
}

/* Sidebar Navigation Crispness & Theme Harmonization */
.main-menu.menu-light .navigation > li.active > a {
    background: linear-gradient(118deg, #174170, #0b2950) !important;
    box-shadow: 0 4px 14px 0 rgba(11, 41, 80, 0.38) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

.main-menu.menu-light .navigation > li.active > a i,
.main-menu.menu-light .navigation > li.active > a svg {
    color: #ffffff !important;
}

.main-menu.menu-light .navigation > li:not(.active) > a {
    color: #4a4754 !important;
    font-weight: 500 !important;
    transition: all 0.15s ease-in-out;
}

.main-menu.menu-light .navigation > li:not(.active) > a:hover {
    color: #174170 !important;
    background: rgba(23, 65, 112, 0.08) !important;
}

/* Dropdown active item */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #174170 !important;
}

/* Progress bar primary */
.progress-bar {
    background-color: #174170;
}

.progress,
.progress.progress-bar-primary,
.progress-bar-primary {
    background-color: #ebe9f1 !important;
}

/* Congratulations / Welcome Hero Card */
.card-congratulations {
    background: linear-gradient(118deg, #174170, #0b2950) !important;
    color: #ffffff !important;
}

.card-congratulations .avatar.bg-primary {
    background-color: #061e3a !important;
    box-shadow: 0 4px 12px 0 rgba(6, 30, 58, 0.4) !important;
}

/* Dashboard & Global Progress Bars */
.progress-bar.bg-success,
.progress-bar.bg-primary {
    background: linear-gradient(90deg, #5588b6, #174170) !important;
}

/* ==============================================================================
   Executive Status Palette (Calm Pine, Muted Rosewood, Warm Amber)
   ============================================================================== */

/* Success / Positive / Approved States */
.text-success {
    color: #166534 !important;
}

.badge.bg-light-success,
.badge-light-success {
    background-color: #e1f6eb !important;
    color: #166534 !important;
    border: 1px solid rgba(22, 101, 52, 0.2) !important;
}

.avatar.bg-light-success,
.avatar.bg-light-success .avatar-content {
    background-color: #e1f6eb !important;
    color: #166534 !important;
}

.btn-success {
    background-color: #166534 !important;
    border-color: #14532d !important;
    color: #ffffff !important;
}

.btn-success:hover,
.btn-success:active,
.btn-success:focus {
    background-color: #14532d !important;
    border-color: #0f3d21 !important;
    color: #ffffff !important;
}

.btn-outline-success {
    border-color: #166534 !important;
    color: #166534 !important;
}

.btn-outline-success:hover {
    background-color: #166534 !important;
    border-color: #166534 !important;
    color: #ffffff !important;
}

/* Danger / Inactive / Lagging States */
.text-danger {
    color: #b91c1c !important;
}

.badge.bg-light-danger,
.badge-light-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid rgba(153, 27, 27, 0.2) !important;
}

.avatar.bg-light-danger,
.avatar.bg-light-danger .avatar-content {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

.btn-danger {
    background-color: #b91c1c !important;
    border-color: #991b1b !important;
    color: #ffffff !important;
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus {
    background-color: #991b1b !important;
    border-color: #7f1d1d !important;
    color: #ffffff !important;
}

/* Warning / Pending / Clarification States */
.text-warning {
    color: #b45309 !important;
}

.badge.bg-light-warning,
.badge-light-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid rgba(146, 64, 14, 0.2) !important;
}

.avatar.bg-light-warning,
.avatar.bg-light-warning .avatar-content {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

/* Info & Secondary Action Buttons */
.badge.bg-light-info,
.badge-light-info {
    background-color: rgba(85, 136, 182, 0.15) !important;
    color: #174170 !important;
    border: 1px solid rgba(85, 136, 182, 0.25) !important;
}

.btn-outline-info {
    border-color: #5588b6 !important;
    color: #174170 !important;
}

.btn-outline-info:hover {
    background-color: #5588b6 !important;
    border-color: #5588b6 !important;
    color: #ffffff !important;
}

.btn-outline-info .text-info {
    color: #174170 !important;
}

/* Completed State Box on Client Dashboard */
#panelSubmissionFinished .avatar.bg-light-success {
    background-color: rgba(85, 136, 182, 0.16) !important;
    color: #174170 !important;
    box-shadow: 0 2px 8px rgba(23, 65, 112, 0.12) !important;
}

#panelSubmissionFinished h5.text-success {
    color: #0b2950 !important;
}



/* ==============================================================================
   Disable Awkward Floating Box Shadow and Padding on Alert Headings Globally
   ============================================================================== */
.alert .alert-heading,
.alert-primary .alert-heading,
.alert-secondary .alert-heading,
.alert-success .alert-heading,
.alert-info .alert-heading,
.alert-warning .alert-heading,
.alert-danger .alert-heading,
.alert-dark .alert-heading {
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0.25rem !important;
}

/* Brand Logo Harmonization */
.main-menu .navbar-header .navbar-brand .brand-logo img {
    max-width: none;
    height: 40px;
}
.navbar-brand img.brand-text {
    height: 22px;
    max-width: 170px;
    width: auto;
    object-fit: contain;
    padding-left: 0 !important;
    margin-left: 10px !important;
}
.brand-logo img.brand-text {
    height: 26px;
    width: auto;
    object-fit: contain;
    padding-left: 0 !important;
    margin-left: 10px !important;
}

/* ==============================================================================
   Master Theme Overrides (Eliminate Template Hardcoded Burgundy #a41e29)
   ============================================================================== */

/* 1. Waves Ripple Effects (Replace red burst with brand/white ripples) */
.btn-primary.waves-effect .waves-ripple,
.btn-outline-primary.waves-effect .waves-ripple,
.btn-flat-primary.waves-effect .waves-ripple {
    background: radial-gradient(rgba(85, 136, 182, 0.25) 0, rgba(85, 136, 182, 0.35) 40%, rgba(23, 65, 112, 0.45) 50%, rgba(11, 41, 80, 0.55) 60%, rgba(255, 255, 255, 0) 70%) !important;
}

.btn-primary.waves-effect .waves-ripple,
.btn-outline-primary.active.waves-effect .waves-ripple,
.btn-check:checked + .btn-outline-primary.waves-effect .waves-ripple {
    background: radial-gradient(rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0) 70%) !important;
}

/* 2. Flat and Relief Primary Buttons */
.btn-flat-primary {
    color: #174170 !important;
}
.btn-flat-primary:hover,
.btn-flat-primary:hover:not(.disabled):not(:disabled) {
    background-color: rgba(85, 136, 182, 0.12) !important;
    color: #0b2950 !important;
}
.btn-flat-primary:active,
.btn-flat-primary.active,
.btn-flat-primary:focus {
    background-color: rgba(85, 136, 182, 0.22) !important;
    color: #061e3a !important;
}
.btn-relief-primary {
    background-color: #174170 !important;
}

/* 3. Date Pickers (Flatpickr) */
.flatpickr-calendar .flatpickr-day.today {
    border-color: #174170 !important;
}
.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.selected:hover,
.flatpickr-calendar .flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.endRange,
.flatpickr-calendar .flatpickr-day.startRange:hover,
.flatpickr-calendar .flatpickr-day.endRange:hover {
    background: #174170 !important;
    border-color: #174170 !important;
    color: #ffffff !important;
}
.flatpickr-calendar .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n + 1)) {
    box-shadow: -10px 0 0 #174170 !important;
}
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month:hover i,
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover i,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover svg {
    color: #174170 !important;
    fill: #174170 !important;
}

/* 4. Form Wizard / Stepper */
.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box,
.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {
    background-color: #174170 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 9px 0 rgba(23, 65, 112, 0.35) !important;
}
.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title,
.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {
    color: #174170 !important;
}
.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-box {
    color: #174170 !important;
}
.bs-stepper .bs-stepper-header .step.crossed + .line {
    color: #174170 !important;
}

/* 5. SweetAlert2 & Popups */
.swal2-container .swal2-popup input.swal2-input:focus {
    border-color: #174170 !important;
    box-shadow: 0 0 0 0.2rem rgba(85, 136, 182, 0.25) !important;
}
.swal2-container .swal2-popup .swal2-progress-steps .swal2-progress-step,
.swal2-container .swal2-popup .swal2-progress-steps .swal2-progress-step-line {
    background-color: #174170 !important;
}

/* 6. List Groups, Accordions & Popovers */
.list-group-item.active {
    background-color: #174170 !important;
    border-color: #174170 !important;
}
.accordion-button:not(.collapsed) {
    color: #174170 !important;
    background-color: rgba(85, 136, 182, 0.12) !important;
}
.accordion-button:focus {
    border-color: #5588b6 !important;
    box-shadow: 0 0 0 0.2rem rgba(85, 136, 182, 0.25) !important;
}
.popover .popover-header,
.popover-header {
    background-color: #174170 !important;
    color: #ffffff !important;
    border-bottom-color: #0b2950 !important;
}
.modal.modal-primary .modal-header .modal-title {
    color: #174170 !important;
}
.bullet.bullet-primary {
    background-color: #174170 !important;
}
.timeline .timeline-point-primary {
    border-color: #174170 !important;
}
.timeline .timeline-point-primary.timeline-point-indicator {
    background-color: #174170 !important;
}
/* ==============================================================================

   7. Dark Mode Specific Overrides & High-Contrast Harmonization
   ============================================================================== */

/* Primary brand colors & outline buttons in dark mode */
.dark-layout .text-primary,
.dark-layout a.text-primary {
    color: #7eaadb !important;
}

.dark-layout .btn-outline-primary,
.dark-layout .btn-group label.btn-outline-primary,
.dark-layout .btn-group label[class*='btn-outline-primary'] {
    border-color: #5b93d3 !important;
    color: #7eaadb !important;
}

.dark-layout .btn-outline-primary:hover,
.dark-layout .btn-outline-primary:active,
.dark-layout .btn-outline-primary.active,
.dark-layout .btn-outline-primary:focus,
.dark-layout .btn-group > .btn-outline-primary.active,
.dark-layout .btn-group > .btn-outline-primary:active,
.dark-layout .btn-check:checked + .btn-outline-primary,
.dark-layout .btn-check:active + .btn-outline-primary {
    background-color: #174170 !important;
    border-color: #5b93d3 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px 0 rgba(23, 65, 112, 0.4) !important;
}

.dark-layout .btn-outline-info {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

.dark-layout .btn-outline-info:hover {
    background-color: #0284c7 !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
}

.dark-layout .btn-outline-info .text-info {
    color: #38bdf8 !important;
}

.dark-layout .btn-outline-success {
    border-color: #4ade80 !important;
    color: #4ade80 !important;
}

.dark-layout .btn-outline-success:hover {
    background-color: #166534 !important;
    border-color: #4ade80 !important;
    color: #ffffff !important;
}

/* Text muted & small descriptive elements readability in dark mode */
.dark-layout .text-muted {
    color: #94a3b8 !important;
}

/* Client Dashboard Finished / Completed Actions Panel */
.dark-layout #panelSubmissionFinished h5.text-success {
    color: #4ade80 !important;
}

.dark-layout #panelSubmissionFinished .avatar.bg-light-success {
    background-color: rgba(74, 222, 128, 0.15) !important;
    color: #4ade80 !important;
    box-shadow: 0 2px 10px rgba(74, 222, 128, 0.2) !important;
}

/* Welcome Hero Card in Dark Mode */
.dark-layout .card-congratulations {
    background: linear-gradient(135deg, #1e3a5f 0%, #152844 100%) !important;
    border: 1px solid rgba(126, 170, 219, 0.25) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.dark-layout .card-congratulations .avatar.bg-primary {
    background-color: rgba(126, 170, 219, 0.2) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Status Badges in Dark Mode */
.dark-layout .badge.bg-light-success,
.dark-layout .badge-light-success {
    background-color: rgba(34, 197, 94, 0.15) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.dark-layout .badge.bg-light-warning,
.dark-layout .badge-light-warning {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.dark-layout .badge.bg-light-danger,
.dark-layout .badge-light-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.dark-layout .badge.bg-light-info,
.dark-layout .badge-light-info {
    background-color: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

/* Reports.jsp Dark Mode Overrides */
.dark-layout .kpi-card {
    background: #283046 !important;
    border-color: #3b4253 !important;
    box-shadow: 0 4px 20px 0 rgba(34, 41, 47, 0.24) !important;
}

.dark-layout .kpi-card h4,
.dark-layout .kpi-card h3 {
    color: #d0d2d6 !important;
}

.dark-layout #reportsMainContent .bg-white {
    background-color: #283046 !important;
    border-color: #3b4253 !important;
}

.dark-layout #reportsMainContent .text-dark {
    color: #d0d2d6 !important;
}

.dark-layout .peer-box-card {
    background: #161d31 !important;
    border-color: #3b4253 !important;
    color: #d0d2d6 !important;
}

.dark-layout .peer-box-card:hover {
    background: #283046 !important;
    border-color: #5b93d3 !important;
}

.dark-layout .peer-box-card.selected {
    background: rgba(23, 65, 112, 0.35) !important;
    border-color: #5b93d3 !important;
}

.dark-layout .spectrum-track,
.dark-layout .percentile-track {
    background: #3b4253 !important;
}

.dark-layout .spectrum-iqr-zone,
.dark-layout .percentile-iqr-zone {
    background: rgba(91, 147, 211, 0.3) !important;
}

.dark-layout .spectrum-tick,
.dark-layout .percentile-median-tick {
    background: #676d7d !important;
}

.dark-layout .perks-card {
    background-color: #161d31 !important;
    border-color: #3b4253 !important;
}

.dark-layout .perk-row {
    border-bottom: 1px dashed #283046 !important;
    color: #b4b7bd !important;
}

.dark-layout .perk-row:hover {
    background-color: #283046 !important;
}

.dark-layout .perk-toggle-row {
    background-color: #161d31 !important;
    border-top: 1px solid #3b4253 !important;
    color: #7eaadb !important;
}

.dark-layout .perk-toggle-row:hover {
    background-color: #283046 !important;
}

/* Select2 Inputs & Dropdowns in Dark Mode */
.dark-layout .select2-container .select2-selection--single,
.dark-layout .select2-container .select2-selection--multiple,
.dark-layout .select2-container--default .select2-selection--single,
.dark-layout .select2-container--default .select2-selection--multiple {
    background-color: #283046 !important;
    border-color: #3b4253 !important;
}

.dark-layout .select2-container--default .select2-selection--single .select2-selection__rendered,
.dark-layout .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: #b4b7bd !important;
}

.dark-layout .select2-dropdown {
    background-color: #283046 !important;
    border-color: #3b4253 !important;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.4) !important;
}

.dark-layout .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #161d31 !important;
    border-color: #3b4253 !important;
    color: #d0d2d6 !important;
}

.dark-layout .select2-results__option {
    color: #b4b7bd !important;
    background-color: transparent !important;
}

.dark-layout .select2-container--default .select2-results__option--highlighted[aria-selected],
.dark-layout .select2-container--classic .select2-results__option--highlighted[aria-selected] {
    background-color: #174170 !important;
    color: #ffffff !important;
}

.dark-layout .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(91, 147, 211, 0.2) !important;
    color: #7eaadb !important;
}

.dark-layout .form-select {
    background-color: #283046 !important;
    border-color: #3b4253 !important;
    color: #b4b7bd !important;
}

/* Read-Only & Disabled Form Controls in Dark Mode */
.dark-layout input.form-control:disabled,
.dark-layout input.form-control[readonly],
.dark-layout select.form-select:disabled,
.dark-layout select.form-select[readonly],
.dark-layout textarea.form-control:disabled,
.dark-layout textarea.form-control[readonly] {
    opacity: 0.9 !important;
    color: #d0d2d6 !important;
    -webkit-text-fill-color: #d0d2d6 !important;
    background-color: rgba(40, 48, 70, 0.65) !important;
    border-color: #3b4253 !important;
}

/* Disabled Select2 Single & Multiple (Track, Career Level, Benefits tags) */
.dark-layout .select2-container--disabled .select2-selection,
.dark-layout .position-row .select2-container--disabled .select2-selection--single,
.dark-layout .position-row .select2-container--disabled .select2-selection--multiple {
    opacity: 0.9 !important;
    background-color: rgba(40, 48, 70, 0.65) !important;
    border-color: #3b4253 !important;
}

.dark-layout .select2-container--disabled .select2-selection .select2-selection__rendered,
.dark-layout .position-row .select2-container--disabled .select2-selection--single .select2-selection__rendered,
.dark-layout .position-row .select2-container .select2-selection--single .select2-selection__rendered {
    color: #d0d2d6 !important;
    -webkit-text-fill-color: #d0d2d6 !important;
}

.dark-layout .select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    opacity: 0.95 !important;
    color: #e2e8f0 !important;
    background-color: #3b4253 !important;
    border-color: #4b5563 !important;
}

/* Department Group Header & Role Labels in Dark Mode */
.dark-layout .dept-group-header td {
    background-color: #1e2740 !important;
    color: #e2e8f0 !important;
    border-top: 1px solid #3b4253 !important;
    border-bottom: 1px solid #3b4253 !important;
}

.dark-layout .dept-group-header td span.text-uppercase {
    color: #f1f5f9 !important;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.dark-layout .dept-group-header td .badge {
    background-color: rgba(91, 147, 211, 0.2) !important;
    color: #7eaadb !important;
    border: 1px solid rgba(91, 147, 211, 0.35) !important;
}

.dark-layout .role-info-cell .text-dark {
    color: #f1f5f9 !important;
}

.dark-layout .role-info-cell .text-muted {
    color: #94a3b8 !important;
}

/* Toolbars & bg-light containers in Dark Mode */
.dark-layout .bg-light,
.dark-layout #pane-pos-summary .bg-light {
    background-color: #283046 !important;
    border-color: #3b4253 !important;
}

/* Expandable Row Drawer in Dark Mode */
.dark-layout .role-band-drawer-row {
    background-color: #161d31 !important;
}

.dark-layout .role-band-drawer-inner {
    background-color: #283046 !important;
    border-color: #3b4253 !important;
    box-shadow: 0 4px 20px 0 rgba(34, 41, 47, 0.4) !important;
}

.dark-layout .role-band-drawer-inner table {
    background-color: #283046 !important;
    color: #b4b7bd !important;
    border-color: #3b4253 !important;
}

.dark-layout .role-band-drawer-inner table.bg-white {
    background-color: #283046 !important;
}

.dark-layout .role-band-drawer-inner table thead tr,
.dark-layout .role-band-drawer-inner table thead tr.table-light {
    background-color: #1e2740 !important;
}

.dark-layout .role-band-drawer-inner table thead th {
    background-color: #1e2740 !important;
    color: #e2e8f0 !important;
    border-color: #3b4253 !important;
}

.dark-layout .role-band-drawer-inner table tbody td {
    border-color: #3b4253 !important;
    color: #d0d2d6 !important;
}

.dark-layout .role-band-drawer-inner table tbody tr.table-primary {
    background-color: rgba(23, 65, 112, 0.25) !important;
}

.dark-layout .role-band-drawer-inner table tbody tr.table-primary td {
    background-color: transparent !important;
}

/* Brand Wordmark in Dark Mode (Crisp White Wordmark) */
.dark-layout .navbar-brand img.brand-text,
.dark-layout .brand-logo img.brand-text {
    filter: brightness(0) invert(1) !important;
    opacity: 0.95;
}

/* Selected A: restrained, tight alpha-contour glow; original blue artwork stays intact. */
.dark-layout .navbar-brand img.p-icon,
.dark-layout .brand-logo img.p-icon {
    filter: drop-shadow(0 0 1.5px rgba(235, 243, 255, 0.6)) drop-shadow(0 0 3px rgba(200, 220, 245, 0.32)) !important;
}
