:root {
  --brand: #2f5cf2;
  --brand-dark: #1e3fb0;
  --sidebar-bg: #101828;
  --sidebar-hover: #1d2939;
}
body { background: #f4f6fb; font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.app-navbar { background: var(--sidebar-bg); color: #fff; min-height: 56px; position: sticky; top:0; z-index: 1030; }
.app-wrapper { display: flex; min-height: calc(100vh - 56px); }
.app-sidebar {
  width: 240px; flex-shrink: 0; background: var(--sidebar-bg); color: #cbd5e1;
  padding: 14px 8px; overflow-y: auto;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  color: #cbd5e1; text-decoration: none; font-size: 14px; margin-bottom: 2px;
}
.sidebar-link:hover { background: var(--sidebar-hover); color: #fff; }
.sidebar-link.active { background: var(--brand); color: #fff; }
.app-content { flex-grow: 1; padding: 24px; max-width: 100%; overflow-x: auto; }

.kpi-card { border: none; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.kpi-card .kpi-value { font-size: 28px; font-weight: 700; }
.kpi-card .kpi-label { font-size: 13px; color: #667085; }

.card { border: none; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.table thead th { background: #f0f2f7; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: #475467;}
.badge-stage { font-size: 11px; padding: 5px 10px; border-radius: 20px; }

.pipeline-board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.pipeline-col { min-width: 230px; background: #eef1f8; border-radius: 10px; padding: 10px; flex-shrink:0; }
.pipeline-col h6 { font-size: 12px; text-transform: uppercase; color: #667085; }
.pipeline-card { background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); font-size: 13px; }

.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #101828, #2f5cf2); }
.login-card { max-width: 400px; width: 100%; border-radius: 16px; }

@media (max-width: 768px) {
  .app-sidebar { position: fixed; left: -240px; top: 56px; bottom: 0; transition: left .2s; z-index: 1020; }
  .app-sidebar.show { left: 0; }
  .app-content { padding: 14px; }
}

.navbar-brand{color: white}
