/* ===== Dashboard Layout ===== */
#dashboard-view {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

#dashboard-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding: 90px 32px 80px 32px; /* top: space for clock/weather, bottom: space for routine bar */
  height: 100%;
  overflow: hidden;
}

/* ===== Calendar Panel ===== */
#calendar-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  flex: 1;
}

.calendar-week.next-week {
  opacity: 0.5;
  flex: 0.6;
}

.calendar-day {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendar-day.today {
  background: rgba(100, 149, 237, 0.2);
  border: 1px solid rgba(100, 149, 237, 0.4);
}

.calendar-day-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.calendar-day-number {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 8px;
}

.calendar-day.today .calendar-day-number {
  color: #6495ed;
}

.calendar-event {
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 4px;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(100, 149, 237, 0.25);
  border-left: 2px solid #6495ed;
}

.calendar-event-time {
  font-size: 9px;
  opacity: 0.7;
}

.week-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== Weather Detail Panel ===== */
#weather-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
}

.weather-current {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.weather-current-temp {
  font-size: 56px;
  font-weight: 200;
}

.weather-current-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.weather-current-hilo {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.weather-hourly-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
}

.weather-hour {
  flex: 0 0 52px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.weather-hour-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.weather-hour-icon {
  font-size: 20px;
}

.weather-hour-temp {
  font-size: 14px;
  font-weight: 500;
}

.weather-hour-precip {
  font-size: 9px;
  color: #64b5f6;
}

.weather-hour.now {
  background: rgba(100, 149, 237, 0.2);
  border: 1px solid rgba(100, 149, 237, 0.3);
}

.weather-daily {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.weather-day-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}

.weather-day-name {
  width: 40px;
  color: rgba(255, 255, 255, 0.6);
}

.weather-day-icon {
  font-size: 18px;
  width: 30px;
  text-align: center;
}

.weather-day-temps {
  display: flex;
  gap: 8px;
}

.weather-day-high { font-weight: 500; }
.weather-day-low { color: rgba(255, 255, 255, 0.4); }

.weather-day-precip {
  font-size: 11px;
  color: #64b5f6;
  width: 40px;
  text-align: right;
}
