[v-cloak] {
  display: none !important;
}

body {
  background: linear-gradient(to bottom right, #fdfdfd, #eaeaea);
  font-family: "Poppins", "Arial Rounded MT", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  text-align: center;
  color: #333;
}

/* --- Panels --- */
.panel {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px 60px;
  max-width: 500px;
  width: 90%;
}

.title {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 20px;
}

.city {
  font-size: 2.5rem;
  margin: 10px 0 20px;
  color: #222;
}

.reading {
  font-size: 1.8rem;
  margin: 8px 0;
}

.red {
  color: #cc0000;
  font-weight: bold;
}

.description {
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  margin-top: 10px;
}

.clock,
.updated {
  font-size: 1rem;
  color: #555;
  margin-top: 15px;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #ddd;
}

.back-btn {
  margin-top: 30px;
  padding: 10px 20px;
  font-size: 1.1rem;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.back-btn:hover {
  background-color: #0055aa;
}

.reading.temp {
  font-size: 2.4rem;
}

/* --- 5-Day Forecast Section --- */
.forecast-strip {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 25px;
  margin-bottom: 20px;
  gap: 10px;
}

.forecast-box {
  flex: 1;
  background-color: #fdfdfd;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 5px;
  text-align: center;
  border: 1px solid #ddd;
}

.forecast-day {
  font-weight: bold;
  color: #003366;
  margin-bottom: 6px;
  font-size: 1rem;
}

.forecast-temp {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 4px 0;
}

.forecast-temp .high {
  color: #cc0000; /* red for high temp */
}

.forecast-temp .low {
  color: #003366; /* blue for low temp */
}

.forecast-pop {
  font-size: 0.9rem;
  color: #555;
}

/* --- Clock line --- */
.clock-line {
  font-family: "Lucida Console", "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #555;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  white-space: nowrap;
}

.clock,
.updated {
  font-family: inherit;
  letter-spacing: 0.02em; /* visually matches rest of UI */
}


/* =======================================================
   DETAILS PAGE: Scrollable 3-Hour Forecast
   ======================================================= */

.wide-panel {
  max-width: 900px;
  width: 90%;
  height: 90vh;              /* Constrain to viewport height */
  overflow-y: auto;          /* Scrollable contents */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 40px;
}

.details-list {
  width: 100%;
  flex: 1;
  overflow-y: auto;
  margin-top: 15px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.details-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.details-line span {
  flex: 1;
  text-align: center;
}

.details-date {
  font-weight: bold;
  color: #003366;
}

.details-line:nth-child(even) {
  background-color: #f9f9f9;
}

.details-day {
  font-weight: bold;
  color: #003366;
}
.details-date {
  color: #444;
}



/* --- Responsive scaling --- */
@media (min-width: 1200px) {
  .city {
    font-size: 3rem;
  }

  .reading {
    font-size: 2.2rem;
  }

  .title {
    font-size: 2.4rem;
  }
}
