/* ====== ویجت آب‌وهوا ====== */
.weather-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 170px;
  position: relative;
  overflow: hidden;
}
.weather-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}
.weather-city {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.weather-country {
  font-size: 12px;
  color: var(--text-muted);
}
.weather-extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.weather-temp-block {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}
.weather-icon {
  font-size: 52px;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}
.weather-temp {
  font-size: 46px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.weather-temp span { font-size: 22px; color: var(--text-muted); }

.weather-clock {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  opacity: .9;
  letter-spacing: 1px;
}
.weather-date {
  position: absolute;
  top: 54px;
  left: 22px;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ====== ویجت تقویم ====== */
.calendar-widget {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.cal-nav {
  display: flex;
  gap: 6px;
}
.cal-nav button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  transition: all .3s ease;
}
.cal-nav button:hover {
  background: var(--accent);
  color: #fff;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 12px;
}
.cal-day-name {
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
  padding: 4px 0;
  font-weight: 600;
}
.cal-day {
  text-align: center;
  padding: 7px 0;
  border-radius: 9px;
  color: var(--text);
  cursor: pointer;
  transition: all .25s ease;
  font-size: 12.5px;
}
.cal-day:hover {
  background: var(--glass);
}
.cal-day.today {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.cal-day.event {
  position: relative;
}
.cal-day.event::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warning);
}