/* ===== RESET & VARIÁVEIS ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f0f14;
  --surface: #18181f;
  --surface2: #22222e;
  --surface3: #2c2c3c;
  --border: #32324a;
  --gold: #f5c842;
  --gold-dim: #c9a52a;
  --gold-bg: rgba(245, 200, 66, 0.08);
  --green: #4ade80;
  --green-bg: rgba(74, 222, 128, 0.08);
  --red: #f87171;
  --red-bg: rgba(248, 113, 113, 0.08);
  --blue: #60a5fa;
  --blue-bg: rgba(96, 165, 250, 0.08);
  --purple: #a78bfa;
  --purple-bg: rgba(167, 139, 250, 0.08);
  --text: #e8e8f0;
  --text-dim: #8888a8;
  --text-muted: #55556a;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

/* ===== UTILITÁRIOS ===== */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}

/* ===== TELA DE AUTENTICAÇÃO ===== */
#auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(
      ellipse at 60% 20%,
      rgba(245, 200, 66, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(96, 165, 250, 0.05) 0%,
      transparent 50%
    ),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.auth-logo {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.auth-logo span {
  color: var(--text-dim);
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-top: 2px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin: 28px 0 24px;
}

.auth-tab {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  background: var(--gold);
  color: #0f0f14;
  font-weight: 600;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* SELECT OPTIONS */
select option {
  background: var(--surface2);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #0f0f14;
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.btn-primary:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface2);
  color: var(--text);
}

.btn-danger {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12px;
}

.error-msg {
  background: var(--red-bg);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: var(--radius-sm);
  color: var(--red);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}

/* ===== LAYOUT PRINCIPAL ===== */
#app {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
#sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 20px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: 0;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  font-size: 14px;
  font-weight: 500;
  user-select: none;
}

.nav-item:hover {
  background: var(--surface2);
  color: var(--text);
}

.nav-item.active {
  background: var(--gold-bg);
  color: var(--gold);
  border-left-color: var(--gold);
  font-weight: 600;
}

.nav-item .nav-icon {
  font-size: 18px;
  line-height: 1;
}

.nav-item .badge {
  margin-left: auto;
  background: var(--red);
  color: white;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  min-width: 18px;
  text-align: center;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 2px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.user-email {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== MAIN CONTENT ===== */
#main {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== TOPBAR (mobile) ===== */
.topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-logo {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

.menu-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

/* ===== PÁGINAS ===== */
.page {
  display: none;
  padding: 28px 32px;
  max-width: 100%;
}

.page.active {
  display: block;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.page-title {
  font-family: "Syne", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.page-title small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== NAVEGA\u00c7\u00c3O DE DIAS ===== */
.day-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.day-nav-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  font-size: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.day-nav-btn:hover {
  background: var(--surface2);
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.08);
}

.day-nav-today {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-dim);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 18px;
  cursor: pointer;
  transition: all var(--transition);
  min-width: 72px;
  text-align: center;
}

.day-nav-today:hover:not(:disabled) {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--gold);
}

.day-nav-today.active,
.day-nav-today:disabled {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--gold);
  cursor: default;
}

/* ===== PÁGINA: HOJE ===== */
.today-hero {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.today-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 200, 66, 0.15) 0%,
    transparent 70%
  );
}

.today-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.today-day {
  font-family: "Syne", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin: 4px 0 12px;
  line-height: 1;
}

.gold-day-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #0f0f14;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 200, 66, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(245, 200, 66, 0);
  }
}

.progress-bar-wrap {
  background: var(--surface3);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green));
  border-radius: 99px;
  transition: width 0.5s ease;
}

.progress-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}

.progress-label strong {
  color: var(--text);
}

