.landing-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
}

.landing-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 320px;
}

.landing-card h1 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 28px;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.user-email {
  color: #666;
  margin-bottom: 20px;
}

.logout-button {
  background: #dc3545;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.logout-button:hover {
  background: #c82333;
}

.landing-card a {
  color: #4285f4;
  text-decoration: none;
}

.landing-card a:hover {
  text-decoration: underline;
}

/* ==================== Dashboard Styles ==================== */

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

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.dashboard-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.dashboard-welcome h1 {
  margin: 0 0 5px 0;
  font-size: 28px;
  color: #2c3e50;
}

.dashboard-welcome .user-email {
  margin: 0;
  color: #7f8c8d;
  font-size: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dashboard-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dashboard-card h2 {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #2c3e50;
  padding-bottom: 12px;
  border-bottom: 2px solid #3498db;
}

.dashboard-card .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-value.stat-due {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 700;
}

.stat-value.stat-due:hover {
  text-decoration: underline;
}

.stat-value.stat-clear {
  color: #3498db;
}

/* ==================== Vertical Bar Chart Styles ==================== */

.vchart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vchart-body {
  display: flex;
  gap: 4px;
}

.vchart-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 24px;
  flex-shrink: 0;
}

.vchart-axis span {
  font-size: 11px;
  color: #7f8c8d;
  line-height: 1;
}

.vchart-bars {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 140px;
  flex: 1;
  border-left: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding-left: 4px;
}

.vchart-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.vchart-pair {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.vchart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
}

.vchart-words {
  background-color: #3498db;
}

.vchart-proofread {
  background-color: #e67e22;
}

.vchart-label {
  margin-top: 6px;
  font-size: 12px;
  color: #7f8c8d;
}

.vchart-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.vchart-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #7f8c8d;
}

.vchart-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}

/* ==================== Heatmap Styles ==================== */

.heatmap-card {
  margin-bottom: 20px;
}

.heatmap-container {
  display: flex;
  gap: 4px;
}

.heatmap-days {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 19px;
}

.heatmap-days span {
  font-size: 11px;
  color: #7f8c8d;
  text-align: right;
  padding-right: 6px;
  display: flex;
  align-items: center;
  flex: 1;
}

.heatmap-graph {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.heatmap-months {
  display: flex;
  gap: 2px;
  height: 17px;
}

.heatmap-months span {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: #7f8c8d;
}

.heatmap-grid {
  display: flex;
  gap: 2px;
}

.heatmap-week {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.heatmap-cell {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 2px;
}

.heatmap-empty {
  background: transparent;
}

.heatmap-level-0 {
  background-color: #ebedf0;
}

.heatmap-level-1 {
  background-color: #9be9a8;
}

.heatmap-level-2 {
  background-color: #40c463;
}

.heatmap-level-3 {
  background-color: #30a14e;
}

.heatmap-level-4 {
  background-color: #216e39;
}

.heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 12px;
}

.heatmap-legend .heatmap-cell {
  width: 13px;
  height: 13px;
}

.heatmap-legend span {
  font-size: 11px;
  color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card .stat-grid {
    grid-template-columns: 1fr;
  }

}
