:root {
  --brand-blue: #0f4d99;
  --brand-blue-dark: #0a2f57;
  --brand-blue-mid: #2d67ad;
  --brand-blue-soft: #eaf2fb;
  --brand-text: #1e2a35;
}

* { box-sizing: border-box; }
body {
  color: var(--brand-text);
  background: #f5f7fb;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }

.navbar.brand-navbar {
  background: linear-gradient(90deg, #0a2f57 0%, #123f73 50%, #1b568f 100%);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 18px rgba(8, 32, 61, 0.16);
}
.brand-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  max-width: 360px;
  color: #fff;
}
.brand-navbar .navbar-logo {
  width: 145px;
  max-width: 145px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
  display: block;
  border-radius: 5px;
  background: rgba(255,255,255,.96);
  padding: 3px 7px;
}
.brand-navbar .brand-title {
  line-height: 1.05;
  color: #fff;
  white-space: nowrap;
}
.brand-navbar .brand-title strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
}
.brand-navbar .brand-title small {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.78);
  letter-spacing: .03em;
}
.brand-navbar .nav-link,
.brand-navbar .navbar-text,
.brand-navbar .dropdown-toggle { color: rgba(255,255,255,.88) !important; }
.brand-navbar .nav-link:hover,
.brand-navbar .nav-link:focus,
.brand-navbar .dropdown-toggle:hover,
.brand-navbar .dropdown-toggle:focus { color: #fff !important; }
.brand-navbar .dropdown-menu {
  border: 1px solid rgba(15,77,153,.10);
  box-shadow: 0 10px 30px rgba(16,39,67,.12);
}

.card {
  border: 1px solid rgba(15,77,153,.08);
  box-shadow: 0 10px 28px rgba(10,47,87,.05);
}
.btn-primary { background-color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-primary:hover,
.btn-primary:focus { background-color: #0c4183; border-color: #0c4183; }
.btn-outline-primary { color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-outline-primary:hover,
.btn-outline-primary:focus { background-color: var(--brand-blue); border-color: var(--brand-blue); }
.table-light { --bs-table-bg: #eef4fb; }

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(15,77,153,.13), transparent 30%),
    radial-gradient(circle at bottom right, rgba(45,103,173,.10), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}
.auth-shell { max-width: 460px; }
.auth-brand { text-align: center; margin-bottom: 1.1rem; }
.auth-brand img {
  width: 330px;
  max-width: 92%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(10,47,87,.08));
}
.auth-card { border-radius: 18px; overflow: hidden; }
.auth-card .card-body { padding: 1.9rem; }
.auth-subtitle { color: #60758a; margin-bottom: 1.25rem; }

.dashboard-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fd 100%);
  border-radius: 18px;
  overflow: hidden;
}
.dashboard-logo-box {
  background: #fff;
  border: 1px solid rgba(15,77,153,.08);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
}
.dashboard-hero-logo {
  display: block;
  width: 420px;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
}
.dashboard-stat {
  background: #fff;
  border: 1px solid rgba(15,77,153,.08);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  height: 100%;
}
.dashboard-stat-label {
  font-size: .78rem;
  color: #6f8092;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dashboard-stat-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}
.dashboard-shortcut {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15,77,153,.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  height: 100%;
}
.dashboard-shortcut:hover {
  transform: translateY(-2px);
  border-color: rgba(15,77,153,.20);
  box-shadow: 0 12px 28px rgba(10,47,87,.08);
}
.dashboard-shortcut h3 { font-size: 1rem; margin-bottom: .35rem; color: var(--brand-blue-dark); }
.dashboard-shortcut p { margin-bottom: 0; color: #60758a; font-size: .92rem; }
.section-title { font-size: 1.2rem; font-weight: 700; color: var(--brand-blue-dark); }

@media (max-width: 991.98px) {
  .brand-navbar .brand-title small { display: none; }
  .brand-navbar .navbar-logo { width: 112px; height: 30px; }
  .brand-navbar .navbar-brand { max-width: 260px; }
}
@media (max-width: 575.98px) {
  .brand-navbar .brand-title { display: none; }
  .dashboard-hero-logo { max-height: 110px; }
}

/* Dashboard area cards - step14 */
.dashboard-area-card {
  background: #fff;
  border: 1px solid rgba(15,77,153,.08);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  height: 100%;
  box-shadow: 0 8px 20px rgba(10,47,87,.045);
}

.dashboard-area-card .btn {
  white-space: nowrap;
}
