/* ============================================
   WHERE WINDS MEET - RESET TRACKER
   Main Stylesheet
   ============================================ */

/* ============================================
   CSS VARIABLES - Design System
   ============================================ */
:root {
  /* Primary Colors */
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --accent-gold: #c9a86a;
  --accent-red: #e94560;
  
  /* Support Colors */
  --jade-green: #4a7c59;
  --celestial-blue: #5e8cb8;
  --mystic-purple: #7b68a6;
  --text-primary: #f0e6d2;
  --text-secondary: rgba(240, 230, 210, 0.7);
  --text-muted: rgba(240, 230, 210, 0.5);
  
  /* Timer Colors */
  --timer-safe: #4a7c59;
  --timer-warning: #c9a86a;
  --timer-urgent: #e94560;
  
  /* Typography */
  --font-heading: 'Cinzel', 'Noto Serif SC', serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(201, 168, 106, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
}

/* ============================================
   HEADER
   ============================================ */

.header {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
  border-bottom: 2px solid rgba(201, 168, 106, 0.2);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Header Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header-icon {
  font-size: var(--text-2xl);
}

.header-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  white-space: nowrap;
}

/* Header Navigation */
.header-nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 6px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-gold);
  background: rgba(201, 168, 106, 0.1);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.header-countdown {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--timer-safe);
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(74, 124, 89, 0.2);
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
}

.header-countdown.warning {
  color: var(--timer-warning);
  background: rgba(201, 168, 106, 0.2);
}

.header-countdown.urgent {
  color: var(--timer-urgent);
  background: rgba(233, 69, 96, 0.2);
  animation: pulse 1s ease-in-out infinite;
}

.settings-btn {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
}

.settings-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
  transform: rotate(45deg);
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

/* Better solution: Use subgrid approach */
@media (min-width: 769px) {
  .container {
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for flexibility */
    grid-template-rows: auto auto;
    gap: var(--space-xl);
    align-items: start;
  }
  
  /* First Row: Todo (2 cols) + Custom Reminders (4 cols) = 1/3 + 2/3 */
  #todoSection {
    grid-column: 1 / 3; /* Cols 1-2 (2 out of 6 = 1/3) */
    grid-row: 1;
  }
  
  #customSection {
    grid-column: 3 / 7; /* Cols 3-6 (4 out of 6 = 2/3) */
    grid-row: 1;
  }
  
  /* Second Row: Daily (3 cols) + Weekly (3 cols) = 50/50 */
  #dailySection {
    grid-column: 1 / 4; /* Cols 1-3 (3 out of 6 = 1/2) */
    grid-row: 2;
  }
  
  #weeklySection {
    grid-column: 4 / 7; /* Cols 4-6 (3 out of 6 = 1/2) */
    grid-row: 2;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: var(--space-lg) var(--space-md);
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: 16px;
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 168, 106, 0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.section:hover {
  border-color: rgba(201, 168, 106, 0.4);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  cursor: pointer;
  user-select: none;
}

.section-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-2xl);
  color: var(--accent-gold);
  margin: 0;
}

.section-icon {
  font-size: var(--text-3xl);
}

.section-toggle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  transition: transform var(--transition-base);
}

.section.collapsed .section-toggle {
  transform: rotate(-90deg);
}

.section.collapsed .section-content {
  display: none;
}

/* Section Progress */
.section-progress {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(15, 15, 26, 0.5);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--jade-green), var(--celestial-blue));
  border-radius: 4px;
  transition: width var(--transition-slow);
  box-shadow: 0 0 10px rgba(74, 124, 89, 0.5);
}

.progress-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  min-width: 60px;
  text-align: right;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown-timer {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(15, 15, 26, 0.3);
  border-radius: 12px;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(201, 168, 106, 0.1);
}

.countdown-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.countdown-time {
  font-size: var(--text-4xl);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--timer-safe);
  text-shadow: 0 0 20px currentColor;
  transition: color var(--transition-base);
}

