/* === Asosiy blok (card-style) === */
.obhavo-today {
  background: var(--c-bg-today-grad, linear-gradient(135deg, #e0f3ff 0%, #ffeaea 100%));
  padding: 18px;
  border-radius: 15px;
  text-align: center;
  border: 1.5px solid #b5e7fa;
  box-shadow: 0 4px 24px 0 rgba(0,160,255, .07), 0 1.5px .5px rgba(0,160,255, .05);
  margin-bottom: 22px;
  position: relative;
  box-sizing: border-box;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Montserrat', Arial, sans-serif;
}

.obhavo-today .city-name {
  font-size: 22px;
  color: #07538c;
  font-weight: 700;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.obhavo-today .today-date {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
}

.obhavo-today .today-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  object-fit: contain;
  display: block;
}

.obhavo-today .today-temp {
  font-size: 32px;
  font-weight: 700;
  color: #ff5a1e;
  margin-bottom: 7px;
  letter-spacing: .5px;
}

.obhavo-today .today-desc {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 500;
}

.today-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.today-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.today-statistics span,
.today-avg-temps span {
  font-size: 14px;
  font-weight: 500;
  margin-right: 9px;
}

.today-statistics span:last-child,
.today-avg-temps span:last-child {
  margin-right: 0;
}

/* === Quyosh/Oy chiqish/botish === */
.obhavo-today__astro-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.obhavo-today__astro-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #2a77b3;
}

.obhavo-today__astro-label {
  font-size: 13.5px;
  font-weight: 500;
  color: #2a77b3;
}

.obhavo-today__astro-moon {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: #218e6d;
  gap: 6px;
}

/* === Oy fazasi === */
.today-moonphase {
  text-align: center;
  margin-top: 3px;
}
.today-moonphase span {
  font-size: 13px;
  color: #4a4a4a;
  font-weight: 500;
}

/* === Mobil uchun === */
@media (max-width: 600px) {
  .obhavo-today {
    padding: 11px 3vw 13px 3vw;
    font-size: 14px;
    border-radius: 13px;
    max-width: 98vw;
    margin-bottom: 16px;
  }
  .obhavo-today .city-name {
    font-size: 19px;
    margin-bottom: 4px;
  }
  .obhavo-today .today-date {
    font-size: 14px;
    margin-bottom: 7px;
  }
  .obhavo-today .today-temp {
    font-size: 28px;
    margin-bottom: 5px;
  }
  .obhavo-today .today-desc {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .today-details {
    gap: 3px;
    margin-top: 6px;
  }
  .today-row {
    gap: 6px;
  }
  .today-statistics span,
  .today-avg-temps span {
    font-size: 13px;
    margin-right: 7px;
  }
  .obhavo-today__astro-row {
    gap: 6px;
  }
  .obhavo-today__astro-pair {
    font-size: 12.5px;
    gap: 6px;
  }
  .obhavo-today__astro-label {
    font-size: 12.5px;
  }
  .obhavo-today__astro-moon {
    font-size: 12.5px;
    gap: 5px;
  }
  .today-moonphase span {
    font-size: 12px;
  }
}

/* === Error stili === */
.obhavo-today-error {
  background: #ffe5e5;
  color: #b71c1c;
  border: 1.5px solid #ffbaba;
  border-radius: 15px;
  font-size: 16px;
  padding: 14px 6px 11px;
  margin-bottom: 18px;
  box-sizing: border-box;
}
