.weekly-progress {
  padding: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.crop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.crop-card {
  background-color: var(--accent-color);
  padding: 24px;
  border-radius: var(--border-radius);
  text-align: center;
}

.crop-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.crop-card h3 {
  margin-bottom: 16px;
  font-weight: 600;
}

.growth-indicator {
  height: 8px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.growth-bar {
  height: 100%;
  background-color: var(--primary-green);
  border-radius: 4px;
  transition: width 1s ease;
}

.growth-text {
  font-size: 14px;
  font-weight: 500;
}

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


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

.analysis-card,
.spray-card,
.weather-card,
.metrics-card {
  background-color: white;
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.analysis-card h3,
.spray-card h3 {
  margin-bottom: 24px;
  font-weight: 600;
}

.spray-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.spray-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spray-details {
  flex: 1;
}

.spray-metric {
  margin-bottom: 12px;
}

.metric-value {
  font-size: 18px;
  font-weight: 600;
  display: block;
}

.metric-label {
  font-size: 14px;
  color: #666;
}

.weather-card {
  display: flex;
  gap: 24px;
}

.date-column,
.weather-column {
  flex: 1;
}

.date-item,
.weather-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.date-item:last-child,
.weather-item:last-child {
  border-bottom: none;
}

.date-item h3 {
  font-size: 20px;
  font-weight: 600;
}

.date-item p {
  font-size: 14px;
  color: #666;
}

.weather-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.temp {
  font-size: 18px;
  font-weight: 600;
}

.condition {
  font-size: 14px;
  color: #666;
}

.weather-icon {
  font-size: 24px;
}

.metrics-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.metric {
  text-align: center;
}

.metric-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.metric-label {
  margin-bottom: 8px;
  font-weight: 500;
}

.metric-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
}

city-selector {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-selector label {
  font-weight: bold;
  color: #333;
}

.city-selector select {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: white;
  font-size: 16px;
  cursor: pointer;
}

.city-selector select:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.loading::after {
  content: "";
  width: 30px;
  height: 30px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #4CAF50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}