/* Crestmont Savings: shared public, customer, and administration branding. */
:root {
  --crestmont-navy: #0D1A34;
  --crestmont-gold: #BB8A04;
  --crestmont-ivory: #E6E0D8;
  --theme-color: #BB8A04;
  --theme-color-2: #0D1A34;
  --bs-primary: #0D1A34;
  --bs-primary-rgb: 13, 26, 52;
  --bs-link-color: #0D1A34;
  --bs-link-hover-color: #8A6503;
  --bs-body-color: #0D1A34;
}
body { color: var(--crestmont-navy); }
.theme-btn.btn-one, .btn-primary, .bg-primary, .badge-primary,
.page-item.active .page-link, .progress-bar, .form-check-input:checked {
  background-color: var(--crestmont-navy) !important;
  border-color: var(--crestmont-navy) !important;
  color: #fff !important;
}
.theme-btn.btn-one:hover, .btn-primary:hover, .btn-primary:focus {
  background-color: #172B50 !important;
  border-color: var(--crestmont-gold) !important;
}
.theme-btn.btn-two, .btn-outline-primary {
  color: var(--crestmont-navy) !important;
  border-color: var(--crestmont-navy) !important;
}
.btn-outline-primary:hover { background: var(--crestmont-navy) !important; color: #fff !important; }
.text-primary, a.text-primary, .main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a, .main-menu .navigation > li > ul > li > a:hover {
  color: #8A6503 !important;
}
.main-header .header-top, .main-footer, .footer-bottom, .mobile-menu .menu-box,
.vertical-menu, #sidebar-menu, .sidebar, .bg-dark {
  background-color: var(--crestmont-navy) !important;
}
.header-top a, .main-footer, .main-footer p, .main-footer a, .main-footer h4,
.footer-bottom, .mobile-menu .menu-box, .mobile-menu a { color: var(--crestmont-ivory); }
.main-footer a:hover, .mobile-menu a:hover { color: var(--crestmont-gold) !important; }
.main-header .header-lower, .sticky-header { background: var(--crestmont-ivory); }
.banner-main-style .banner-carousel .slide-item:before,
.page-title:before { background: linear-gradient(135deg, #0D1A34 0%, #172B50 75%, #BB8A04 100%) !important; }
.logo-box .logo img, .footer-logo img, .nav-logo img {
  width: auto !important; max-width: 300px; height: auto !important; max-height: 80px;
  object-fit: contain; filter: none !important;
}
.footer-logo img { max-width: 255px; }
.logo-filter { filter: none !important; }
.logo-lg img, .auth-logo img { width: auto; max-width: 240px; height: auto !important; max-height: 70px; filter: none !important; }
.logo-sm img { object-fit: contain; filter: none !important; }
.vertical-menu .mm-active > a, #sidebar-menu .mm-active > a { color: var(--crestmont-gold) !important; }
.form-control:focus, .form-select:focus { border-color: var(--crestmont-gold); box-shadow: 0 0 0 .15rem rgb(187 138 4 / 15%); }
@media (max-width: 767px) {
  .logo-box .logo img { max-width: 210px; max-height: 62px; }
  .nav-logo img { max-width: 240px; }
}

:root { --primary-color: #0D1A34; --secondary-color: #0D1A34; --accent-color: #BB8A04; --light-bg: #E6E0D8; --title-color: #0D1A34; --pink-color: #E6E0D8; --violet-color: #BB8A04; --crimson-color: #0D1A34; --orange-color: #BB8A04; }
.signupForm-section:before { background-color: #E6E0D8; }
.credit-card { background: linear-gradient(135deg,#0D1A34,#172B50,#BB8A04) !important; }
.logo img[src*="logo-white"], .auth-brand img { max-width: 280px; width: auto; height: auto !important; max-height: 90px; filter: none !important; }

/* Accessible authentication controls: a solid navy surface keeps the white
   label legible across the full button, including hover and focus states. */
.btn-login, .btn-login:hover, .btn-login:focus, .btn-login:active,
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.swal2-confirm { background: #0D1A34 !important; color: #fff !important; }
.btn-login :is(span,i), .btn-primary :is(span,i) { color: inherit !important; }
.btn-login:focus-visible, .btn-primary:focus-visible { outline: 3px solid #BB8A04; outline-offset: 3px; }
.navbar-brand-box { background: #0D1A34 !important; }
.navbar-brand-box .logo { background: transparent !important; }
.navbar-brand-box .logo-lg img { width: 190px !important; max-width: 100%; max-height: 58px; margin-top: 0 !important; vertical-align: middle; }
.navbar-brand-box .logo-sm img { width: 38px !important; height: 42px !important; margin-top: 0 !important; vertical-align: middle; }
.stats-card { background: linear-gradient(135deg,#0D1A34 0%,#172B50 100%) !important; }
.stats-card :is(.bank-name,.account-type,.account-number,.transactions-link,.currency,.amount,.balance-trend,.action-btn),
.stats-card .balance-label { color: #fff !important; }
.stats-card .transactions-link:hover { color: #E6E0D8 !important; }
.sidebar .navbar-brand-item { width: 200px; max-width: 200px; height: auto !important; }
.crestmont-admin-logo-light { display: none; }
.sidebar .offcanvas, .sidebar .offcanvas-body { background: #0D1A34; color: #E6E0D8; }
.sidebar .navbar-nav .nav-link, .sidebar .navbar-nav .nav-link i { color: #E6E0D8 !important; }
.sidebar .navbar-nav .nav-link:hover, .sidebar .navbar-nav .nav-link.active { background: #172B50 !important; color: #E6E0D8 !important; }
@media (max-width: 1199.98px) {
  .sidebar { background-color: #fff !important; }
  .sidebar .offcanvas, .sidebar .offcanvas-body { background: #fff; color: #0D1A34; }
  .sidebar .navbar-nav .nav-link, .sidebar .navbar-nav .nav-link i { color: #0D1A34 !important; }
  .sidebar .navbar-nav .nav-link:hover, .sidebar .navbar-nav .nav-link.active { background: #E6E0D8 !important; color: #0D1A34 !important; }
  .crestmont-admin-logo-light { display: inline-block; }
  .crestmont-admin-logo-dark { display: none; }
}
.bg-primary.bg-opacity-10 { background-color: #F3F0EA !important; color: #0D1A34 !important; }
.vertical-menu, #sidebar-menu { background: #0D1A34 !important; }