.countdown-time.warning {
  color: var(--timer-warning);
}

.countdown-time.urgent {
  color: var(--timer-urgent);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.countdown-localtime {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ============================================
   TASK LIST
   ============================================ */
.task-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.task-category {
  margin-bottom: var(--space-lg);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(201, 168, 106, 0.2);
}

.category-icon {
  font-size: var(--text-xl);
}

.category-name {
  font-size: var(--text-lg);
  color: var(--celestial-blue);
  font-weight: 600;
}

/* Task Item */
.task-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(15, 15, 26, 0.3);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  position: relative;
}

.task-item:hover {
  background: rgba(15, 15, 26, 0.5);
  border-color: rgba(201, 168, 106, 0.3);
  transform: translateX(4px);
}

.task-item.completed {
  opacity: 0.6;
}

.task-item.completed .task-name {
  text-decoration: line-through;
  color: var(--text-secondary);
}

/* Checkbox */
.task-checkbox {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
  margin-top: 2px;
}

.task-checkbox:checked {
  background: var(--jade-green);
  border-color: var(--jade-green);
  box-shadow: 0 0 12px rgba(74, 124, 89, 0.6);
}

.task-checkbox:checked::after {
  content: '✓';
  display: block;
  text-align: center;
  color: white;
  font-size: var(--text-sm);
  font-weight: bold;
  line-height: 20px;
}

.task-checkbox:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(201, 168, 106, 0.4);
}

/* Task Content */
.task-content {
  flex: 1;
}

.task-name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.task-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.task-meta {
  display: flex;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.task-priority {
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.task-priority.high {
  background: rgba(233, 69, 96, 0.2);
  color: var(--accent-red);
}

.task-priority.medium {
  background: rgba(201, 168, 106, 0.2);
  color: var(--accent-gold);
}

.task-priority.low {
  background: rgba(94, 140, 184, 0.2);
  color: var(--celestial-blue);
}

/* Task Tooltip (Popup) */
.task-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-secondary);
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  padding: var(--space-md);
  min-width: 300px;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.task-item:hover .task-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.tooltip-title {
  font-size: var(--text-lg);
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.tooltip-content {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.tooltip-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.tooltip-label {
  color: var(--celestial-blue);
  font-weight: 600;
  min-width: 80px;
  flex-shrink: 0;
}

.tooltip-value {
  color: var(--text-primary);
  flex: 1;
  word-wrap: break-word;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  background: transparent;
  color: var(--accent-gold);
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.4);
}

.btn-add {
  width: 100%;
  margin-top: var(--space-md);
  justify-content: center;
}

.btn-icon {
  font-size: var(--text-lg);
}

/* ============================================
   INPUT FIELDS
   ============================================ */
.input-group {
  margin-bottom: var(--space-md);
}

.input-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.input-field {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: rgba(15, 15, 26, 0.5);
  border: 1px solid rgba(201, 168, 106, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: all var(--transition-base);
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.1);
  background: rgba(15, 15, 26, 0.7);
}

.input-field::placeholder {
  color: var(--text-muted);
}

textarea.input-field {
  min-height: 80px;
  resize: vertical;
}

/* ============================================
   CUSTOM REMINDER
   ============================================ */
.reminder-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(15, 15, 26, 0.3);
  border-radius: 8px;
  border-left: 4px solid var(--mystic-purple);
  transition: all var(--transition-base);
}

.reminder-item:hover {
  background: rgba(15, 15, 26, 0.5);
  transform: translateX(4px);
}

.reminder-content {
  flex: 1;
}

.reminder-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.reminder-time {
  font-size: var(--text-2xl);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--mystic-purple);
}

.reminder-actions {
  display: flex;
  gap: var(--space-sm);
}

