* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  min-height: 100vh;
}

/* Topbar */
.topbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #334155;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  display: none;
}

.dashboard-title {
  font-size: 1.6rem;
  font-weight: 600;
}

.dashboard-title span {
  color: #60a5fa;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 70px;
  width: 260px;
  height: calc(100vh - 70px);
  background: #1e2937;
  border-right: 1px solid #334155;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
  z-index: 900;
}

.sidebar-menu li {
  padding: 14px 20px;
  margin: 6px 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.sidebar-menu li:hover,
.sidebar-menu li.active {
  background: #334155;
  color: #60a5fa;
}

/* Main Content */
.main-content {
  margin-left: 260px;
  padding: 2rem;
  transition: margin-left 0.3s ease;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card {
  background: #1e2937;
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid #334155;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #60a5fa;
}

/* Responsive Mobile */
@media (max-width: 992px) {
  .menu-btn {
    display: block;
  }
  
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}