/* Shared Hey brand palette. Red/amber/success states keep their semantic meaning. */
:root, :root body {
  --hey-primary:#2457e6; --hey-primary-dark:#1b3fae; --hey-primary-soft:#eef2ff;
  --hey-ink:#172237; --hey-muted:#4c5b73; --hey-border:#dce2ed;
  --theme-color:#2457e6!important; --theme-color2:#8f78d7!important;
  --bs-primary:#2457e6!important; --bs-primary-rgb:36,87,230!important;
  --bs-link-color:#2457e6; --bs-link-hover-color:#1b3fae;
  --or-brand:#2457e6!important; --or-primary:#2457e6!important;
  --or-text:#172237; --or-muted:#4c5b73;
  --primary-color:#2457e6!important; --primary-dark:#1b3fae!important; --primary-light:#6684e9!important;
  --primary-gradient:linear-gradient(135deg,#2457e6,#10182c)!important;
  --accent:#2457e6!important; --accent-soft:#eef2ff!important;
}
body { color:#262c3a; }
a { color:var(--hey-primary); }
a:hover { color:var(--hey-primary-dark); }
body .text-primary,body .text-brand,body .link-primary { color:var(--hey-primary)!important; }
body .bg-primary { background-color:rgba(36,87,230,var(--bs-bg-opacity,1))!important; }
body .bg-light-primary,body .badge-light-primary { background:#eef2ff!important; color:#2548aa!important; }
body .border-primary { border-color:var(--hey-primary)!important; }
body .btn-primary,body .btn-brand,body .btn-solid { background:var(--hey-primary)!important; border-color:var(--hey-primary)!important; color:white!important; }
body .btn-primary:hover,body .btn-primary:active,body .btn-primary:focus,body .btn-brand:hover,body .btn-solid:hover { background:var(--hey-primary-dark)!important; border-color:var(--hey-primary-dark)!important; color:white!important; }
body .btn-primary:disabled,body .btn-primary.disabled { background:#657498!important; border-color:#657498!important; }
body .btn-outline-primary { background:transparent!important; color:var(--hey-primary)!important; border-color:var(--hey-primary)!important; }
body .btn-outline-primary:hover,body .btn-outline-primary.active,body .btn-outline-primary:active { background:var(--hey-primary)!important; color:#fff!important; border-color:var(--hey-primary)!important; }
body .btn-link { color:var(--hey-primary); }
body .form-check-input:checked { background-color:var(--hey-primary); border-color:var(--hey-primary); }
body .form-control:focus,body .form-select:focus { border-color:#707ea1; box-shadow:0 0 0 3px #2457e61a; }
body .form-check-input:focus { border-color:#707ea1; box-shadow:0 0 0 3px #2457e61a; }
body .nav-pills .nav-link.active,body .nav-pills .show>.nav-link,body .page-item.active .page-link { color:#fff; background-color:var(--hey-primary); border-color:var(--hey-primary); }
body .page-link,body .nav-link { color:var(--hey-primary); }
body .dropdown-item.active,body .dropdown-item:active { color:#fff; background:var(--hey-primary); }
body .progress-bar:not(.bg-danger):not(.bg-warning):not(.bg-success):not(.bg-info) { background-color:var(--hey-primary); }
body .text-muted { color:#4b5671!important; }
body .form-control::placeholder { color:#5a6686; opacity:1; }
body .alert-primary { color:#212e4e; background:#eef2ff; border-color:#cdd2df; }
body .table-primary { --bs-table-bg:#e1e6f2; --bs-table-striped-bg:#dadee8; --bs-table-hover-bg:#d2d7e3; color:#212e4e; }
body .pagination .page-item.active a,body .dataTables_wrapper .dataTables_paginate .paginate_button.current { background:#2457e6!important; border-color:#2457e6!important; color:#fff!important; }
body .select2-container--default .select2-results__option--highlighted[aria-selected] { background:#2457e6; }
body .select2-container--default .select2-selection--multiple .select2-selection__choice { background:#eef2ff; border-color:#cdd2df; color:#212e4e; }
body .bg-blue-600,body .bg-blue-700 { background:#2457e6!important; }
body .text-blue-600,body .text-blue-700 { color:#2457e6!important; }
/* Stable, readable navigation across every authenticated page. */
.page-wrapper .page-body-wrapper .sidebar-wrapper { background:#10182c!important; }
.hey-sidebar-surface { background:#10182c; }
.sidebar-wrapper #sidebarEffect { display:none!important; }
.sidebar-wrapper .logo-wrapper { background:transparent!important; box-shadow:none!important; border-bottom:1px solid #ffffff10; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link { color:#e5e9f4!important; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link:hover { background:#283557!important; color:#fff!important; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link.active { background:#28395f!important; color:#fff!important; box-shadow:inset 3px 0 #c4b5fd; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-link i { color:inherit!important; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-submenu a { color:#cbd0de!important; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-submenu a:hover,.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-submenu a.active { color:white!important; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-list h6,.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-main-title h6,.sidebar-wrapper .sidebar-main .sidebar-links .text-warning { color:#bbc2d4!important; }
.sidebar-wrapper .sidebar-main .sidebar-links .sidebar-submenu a::before { border-color:#919cb6!important; }
.sidebar-wrapper .toggle-sidebar,.sidebar-wrapper .back-btn { color:#e5e9f4!important; }
.page-header .global-search-input,.page-header .search-input { background:#f1f3f9; border-color:#d9dce5; }
.page-header .global-search-input-wrap { background:#f1f3f9; border-color:#d9dce5; }
.page-header .global-search-input-wrap:hover { background:#e8ebf4; border-color:#a6aec3; }
.page-header .global-search-input-wrap input,.page-header .global-search-input-wrap input::placeholder,.page-header .global-search-input-wrap i.search-icon { color:#454f67; }
.page-header .header-icon-btn { color:#444e66; background:#eff2f8; }
.page-header .search-shortcut { border-color:#d4d8e3!important; }
.page-header .header-wrapper .nav-right .onhover-show-div a { color:#29344f; }
.page-header .btn-light,.page-header .nav-right .nav-link { color:#3f4a65; }
::selection { background:#c9cfdf; color:#18223a; }
/* Authentication uses the same quiet, real-work imagery as the public website. */
.log-in-section::after { background-image:linear-gradient(90deg,#10182c75,#10182c45),url('/assets/images/marketing/business-workspace-blue.png'); background-position:center; }
.log-in-section .log-in-box { border:1px solid #e4e8f0; box-shadow:0 24px 80px #10182c24; border-radius:18px; }
.log-in-section .log-in-title h3 { color:#172237; font-weight:650; }
.log-in-section .log-in-title h4 { color:#4c5b73; }
@media(max-width:600px){.log-in-section::after{background-image:none;background-color:#f7f8fc}.log-in-section .log-in-box{box-shadow:0 8px 28px #10182c08}}
@media (prefers-reduced-motion:reduce) { :focus { scroll-behavior:auto!important; } }
