body { background: #f6f7f9; color: #111827; }
h1 { font-size: 1.6rem; margin-bottom: 1rem; font-weight: 700; }
h2 { font-size: 1.15rem; margin-bottom: 1rem; font-weight: 700; }
a { text-decoration: none; }
.navbar { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.navbar-brand { font-weight: 700; letter-spacing: 0; }
.nav-link { white-space: nowrap; }
.auth-body { min-height: 100vh; background: linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%); display: flex; flex-direction: column; }
.auth-shell { flex: 1 0 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid #dfe5ec; border-radius: 12px; padding: 34px; box-shadow: 0 18px 45px rgba(20, 35, 50, 0.08); }
.auth-brand { font-size: 1.05rem; font-weight: 700; color: #1f2d3d; margin-bottom: 24px; letter-spacing: 0; }
.auth-card h1 { font-size: 1.75rem; margin-bottom: 8px; color: #16202a; }
.auth-subtitle { color: #637083; margin-bottom: 24px; }
.metric { background: #fff; border: 1px solid #dfe3e8; border-radius: 8px; padding: 18px; min-height: 108px; }
.metric span { display: block; color: #5c6670; font-weight: 600; }
.metric strong { font-size: 1.8rem; line-height: 1.2; word-break: break-word; }
.metric a { display: inline-block; margin-top: 8px; font-size: 0.88rem; }
.panel { background: #fff; border: 1px solid #dfe3e8; border-radius: 8px; padding: 18px; }
.table { background: #fff; }
.table thead th { background: #f3f5f7; color: #374151; border-bottom: 1px solid #dfe3e8; }
.table td, .table th { vertical-align: middle; }
.table tbody tr:hover { background: #f8fafc; }
.badge { font-weight: 600; border-radius: 999px; }
.btn { border-radius: 7px; font-weight: 600; }
.btn-primary { background: #2563eb; border-color: #2563eb; }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.form-control, .form-select { border-radius: 7px; }
.form-control:focus, .form-select:focus { border-color: #2563eb; box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.15); }
pre { white-space: pre-wrap; }
.app-footer { color: #6b7280; font-size: 0.82rem; padding: 18px 24px; text-align: center; border-top: 1px solid #e5e7eb; }
.auth-body .app-footer { border-top: 0; flex: 0 0 auto; padding: 0 24px 18px; }
body:not(.auth-body) > .app-footer { margin-top: 24px; }
@media (max-width: 576px) {
  .auth-shell { align-items: flex-start; padding: 18px; }
  .auth-card { padding: 24px; border-radius: 10px; }
  .metric, .panel { padding: 14px; }
}
