/* Global Styles */
body {
  background-color: #ffffff;
  color: #333;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1em;
}
.banner img {
  max-width: 100%;
  display: block;
  margin: 0 auto 1em;
  border-radius: 4px;
}
.section {
  margin-bottom: 2em;
}
.section-header {
  background-color: #0d3d8b;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em;
  border-radius: 4px;
}
.section-header h2 {
  margin: 0;
  font-size: 1.2em;
  flex: 1;
}
.section-header img {
  max-width: 50px;
  margin-left: 0.5em;
  border-radius: 4px;
}
.section-content p {
  margin: 0.3em 0;
  line-height: 1.5;
  white-space: pre-line;
}
.last-update {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 1em;
}
.footer {
  text-align: center;
  margin-top: 0.5em;
  font-size: 0.9em;
}
.footer a {
  color: #0d3d8b;
  text-decoration: none;
}

/* Forecast-24h Styles */
.forecast-24h {
  /* Container für die 24-Stunden-Vorhersage */
}
.forecast-24h .forecast-title,
.forecast-24h .generated-note,
.forecast-24h .source-note {
  text-align: center;
}
.forecast-24h .forecast-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.2em;
}
.generated-note {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 1em;
}
.forecast-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.8em;
}
.icon-cell {
  background-color: #0d3d8b;
  width: 71px;   /* 55px Icon + 8px Padding je Seite */
  height: 71px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.icon-cell img {
  width: 55px;
  height: 55px;
}
.content-cell {
  display: flex;
  flex-direction: column;
  margin-left: 0.8em;
}
.time-details {

  color: #333;
  margin-bottom: 0.2em;
}
.more-details {
  font-size: 0.9em;
  color: #333;
}
.source-note {
  font-size: 0.8em;
  color: gray;
  margin-top: 1.5em;
}
/* Forecast-10d Styles */
.forecast-10d .forecast-title,
.forecast-10d .generated-note,
.forecast-10d .source-note {
  text-align: center;
}
.forecast-10d .forecast-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.2em;
}
/* Ampel-Färbung für die Inline-Spans */
.forecast-10d .more-details span.vorhersage-sicherheit-high   { color: green;  }
.forecast-10d .more-details span.vorhersage-sicherheit-medium { color: orange; }
.forecast-10d .more-details span.vorhersage-sicherheit-low    { color: red;    }

.forecast-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  font-size: 1em;
  margin: 1em 0;
}
.forecast-table th, .forecast-table td {
  border: 1px solid #ddd;
  padding: 4px 6px;
  text-align: center;
}
.forecast-table th {
  background: #f7f7f7;
  position: sticky;
  top: 0;
  z-index: 1;
}
.city-select-row {
  margin: 1em 0 0.5em 0;
  display: flex;
  gap: 0.5em;
  align-items: center;
}


/* Responsive */
@media (max-width: 600px) {
  .section-header {
    flex-direction: column;
    text-align: center;
  }
  .section-header img {
    margin: 0.5em auto 0 auto;
    max-width: 100%;
  }
  .forecast-table { font-size: 0.95em; }
}

