.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.progress-ring-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ring-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-wrap svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.ring-val {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.ring-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Bar chart */
.bar-chart-wrap {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 20px;
}

.bar-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bar-chart-header h3 {
  font-size: 0.9375rem;
  font-weight: 700;
}

.bar-chart-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--neon-blue);
  font-weight: 600;
}

.bars-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 8px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(108, 99, 255, 0.8), rgba(108, 99, 255, 0.3));
  min-height: 4px;
  transition: height 1s ease;
}

.bar-fill.today {
  background: linear-gradient(180deg, var(--purple-main), rgba(108, 99, 255, 0.5));
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.4);
}

.bar-day {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Period selector */
.period-selector {
  display: flex;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  margin-bottom: 20px;
}

.period-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
  color: var(--text-muted);
  text-align: center;
}

.period-btn.active {
  background: rgba(108, 99, 255, 0.2);
  color: var(--purple-main);
  border: 1px solid rgba(108, 99, 255, 0.3);
}
@media (max-width: 480px) {
  .bars-container {
    gap: 2px;
    height: 80px;
  }

  .bar-col {
    flex: 1 1 0;
    min-width: 0;
  }

  .bar-fill {
    width: 100%;
  }

  .bar-day {
    font-size: 0.5rem;
  }
}