html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  background: #f5f7fb;
  color: #172033;
}

.site-navbar {
  min-height: 76px;
  box-shadow: 0 1px 0 rgba(21, 35, 58, 0.04);
}

.navbar-brand {
  color: #172033;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.navbar-brand:hover { color: #172033; }

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #3157d5;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-dot { color: #3157d5; }

.navbar-nav .nav-link {
  border-radius: 10px;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: #f0f3ff;
  color: #3157d5;
}

.dashboard-hero {
  overflow: hidden;
  background: linear-gradient(120deg, #172b66 0%, #3157d5 65%, #6682e8 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(49, 87, 213, 0.16);
}

.dashboard-hero .lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.dashboard-hero .eyebrow { color: #c8d4ff; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78e0b2;
  box-shadow: 0 0 0 4px rgba(120, 224, 178, 0.16);
}

.menu-card {
  border: 1px solid #e8ecf4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(24, 39, 75, 0.035);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.menu-card:hover,
.menu-card:focus-visible {
  transform: translateY(-3px);
  border-color: #cbd5fb;
  box-shadow: 0 14px 30px rgba(24, 39, 75, 0.09);
}

.menu-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
}

.menu-icon svg { width: 24px; height: 24px; }
.menu-icon-primary { background: #edf1ff; color: #3157d5; }
.menu-icon-teal { background: #e8f8f5; color: #15947e; }
.menu-icon-violet { background: #f1edff; color: #7352c7; }

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3157d5;
  font-size: 0.9rem;
  font-weight: 700;
}

.info-panel {
  border: 1px solid #e8ecf4;
  background: #fff;
}

.info-mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #edf1ff;
  color: #3157d5;
  font-weight: 800;
}

.footer {
  padding: 1.25rem 0;
  border-top: 1px solid #e8ecf4;
  background: #fff;
  color: #7a8498;
  font-size: 0.9rem;
}

.footer a { color: #667085; text-decoration: none; }
.footer a:hover { color: #3157d5; }

@media (prefers-reduced-motion: reduce) {
  .menu-card { transition: none; }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
