.dashboard-time {
  text-align: center;
  padding: 24px 0;
}
.dashboard-time .time {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}
.dashboard-time .date {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-card .stat-icon { margin-bottom: 8px; }
.stat-card .stat-icon svg { width: 24px; height: 24px; fill: var(--accent); }
.stat-card .stat-value { font-size: 1.1rem; font-weight: 700; }
.stat-card .stat-label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }

.todo-item {
  position: relative;
  padding-left: 40px;
}
.todo-item .todo-check {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.todo-item .todo-check.checked {
  background: var(--accent);
  border-color: var(--accent);
}
.todo-item .todo-check.checked::after {
  content: '✓';
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
}
.todo-item .todo-content { flex: 1; }
.todo-item .todo-title { font-size: 0.95rem; }
.todo-item .todo-title.completed {
  text-decoration: line-through;
  color: var(--text-muted);
}
.todo-item .todo-desc { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.todo-item .todo-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.todo-color-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 2px 0 0 2px;
}

.alarm-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.alarm-time {
  font-size: 1.8rem;
  font-weight: 700;
  min-width: 100px;
}
.alarm-info { flex: 1; }
.alarm-days { display: flex; gap: 4px; margin-top: 4px; }
.alarm-day {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--bg-hover);
  color: var(--text-muted);
}
.alarm-day.active { background: var(--accent); color: #000; }

.schedule-day {
  margin-bottom: 20px;
}
.schedule-day-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 4px;
}
.schedule-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  border-left: 4px solid var(--accent);
}
.schedule-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
  min-width: 100px;
}
.schedule-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.settings-group {
  margin-bottom: 24px;
}
.settings-group-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 4px;
}

.time-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}
.time-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.color-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s;
}
.color-option.selected { border-color: #fff; transform: scale(1.1); }

.repeat-days {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.repeat-day-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.repeat-day-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.wifi-network {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.wifi-network:hover { background: var(--bg-hover); }
.wifi-signal { display: flex; align-items: center; }
.wifi-signal svg { width: 20px; height: 20px; fill: var(--text-secondary); }
.wifi-name { flex: 1; font-weight: 500; }
.wifi-lock { color: var(--text-muted); font-size: 0.8rem; }

.battery-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-hover);
  border-radius: 4px;
  overflow: hidden;
}
.battery-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

@media (min-width: 768px) {
  .dashboard-grid { grid-template-columns: repeat(4, 1fr); }
  .dashboard-time .time { font-size: 4rem; }
}

/* Dashboard Redesign */
.dashboard-page {
  padding-bottom: 24px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 32px 16px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.hero-greeting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-greeting-icon {
  font-size: 1.5rem;
}

.hero-greeting-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
}

.hero-time {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.hero-date {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.hero-weather {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: var(--bg-hover);
  border-radius: var(--radius-sm);
  display: inline-flex;
}

.hero-weather-icon {
  font-size: 1.2rem;
}

.hero-weather-temp {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-weather-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.hero-status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

/* Summary Section */
.summary-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  padding: 0 4px;
}

.summary-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.summary-card:hover {
  background: var(--bg-hover);
}

.summary-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.summary-card-content {
  flex: 1;
  min-width: 0;
}

.summary-card-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.summary-card-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.summary-card-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Quick Actions */
.actions-section {
  margin-bottom: 24px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.action-card:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.action-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

/* Timeline */
.timeline-section {
  margin-bottom: 24px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 50px;
  padding-top: 2px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.timeline-content {
  flex: 1;
  min-width: 0;
}

.timeline-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.timeline-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.timeline-empty {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Setup Guide */
.guide-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.guide-header .section-title {
  margin: 0;
}

.guide-progress {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.guide-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.guide-step-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-hover);
  color: var(--text-muted);
  flex-shrink: 0;
}

.guide-step.completed .guide-step-check {
  background: var(--success);
  color: #fff;
}

.guide-step-label {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.guide-step.completed .guide-step-label {
  color: var(--text-muted);
}

.guide-complete {
  text-align: center;
  padding: 12px;
  background: var(--success);
  color: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.guide-complete p {
  margin: 0 0 8px 0;
  font-weight: 500;
}

.guide-hide {
  width: 100%;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-time {
    font-size: 5rem;
  }

  .summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline-list {
    max-width: 600px;
  }
}

@media (min-width: 1024px) {
  .hero-time {
    font-size: 6rem;
  }

  .summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
