.farm-list-container {
  font-family: 'Segoe UI', Arial, sans-serif;
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.farm-list-container h2 {
  display: inline-block;
  margin-right: 15px;
}

.add-farm-btn {
    margin-left: auto;
    width: 200px;
    margin-bottom: 20px;
}

.farm-item {
  display: block;
  min-width: 80%;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.farm-link {
  font-size: 1.3em;
  font-weight: 600;
  color: #2c3e50;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
  transition: color 0.2s;
}

.farm-link:hover {
  color: #3498db;
}

.projection-data-farmlist {
  margin-top: 15px;
}

.metrics-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.metric-box {
  flex: 1;
  min-width: 200px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  border-left: 4px solid #3498db;
}

.metric-box h4 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-box .number {
  font-size: 1.5em;
  font-weight: bold;
  color: #27ae60;
  display: block;
  margin: 5px 0;
}
.costs-section {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px dashed #e0e0e0;
}

.costs-section h4 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.costs-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.costs-section li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
}

.costs-section li:last-child {
  border-bottom: none;
}

.costs-section li strong {
  color: #7f8c8d;
}

.sparkloader {
  height: 20px;
  margin-top: 5px;
}

.no-projection {
  color: #95a5a6;
  font-style: italic;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
}

.user-email {
  text-align: center;
  color: #7f8c8d;
  margin-top: 30px;
  font-size: 0.9em;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85em;
  transition: background 0.2s;
}

.btn:hover {
  background: #2980b9;
}

.user-email-section {
  margin-top: 30px;
  text-align: left;
  font-size: 0.95em;
}

.email-title {
  color: #7f8c8d;
  margin-right: 8px;
}

.user-email {
  color: #2c3e50;
  font-weight: 500;
}