/* ============================================
   TIMEFLOW — Design System
   Palette: Copper & Slate
   Fonts: Outfit + Plus Jakarta Sans
   ============================================ */

:root {
  --slate-900: #1a1f26;
  --slate-800: #2F3640;
  --slate-700: #3d4654;
  --slate-600: #4e5a6e;
  --slate-400: #8a97a8;
  --slate-200: #c8d0db;
  --slate-100: #e8ecf0;

  --copper: #B87333;
  --copper-light: #D4A574;
  --copper-dark: #8a5520;
  --copper-glow: rgba(184, 115, 51, 0.15);

  --cream: #F5F0EB;
  --cream-dark: #ede5da;

  --success: #4caf7d;
  --danger: #e05c5c;
  --warning: #f0a500;

  --priority-high: #e05c5c;
  --priority-medium: #f0a500;
  --priority-low: #4caf7d;

  --sidebar-w: 240px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.12);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--slate-900);
  color: var(--cream);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-600); border-radius: 3px; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--slate-800);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  padding: 28px 16px;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

.logo-mark {
  width: 40px; height: 40px;
  background: var(--copper-glow);
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--slate-400);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  width: 100%;
}

.nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--cream);
}

.nav-item.active {
  background: var(--copper-glow);
  color: var(--copper-light);
  border: 1px solid rgba(184,115,51,0.25);
}

.nav-item.active svg { stroke: var(--copper-light); }

.sidebar-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.daily-quote {
  font-size: 0.75rem;
  color: var(--slate-400);
  line-height: 1.5;
  font-style: italic;
  padding: 0 4px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 36px 40px;
  min-height: 100vh;
  overflow-y: auto;
}

/* ============================================
   VIEWS
   ============================================ */
.view { display: none; animation: fadeIn 0.3s ease; }
.view.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   VIEW HEADER
   ============================================ */
.view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.view-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.view-subtitle {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-top: 4px;
}

.header-stats {
  display: flex;
  gap: 12px;
}

.stat-pill {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 8px 18px;
  text-align: center;
  min-width: 80px;
}

.stat-pill.accent {
  background: var(--copper-glow);
  border-color: rgba(184,115,51,0.3);
}

.stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.stat-pill.accent .stat-num { color: var(--copper-light); }

.stat-label {
  font-size: 0.7rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition);
}

.card:hover { border-color: rgba(184,115,51,0.2); }

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-200);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

/* ============================================
   DASHBOARD GRID
   ============================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card-wide { grid-column: 1 / -1; }

/* Progress Bar */
.progress-bar-wrap {
  height: 10px;
  background: var(--slate-700);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  border-radius: 5px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-label {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* Quick Add */
.quick-add-form { display: flex; flex-direction: column; gap: 10px; }
.quick-add-row { display: flex; gap: 10px; }

/* Focus Summary */
.focus-summary { text-align: center; padding: 8px 0; }
.focus-big {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--copper-light);
  line-height: 1;
}
.focus-sub { font-size: 0.8rem; color: var(--slate-400); margin: 4px 0 12px; }
.focus-sessions {
  display: inline-block;
  background: var(--copper-glow);
  border: 1px solid rgba(184,115,51,0.25);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.78rem;
  color: var(--copper-light);
}

/* Task Preview List */
.task-preview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--slate-700);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: background var(--transition);
}

.task-preview-item:hover { background: var(--slate-600); }

.priority-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.priority-dot.high { background: var(--priority-high); }
.priority-dot.medium { background: var(--priority-medium); }
.priority-dot.low { background: var(--priority-low); }

.task-preview-name { flex: 1; color: var(--cream); }
.task-preview-name.done { text-decoration: line-through; color: var(--slate-400); }

.task-preview-cat {
  font-size: 0.7rem;
  color: var(--slate-400);
  background: var(--slate-800);
  padding: 2px 8px;
  border-radius: 50px;
}

/* Weekly Bars */
.weekly-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 80px;
  padding-top: 8px;
}

.week-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.week-bar {
  width: 100%;
  background: var(--slate-700);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.week-bar.has-data { background: linear-gradient(180deg, var(--copper-light), var(--copper)); }
.week-bar.today { background: linear-gradient(180deg, #ffd700, var(--copper)); }

.week-bar-label {
  font-size: 0.7rem;
  color: var(--slate-400);
  text-align: center;
}

/* ============================================
   TASKS VIEW
   ============================================ */
.task-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--slate-400);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--copper); color: var(--copper-light); }
.filter-btn.active {
  background: var(--copper-glow);
  border-color: rgba(184,115,51,0.4);
  color: var(--copper-light);
}

