* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: #ffffff;
  color: #000000;
}

.dashboard-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: #0d0d0d;
  color: #fff;
  border-bottom: none;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-left h1 {
  font-size: 1.75rem;
  font-weight: 600;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.notification-icon {
  font-size: 1.2rem;
  cursor: pointer;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #3ad1c5;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.dashboard-main {
  display: flex;
  flex: 1;
}

.content-area {
  flex: 1;
  padding: 2rem 2.5rem;
}

.cards-row {
  display: grid;
  grid-template-columns: 320px 360px 360px;
  gap: 2rem;
  padding-top: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.profile-card {
  padding: 1.25rem;
  min-height: 300px;
}

.card-title { text-transform: lowercase; color: #666; margin-bottom: 0.75rem; font-weight: bold;}

.avatar-wrap { display:flex; justify-content:center; }
.avatar-ring {
  width: 165px; height:165px; border-radius:50%;
  background: conic-gradient(#6d28d9 0% 72%, #e5e7eb 72%);
  padding: 10px; display:flex; align-items:center; justify-content:center;
}
.avatar-img { width: 100%; height:100%; border-radius:50%; object-fit:cover; }

.name { text-align:center; font-weight:700; margin-top: 0.75rem; }
.role { text-align:center; font-size: 0.85rem; color:#6b7280; margin-bottom: 1rem; }

.stats { display:flex; gap:12px; justify-content:space-between; }
.stat { display:flex; gap:6px; align-items:center; background:#f8fafc; border-radius:10px; padding:6px 10px; }
.ic { color:#5b21b6; }

.metric-card { position:relative; overflow:hidden; padding:1.25rem; color:#111827; height:220px; }
.metric-label { font-weight:600; color:#111; display:flex; flex-direction:column; gap:2px; }
.metric-value { position:absolute; right:18px; bottom:40px; font-size:42px; font-weight:800; }
.metric-sub { position:absolute; right:18px; bottom:18px; font-size:12px; color:#6b7280; }

.gradient-pink { background: radial-gradient(160px 160px at 40px 20px, #f3e8ff, #fff1f2 60%, #fdf2f8); }
.gradient-blue { background: radial-gradient(160px 160px at 40px 20px, #e0e7ff, #e0f2fe 60%, #eef2ff); }


.progress-section {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.progress-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.progress-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.progress-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
}

.circular-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 2;
}

.circle {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

.circle.primary {
  stroke: #3ad1c5;
}

.circle.secondary {
  stroke: #ff6b6b;
}

.percentage {
  fill: #333;
  font-size: 0.5em;
  text-anchor: middle;
  font-weight: bold;
}

.progress-card p {
  color: #666;
  font-size: 0.9rem;
}

.task-section {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.task-section h2 {
  margin-bottom: 1.5rem;
}

.task-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.filter-btn.active {
  background: #333;
  color: white;
  border-color: #333;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  background: #f9f9f9;
}

.task-info h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.task-info p {
  color: #666;
  font-size: 0.9rem;
}

.task-status .priority {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.priority.high {
  background: #ff6b6b;
  color: white;
}

.priority.medium {
  background: #ffd166;
  color: #333;
}

.priority.low {
  background: #06d6a0;
  color: white;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}