html {
  font-size: 15px;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f4f7fb;
  color: #172033;
}

.page-content {
  flex: 1 0 auto;
}

.footer {
  margin-top: auto;
  padding: 1rem 0;
  background: transparent;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.08);
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.soft-panel {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.08);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-soft-success {
  background: #dcfce7;
  color: #166534;
}

.badge-soft-danger {
  background: #fee2e2;
  color: #991b1b;
}

.badge-soft-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-soft-info {
  background: #dbeafe;
  color: #1d4ed8;
}

.table thead th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.login-shell {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
}

.login-card {
  width: 100%;
  max-width: 430px;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(18, 38, 63, 0.12);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
