/* Application-wide colour accents selected in Application Settings. */
:root{
  --theme-primary:#1678d2;
  --theme-primary-dark:#0e5fae;
  --theme-primary-rgb:22,120,210;
  --theme-sidebar-a:#0b2037;
  --theme-sidebar-b:#12375b;
  --theme-sidebar-c:#14527a;
  --bs-primary:var(--theme-primary);
  --bs-primary-rgb:var(--theme-primary-rgb);
  --bs-link-color:var(--theme-primary-dark);
  --bs-link-hover-color:var(--theme-primary);
}
.app-sidebar{background:linear-gradient(165deg,var(--theme-sidebar-a),var(--theme-sidebar-b) 56%,var(--theme-sidebar-c))!important;}
.brand-mark{border-color:rgba(var(--theme-primary-rgb),.55)!important;background:linear-gradient(145deg,rgba(var(--theme-primary-rgb),.42),rgba(255,255,255,.08))!important;}
.sidebar-nav .nav-link.active{background:linear-gradient(100deg,var(--theme-primary-dark),var(--theme-primary))!important;box-shadow:0 8px 20px -9px rgba(var(--theme-primary-rgb),.62)!important;}
.sidebar-nav .nav-link.active::before{background:var(--theme-primary)!important;}
.profile-avatar{color:var(--theme-primary-dark)!important;background:rgba(var(--theme-primary-rgb),.2)!important;}
.topbar-signal,.month-picker-icon{background:rgba(var(--theme-primary-rgb),.12)!important;color:var(--theme-primary-dark)!important;}
.page-heading,.report-head{background:linear-gradient(112deg,var(--theme-sidebar-a),var(--theme-sidebar-b) 58%,var(--theme-primary-dark))!important;}
[data-bs-theme="dark"] .report-head{background:linear-gradient(112deg,var(--theme-sidebar-a),var(--theme-sidebar-b) 58%,var(--theme-primary-dark))!important;}
.page-heading-title i,.report-head-ico{color:var(--theme-primary)!important;}
.live-indicator{background:var(--theme-primary)!important;box-shadow:0 0 0 4px rgba(var(--theme-primary-rgb),.16)!important;}
.btn-primary{--bs-btn-bg:var(--theme-primary-dark);--bs-btn-border-color:var(--theme-primary-dark);--bs-btn-hover-bg:var(--theme-primary);--bs-btn-hover-border-color:var(--theme-primary);--bs-btn-active-bg:var(--theme-primary-dark);--bs-btn-active-border-color:var(--theme-primary-dark);--bs-btn-focus-shadow-rgb:var(--theme-primary-rgb);}
.btn-outline-primary{--bs-btn-color:var(--theme-primary-dark);--bs-btn-border-color:var(--theme-primary);--bs-btn-hover-bg:var(--theme-primary-dark);--bs-btn-hover-border-color:var(--theme-primary-dark);--bs-btn-active-bg:var(--theme-primary-dark);--bs-btn-active-border-color:var(--theme-primary-dark);--bs-btn-focus-shadow-rgb:var(--theme-primary-rgb);}
.progress-bar{background-color:var(--theme-primary)!important;}
.form-check-input:checked{background-color:var(--theme-primary-dark);border-color:var(--theme-primary-dark);}
.nav-tabs .nav-link:hover{color:var(--theme-primary-dark);}
.nav-tabs .nav-link.active{color:var(--theme-primary-dark);background:rgba(var(--theme-primary-rgb),.1);box-shadow:inset 0 -2px var(--theme-primary);}
.dropdown-item.active,.dropdown-item:active{background:rgba(var(--theme-primary-rgb),.13);color:var(--theme-primary-dark);}
.mobile-nav-item.active{color:var(--theme-primary-dark);background:rgba(var(--theme-primary-rgb),.11);}
[data-bs-theme="dark"] .mobile-nav-item.active{color:var(--theme-primary);background:rgba(var(--theme-primary-rgb),.18);}
.login-wrap{background:radial-gradient(ellipse at 15% 14%,rgba(var(--theme-primary-rgb),.36),transparent 35%),radial-gradient(ellipse at 92% 82%,rgba(232,177,97,.16),transparent 31%),linear-gradient(135deg,var(--theme-sidebar-a),var(--theme-sidebar-b) 58%,var(--theme-primary-dark))!important;}
.login-logo{background:linear-gradient(145deg,var(--theme-primary),var(--theme-primary-dark))!important;box-shadow:0 13px 30px -10px rgba(var(--theme-primary-rgb),.55)!important;}

.theme-option{position:relative;display:block;height:100%;cursor:pointer;}
.theme-option input{position:absolute;opacity:0;pointer-events:none;}
.theme-option-card{height:100%;min-height:126px;padding:.8rem;border:1px solid #e2e8f0;border-radius:15px;background:#fff;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;}
.theme-option:hover .theme-option-card{transform:translateY(-2px);box-shadow:0 12px 24px -18px rgba(15,23,42,.42);}
.theme-option input:checked+.theme-option-card{border-color:var(--preview-primary);box-shadow:0 0 0 3px rgba(15,23,42,.09),0 12px 24px -18px rgba(15,23,42,.42);}
.theme-option input:focus-visible+.theme-option-card{outline:3px solid var(--preview-primary);outline-offset:2px;}
.theme-swatch{height:53px;display:flex;overflow:hidden;border-radius:10px;background:var(--preview-sidebar);}
.theme-swatch-sidebar{width:34%;background:linear-gradient(155deg,var(--preview-sidebar),var(--preview-mid));}
.theme-swatch-panel{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;background:#f5f7fb;}
.theme-swatch-dot{width:13px;height:13px;border-radius:5px;background:var(--preview-primary);}
.theme-swatch-line{width:27px;height:5px;border-radius:8px;background:var(--preview-primary);opacity:.28;}
.theme-option-name{display:block;margin-top:.65rem;color:#26344a;font-size:.76rem;font-weight:700;}
@media(max-width:575.98px){.theme-option-card{min-height:112px;padding:.58rem}.theme-swatch{height:42px}.theme-option-name{font-size:.69rem}}
