:root {
  --primary: #4361ee;
  --bg-light: #f8f9fc;
  --text-main: #2d3436;
  --text-muted: #636e72;
  --border: #e9ecef;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
}

.navbar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

.logo { font-weight: 700; color: var(--primary); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: auto;
}

.nav-links a { color: var(--text-muted); text-decoration: none; }

.user-profile img {
  width: 36px;
  border-radius: 50%;
}

.dashboard-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
}

.card, .task-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 1rem; }

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.btn-primary {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.task-card { margin-bottom: 1rem; }

.task-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.badge-Pending { background: #f1f3f5; }
.badge-In\ Progress { background: #eef2ff; color: var(--primary); }
.badge-Completed { background: #e6fcf5; color: #087f5b; }

.task-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.btn-outline {
  border: 1px solid var(--primary);
  background: white;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-danger {
  background: #fa5252;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.footer {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
