body {
  background: #f5f7fb;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #344054;
  min-height: 100vh;
}

/* Sidebar styling matching ecforms */
.sidebar {
  min-height: calc(100vh - 56px);
  background: #ffffff;
  border-right: 1px solid #e7eaf0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #344054;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 3px;
  transition: all 0.15s ease-in-out;
}

.sidebar a:hover {
  background: #eef3ff;
  color: #0d6efd;
}

.sidebar a.active {
  background: #eef3ff;
  color: #0d6efd;
  font-weight: 600;
}

.sidebar a i {
  font-size: 1.1rem;
}

/* Stat & Metric cards */
.stat-card, .metric-card {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.06);
  background: #ffffff;
}

.card {
  border-radius: 10px;
}

.card-header {
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.table {
  vertical-align: middle;
}

.table th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #667085;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 500px;
}

/* Login styling */
.login-bg {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f5f7fb;
}

.login-card {
  width: min(440px, 94vw);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.08);
}

/* Badges and tags */
.badge {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.font-monospace {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}