.tasks-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Task Card */
.task-card {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.task-card:hover { border-color: rgba(184,115,51,0.2); transform: translateX(2px); }
.task-card.completed { opacity: 0.6; }

.task-checkbox {
  width: 20px; height: 20px;
  border: 2px solid var(--slate-600);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}

.task-checkbox:hover { border-color: var(--copper); }
.task-checkbox.checked {
  background: var(--copper);
  border-color: var(--copper);
}

.task-checkbox.checked::after {
  content: '';
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.task-body { flex: 1; min-width: 0; }

.task-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.task-card.completed .task-name { text-decoration: line-through; color: var(--slate-400); }

.task-desc {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 8px;
  line-height: 1.4;
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.task-badge {
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 500;
}

.badge-priority-high { background: rgba(224,92,92,0.15); color: var(--priority-high); border: 1px solid rgba(224,92,92,0.3); }
.badge-priority-medium { background: rgba(240,165,0,0.15); color: var(--priority-medium); border: 1px solid rgba(240,165,0,0.3); }
.badge-priority-low { background: rgba(76,175,125,0.15); color: var(--priority-low); border: 1px solid rgba(76,175,125,0.3); }

.badge-cat {
  background: var(--slate-700);
  color: var(--slate-200);
  border: 1px solid rgba(255,255,255,0.08);
}

.task-due {
  font-size: 0.72rem;
  color: var(--slate-400);
  margin-left: auto;
}

.task-due.overdue { color: var(--priority-high); }

.task-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity var(--transition);
}

.task-card:hover .task-actions { opacity: 1; }

/* ============================================
   TIMER VIEW
   ============================================ */
.timer-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.timer-card {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.timer-modes {
  display: flex;
  gap: 8px;
  background: var(--slate-700);
  padding: 4px;
  border-radius: 50px;
}

.mode-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--slate-400);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.mode-btn.active {
  background: var(--copper);
  color: white;
  box-shadow: 0 2px 12px rgba(184,115,51,0.4);
}

/* Timer Ring */
.timer-ring-wrap {
  position: relative;
  width: 220px; height: 220px;
}

.timer-ring {
  width: 220px; height: 220px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--slate-700);
  stroke-width: 8;
}

.ring-progress {
  fill: none;
  stroke: var(--copper);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 603;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(184,115,51,0.5));
}

.ring-progress.break { stroke: var(--success); filter: drop-shadow(0 0 8px rgba(76,175,125,0.5)); }

.timer-display {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.timer-time {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.04em;
  line-height: 1;
}

.timer-mode-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* Timer Controls */
.timer-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.timer-task-select {
  width: 100%;
  max-width: 320px;
}

/* Timer Stats Panel */
.timer-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timer-stat-card {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
}

.tsc-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--copper-light);
}

.tsc-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.session-log {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.session-log h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-200);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

#sessionList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.session-item {
  font-size: 0.78rem;
  color: var(--slate-400);
  padding: 6px 8px;
  background: var(--slate-700);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
}

.session-item span { color: var(--copper-light); }

/* ============================================
   CALENDAR VIEW
   ============================================ */
.cal-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cal-month-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  min-width: 140px;
  text-align: center;
}

.calendar-wrap {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.cal-day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cal-day-headers span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 0;
}

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

.cal-day {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 4px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  min-height: 60px;
}

.cal-day:hover { background: var(--slate-700); border-color: rgba(255,255,255,0.08); }
.cal-day.other-month .cal-day-num { color: var(--slate-600); }
.cal-day.today { background: var(--copper-glow); border-color: rgba(184,115,51,0.3); }
.cal-day.today .cal-day-num { color: var(--copper-light); font-weight: 700; }
.cal-day.selected { background: var(--slate-700); border-color: var(--copper); }

.cal-day-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
}

.cal-day-dots {
  display: flex;
  gap: 3px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.cal-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

.cal-selected-day {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.cal-add-event {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ============================================
   ACTIVITY LOG
   ============================================ */
.log-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  animation: slideIn 0.2s ease;
}

.log-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.log-icon.task { background: rgba(76,175,125,0.15); }
.log-icon.timer { background: var(--copper-glow); }
.log-icon.event { background: rgba(123,104,238,0.15); }

.log-content { flex: 1; }
.log-text { font-size: 0.875rem; color: var(--cream); }
.log-time { font-size: 0.75rem; color: var(--slate-400); margin-top: 2px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--copper);
  color: white;
  box-shadow: 0 2px 12px rgba(184,115,51,0.3);
}

.btn-primary:hover {
  background: var(--copper-light);
  box-shadow: 0 4px 20px rgba(184,115,51,0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-400);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover { border-color: var(--copper); color: var(--copper-light); }

.btn-lg { padding: 14px 36px; font-size: 1rem; border-radius: 50px; }

.btn-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--slate-400);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-icon:hover { border-color: var(--copper); color: var(--copper-light); background: var(--copper-glow); }

.btn-icon.danger:hover { border-color: var(--danger); color: var(--danger); background: rgba(224,92,92,0.1); }

/* ============================================
   FORM ELEMENTS
   ============================================ */
.input {
  width: 100%;
  padding: 10px 14px;
  background: var(--slate-700);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  transition: border-color var(--transition);
  outline: none;
}

.input:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(184,115,51,0.12); }
.input::placeholder { color: var(--slate-400); }

.select-sm { width: auto; flex-shrink: 0; }

.textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.input-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-group { display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }

.modal {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
  animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 0;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
}

.modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 22px;
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
  color: var(--slate-400);
  font-size: 0.85rem;
  font-style: italic;
  padding: 8px 0;
}

.empty-state-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 20px;
  color: var(--slate-400);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================
   NOTIFICATION TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--slate-700);
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--cream);
  box-shadow: var(--shadow);
  z-index: 300;
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast.success { border-color: rgba(76,175,125,0.4); }
.toast.error { border-color: rgba(224,92,92,0.4); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 20px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: 1; }
  .timer-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .view-title { font-size: 1.5rem; }
  .timer-card { padding: 24px 16px; }
  .timer-time { font-size: 2.4rem; }
}