/* ==============================
   Weather Card – Ultra-Compact
   ============================== */

#weather-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.1;
}

/* ------------------------------
   Top Summary (Temp + Condition)
   ------------------------------ */

.weather-main {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

.weather-temp {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.weather-condition {
  font-size: 14px;
  color: #555;
  line-height: 1.15;
}

/* ------------------------------
   Detail Grid (2-column)
   ------------------------------ */

.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 12px;
  font-size: 13px;
  color: #444;
  line-height: 0.5;
}

.weather-grid div {
  white-space: nowrap;
  line-height: 0.5;
}

/* ------------------------------
   Sunrise / Sunset Row
   ------------------------------ */

.weather-sun {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #444;
  line-height: 1.05;
  margin-top: 2px;
}

/* ------------------------------
   Uber Prompt (Bottom CTA)
   ------------------------------ */

.weather-prompt {
  margin-top: 8px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-top: 1px solid #ddd;
  text-align: center;
  line-height: 1.1;
}

.weather-prompt button {
  margin-top: 6px;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.weather-prompt button:hover {
  opacity: 0.9;
}

/* ------------------------------
   Error Message (Weather)
   ------------------------------ */

#errorMessage {
  font-size: 13px;
  line-height: 1.1;
}

#WRTempC {
  margin: 0;
}