html, body {
  margin: 0;
  padding: 0;
}
canvas {
  display: block;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  background: #0d1b2a;
  color: #e0e0e0;
  padding: 30px;
}

#controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

#controls label {
  font-size: 1rem;
  font-weight: bold;
}

#citySelect {
  padding: 8px 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1b2a3b;
  color: #eee;
  cursor: pointer;
}

#display {
  background: #1b2a3b;
  border-radius: 12px;
  padding: 24px;
  max-width: 800px;
}

#display h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: #90cdf4;
}

.day-card {
  background: #0d1b2a;
  border: 1px solid #2d3f52;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.day-card:hover {
  background: #152a3a;
  border-color: #3d4f62;
  transform: translateY(-2px);
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 2px solid #2d3f52;
  padding-bottom: 8px;
}

.day-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #90cdf4;
}

.date {
  font-size: 0.85rem;
  color: #aaa;
}

.weather-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.85rem;
  color: #a0aec0;
  font-weight: 500;
}

.detail-value {
  font-size: 1rem;
  color: #f6ad55;
  font-weight: bold;
}

#loading {
  color: #aaa;
  font-style: italic;
}
