/* Analytics page styles */
.analytics-container {
  padding: 24px;
  background-color: #fff;
  border-radius: var(--border-radius);
}

.crop-selector {
  margin-bottom: 32px;
}

.crop-selector label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-color);
}

.crop-select {
  width: 100%;
  max-width: 300px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  background-color: white;
  font-size: 16px;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.crop-select:hover {
  border-color: #cbd5e0;
}

.crop-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 41, 0.1);
}


.analysis-results {
  background-color: white;
  padding: 24px;
  border-radius: var(--border-radius);
  border: 1px solid #e2e8f0;
}

.analysis-results h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-color);
}

.results-warning {
  padding: 12px 16px;
  background-color: #fee2e2;
  color: #991b1b;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
}

.results-details {
  margin-bottom: 24px;
}

.results-details ul {
  list-style: none;
}

.results-details li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
}

.results-details li:last-child {
  border-bottom: none;
}

.suitable-crops {
  background-color: #f0fdf4;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.suitable-crops h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #166534;
}

.suitable-crops ul {
  list-style: none;
  color: #166534;
}

.action-buttons {
  display: flex;
  gap: 12px;
}

.action-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn:hover {
  background-color: #dceab9;
}