:root {
  --sidebar-width: 290px;
}

.login-shell {
  background:
    radial-gradient(circle at top left, rgba(13,110,253,.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(25,135,84,.10), transparent 30%),
    #f8f9fa;
}

.login-card { max-width: 460px; width: 100%; border-radius: 24px; }
.brand-badge {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #111827, #374151);
  color: #fff; font-size: 1.35rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.brand-badge.small { width: 42px; height: 42px; border-radius: 14px; font-size: 1rem; }

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: #0f172a;
  color: #e5e7eb;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-brand, .user-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
}

.sidebar .nav-link {
  color: #cbd5e1;
  border-radius: 14px;
  padding: 12px 14px;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.main-content {
  padding: 18px;
}

.topbar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}

.card-soft {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}

.table thead th {
  background: #f8fafc;
  white-space: nowrap;
}

.badge-status {
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 12px;
}

@media (max-width: 992px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
  }
}