/* ===== SONO CARD ===== */
.sleep-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.sleep-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.sleep-item .sleep-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.sleep-item .sleep-label {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sleep-item .sleep-time {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.sleep-item.warning {
  border-color: rgba(248, 113, 113, 0.3);
  background: var(--red-bg);
}

.sleep-item.warning .sleep-time {
  color: var(--red);
}

/* ===== TASK LIST ===== */
.tasks-section {
  margin-bottom: 20px;
}

.tasks-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

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

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.task-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all var(--transition);
  cursor: default;
}

.task-item:hover {
  border-color: var(--surface3);
  background: var(--surface2);
}

.task-item.done {
  opacity: 0.5;
}

.task-item.done .task-title {
  text-decoration: line-through;
}

.task-item.overdue {
  border-color: rgba(248, 113, 113, 0.3);
  background: var(--red-bg);
}

.task-item.critical {
  border-color: rgba(245, 200, 66, 0.4);
  background: var(--gold-bg);
}

.task-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 1px;
}

.task-check:hover {
  border-color: var(--green);
}

.task-check.checked {
  background: var(--green);
  border-color: var(--green);
}

.task-check.checked::after {
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  color: #0f0f14;
}

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

.task-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.task-desc {
  font-size: 12px;
  color: var(--text-dim);
}

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

.tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 99px;
}

.tag-daily {
  background: var(--blue-bg);
  color: var(--blue);
}

.tag-weekly {
  background: var(--purple-bg);
  color: var(--purple);
}

.tag-monthly {
  background: var(--green-bg);
  color: var(--green);
}

.tag-time {
  background: var(--surface3);
  color: var(--text-dim);
  font-size: 11px;
}

.tag-overdue {
  background: var(--red-bg);
  color: var(--red);
}

.tag-critical {
  background: var(--gold-bg);
  color: var(--gold);
}

.task-actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.task-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all var(--transition);
  line-height: 1;
}

.task-btn:hover {
  background: var(--surface3);
  color: var(--text);
}

.empty-state {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13px;
}

/* ===== GRID DE STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-green {
  color: var(--green);
}

.stat-gold {
  color: var(--gold);
}

.stat-red {
  color: var(--red);
}

.stat-blue {
  color: var(--blue);
}

/* ===== SEMANA ===== */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.week-day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.week-day:hover {
  border-color: var(--border);
  background: var(--surface2);
}

.week-day.today {
  border-color: var(--gold);
  background: var(--gold-bg);
}

.week-day.gold-day {
  border-color: var(--gold);
}

.week-day.selected {
  border-color: var(--blue);
  background: var(--blue-bg);
}

.week-day-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.week-day-num {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.week-day.today .week-day-num {
  color: var(--gold);
}

.week-day-dot {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: 4px;
}

.week-day-dot span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

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

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

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

.modal-title {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--text);
}

.modal-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ===== NOTAS ===== */
.note-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.note-text {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.note-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.note-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 2px;
  line-height: 1;
  transition: color var(--transition);
}

.note-del:hover {
  color: var(--red);
}

/* ===== SONO CONFIG ===== */
.sleep-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sleep-recommend {
  background: var(--blue-bg);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--blue);
  margin-top: 8px;
  grid-column: 1 / -1;
}

/* ===== FEEDBACK TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  z-index: 999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(74, 222, 128, 0.3);
  color: var(--green);
}

.toast.error {
  border-color: rgba(248, 113, 113, 0.3);
  color: var(--red);
}

/* ===== SIDEBAR OVERLAY MOBILE ===== */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}

/* ===== LOADING ===== */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  gap: 16px;
}

.loader {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #sidebar {
    transform: translateX(-100%);
  }

  #sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
  }

  #main {
    margin-left: 0;
  }

  .topbar {
    display: flex;
  }

  .page {
    padding: 20px 16px;
  }

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

  .week-day-name {
    font-size: 8px;
  }

  .week-day-num {
    font-size: 14px;
  }

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

  .sleep-card {
    grid-template-columns: 1fr 1fr;
  }

  .sleep-form {
    grid-template-columns: 1fr 1fr;
  }
}
