:root {
  --sidebar-width: 240px;
  --topbar-height: 56px;
}
body { background: #f4f6f9; font-family: 'Segoe UI', system-ui, sans-serif; }

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}
.login-card {
  width: 100%;
  max-width: 420px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: #1a1d23;
  color: #adb5bd;
  z-index: 1000;
  overflow-y: auto;
}
.sidebar .brand {
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid #2a2d35;
}
.sidebar .nav-link {
  color: #9ba1a9;
  padding: 10px 20px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .15s;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: #fff;
  background: #2a2d35;
}
.sidebar .nav-link i { width: 20px; text-align: center; }

/* Content */
.content-wrapper {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #e0e3e8;
  padding: 0 24px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-content { padding: 24px; }

/* Cards */
.card { border: none; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.stat-card { transition: transform .15s; }
.stat-card:hover { transform: translateY(-2px); }
.stat-card .stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

/* Kanban */
.kanban-board { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; }
.kanban-column {
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  background: #eef0f4;
  border-radius: 12px;
  padding: 12px;
}
.kanban-column h6 {
  font-weight: 600;
  margin-bottom: 12px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kanban-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: box-shadow .15s;
}
.kanban-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.kanban-card.dragging { opacity: .5; }

/* Tables */
.table th { font-weight: 600; font-size: 13px; color: #6c757d; border-bottom-width: 1px; }
.table td { vertical-align: middle; }

/* Badges */
.badge-sla-ok { background: #d1fae5; color: #065f46; }
.badge-sla-warn { background: #fef3c7; color: #92400e; }

/* Responsive */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
  .content-wrapper { margin-left: 0; }
  .kanban-column { min-width: 240px; }
}