.btn-icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.btn-delete {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.btn-delete:hover {
  background: var(--accent-red);
  color: white;
}

/* ============================================
   TODO ITEM
   ============================================ */
.todo-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(15, 15, 26, 0.3);
  border-radius: 8px;
  transition: all var(--transition-base);
}

.todo-item:hover {
  background: rgba(15, 15, 26, 0.5);
}

.todo-item.completed {
  opacity: 0.6;
}

.todo-item.completed .todo-text {
  text-decoration: line-through;
  color: var(--text-secondary);
}

.todo-text {
  flex: 1;
  font-size: var(--text-base);
  color: var(--text-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: 16px;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(201, 168, 106, 0.2);
}

.modal-header h3 {
  margin: 0;
  color: var(--accent-gold);
  font-size: var(--text-2xl);
}

.btn-close {
  background: transparent;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: var(--text-xl);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.btn-close:hover {
  background: var(--accent-red);
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--space-lg);
}

.modal-body .input-group {
  margin-bottom: var(--space-lg);
}

.modal-body .input-group:last-child {
  margin-bottom: 0;
}

.modal-body label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  color: var(--text-primary);
  font-size: var(--text-base);
}

.modal-body input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent-gold);
}

/* Privacy Notice in Settings */
.privacy-notice {
  background: rgba(94, 140, 184, 0.1);
  border-left: 4px solid var(--celestial-blue);
  padding: var(--space-md);
  border-radius: 8px;
  margin-bottom: var(--space-lg);
}

.privacy-notice h4 {
  color: var(--celestial-blue);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.privacy-notice p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.privacy-notice p:last-child {
  margin-bottom: 0;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-xl);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 2px solid var(--accent-gold);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  z-index: 2000;
  min-width: 300px;
  max-width: 400px;
  opacity: 0;
  transition: opacity var(--transition-base);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.toast-icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

.toast-message {
  color: var(--text-primary);
  font-size: var(--text-base);
  line-height: 1.4;
}

/* Toast variants */
.toast.success {
  border-color: var(--jade-green);
}

.toast.error {
  border-color: var(--accent-red);
}

.toast.warning {
  border-color: var(--timer-warning);
}

.toast.info {
  border-color: var(--celestial-blue);
}

/* ============================================
   RESPONSIVE
   ============================================ */
   
@media (max-width: 1024px) {
  .header-nav {
    gap: var(--space-md);
  }
  
  .nav-link {
    font-size: var(--text-xs);
    padding: var(--space-xs);
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
  }
  
  .header {
    padding: var(--space-sm) var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .header-brand {
    order: 1;
  }
  
  .header-actions {
    order: 2;
    margin-left: auto;
  }
  
  .header-nav {
    order: 3;
    width: 100%;
    justify-content: space-around;
    gap: var(--space-xs);
  }
  
  .nav-link {
    font-size: var(--text-xs);
    padding: 4px 8px;
  }
  
  .header-countdown {
    font-size: var(--text-xs);
    min-width: 75px;
    padding: 4px 8px;
  }
  
  .settings-btn {
    width: 32px;
    height: 32px;
    font-size: var(--text-sm);
  }
  
  .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
	padding: var(--space-lg) var(--space-md);
  }
  
  .section {
    padding: var(--space-md);
  }
  
  .task-tooltip {
    min-width: 250px;
    left: 0;
    right: 0;
    transform: translateY(-8px);
  }
  
  .countdown-time {
    font-size: var(--text-3xl);
  }
  
  .modal {
    padding: var(--space-md);
  }
  
  .modal-content {
    max-height: 85vh;
  }
  
  .modal-header {
    padding: var(--space-md);
  }
  
  .modal-body {
    padding: var(--space-md);
  }
  
  .toast {
    top: var(--space-md);
    right: var(--space-md);
    left: var(--space-md);
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .header-title {
    font-size: var(--text-base);
  }
  
  .header-icon {
    font-size: var(--text-xl);
  }
}