/* =========================================
   Dashboard Meteorológico - Sleep Point
   ========================================= */
.weather-dashboard {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.weather-header {
  border-left: 4px solid #e0bf6b;
  padding-left: 12px;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.weather-seo-text {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.6;
  background: #fdfdfd;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  margin-bottom: 2rem;
}

/* Panel 1: Grid de Condiciones Actuales */
.current-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.current-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.current-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(224, 191, 107, 0.15);
}

.current-label {
  color: #8c98a4;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.current-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.current-sub {
  color: #6c7d8e;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
}

/* Panel 2 y 3: Gráfica y Previsión */
.weather-section-title {
  font-size: 1.25rem;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
}

.chart-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 2.5rem;
  position: relative;
  height: 320px;
  width: 100%;
}

.forecast-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #e0bf6b #f0f0f0;
  justify-content: space-around;
}

.forecast-scroll::-webkit-scrollbar {
  height: 6px;
}

.forecast-scroll::-webkit-scrollbar-thumb {
  background: #e0bf6b;
  border-radius: 10px;
}

.forecast-day {
  flex: 0 0 auto;
  min-width: 110px;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.forecast-date {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.forecast-temps {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.t-max {
  font-weight: 700;
  color: #2c3e50;
}
.t-min {
  font-weight: 400;
  color: #8c98a4;
}

/* Actualizamos la info general para darle un borde inferior sutil */
.forecast-meta {
  font-size: 0.8rem;
  color: #6c7d8e;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08); /* Línea separadora */
}

/* Nuevo estilo para la sección solar (Amanecer/Atardecer) */
.forecast-sun {
  font-size: 0.75rem;
  color: #8c98a4;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 500;
}
