/* ============================================
   CYCLE – NFP Zyklustracker
   Feminin-elegantes Design-System
   ============================================ */

/* ─── CSS VARIABLEN ─── */
:root {
  --bg-primary: #0a0a0f;
  --bg-card: rgba(30, 25, 35, 0.85);
  --bg-card-solid: #1e1923;
  --bg-input: rgba(40, 32, 48, 0.6);
  --bg-input-focus: rgba(50, 40, 60, 0.8);

  --color-rose: #e8a0b4;
  --color-rose-dim: rgba(232, 160, 180, 0.15);
  --color-rose-glow: rgba(232, 160, 180, 0.4);
  --color-lavender: #b8a0d4;
  --color-lavender-dim: rgba(184, 160, 212, 0.12);
  --color-soft-white: #f5f0f0;
  --color-muted: #8a7e90;

  /* Phasen-Farben */
  --phase-infertile: #7db87d;
  --phase-infertile-bg: rgba(125, 184, 125, 0.12);
  --phase-fertile: #e8a0b4;
  --phase-fertile-bg: rgba(232, 160, 180, 0.15);
  --phase-post-ov: #8ba8d4;
  --phase-post-ov-bg: rgba(139, 168, 212, 0.12);

  /* Blutung-Farben */
  --bleeding-heavy: #d45d5d;
  --bleeding-medium: #d47878;
  --bleeding-light: #d49898;
  --bleeding-spotting: #c4a0a0;

  --border-color: rgba(184, 160, 212, 0.15);
  --border-focus: rgba(232, 160, 180, 0.4);

  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

/* ─── RESET & GRUNDLAGEN ─── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--bg-primary);
  height: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--color-soft-white);
  font-family: var(--font-family);
  min-height: 100%;
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }

/* ─── HINTERGRUND BLOBS ─── */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.blob-rose {
  width: 300px; height: 300px;
  background: var(--color-rose);
  top: -80px; right: -60px;
  animation: blobFloat1 18s ease-in-out infinite;
}
.blob-lavender {
  width: 250px; height: 250px;
  background: var(--color-lavender);
  bottom: -50px; left: -40px;
  animation: blobFloat2 22s ease-in-out infinite;
}
.blob-small {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, var(--color-rose), var(--color-lavender));
  top: 50%; left: 30%;
  animation: blobFloat3 15s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(1.1); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(0.8); opacity: 0.2; }
  50% { transform: translate(-40px, -30px) scale(1); opacity: 0.35; }
}

/* ─── AUTH SCREEN ─── */
.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-primary);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.auth-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 28px 32px;
  position: relative;
  z-index: 1;
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo h1 {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--color-soft-white);
  margin-bottom: 6px;
}
.auth-logo .auth-subtitle {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-muted);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-muted);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.auth-tab.active {
  color: var(--color-rose);
}
.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--color-rose);
  border-radius: 1px;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 14px;
}
.auth-form.active {
  display: flex;
}

.input-group {
  position: relative;
}
.input-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.input-group input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--color-soft-white);
  font-family: var(--font-family);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}
.input-group input:focus {
  background: var(--bg-input-focus);
  border-color: var(--border-focus);
}
.input-group input::placeholder {
  color: rgba(138, 126, 144, 0.5);
}

.auth-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--color-rose), var(--color-lavender));
  border: none;
  border-radius: 14px;
  padding: 16px;
  color: #0a0a0f;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--color-rose-glow);
}
.auth-btn:active {
  transform: translateY(0);
}
.auth-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.auth-error {
  background: rgba(212, 93, 93, 0.15);
  border: 1px solid rgba(212, 93, 93, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #d45d5d;
  display: none;
}
.auth-error.visible {
  display: block;
}

/* ─── APP CONTAINER ─── */
.app-container {
  display: none;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}
.app-container.active {
  display: flex;
}

/* ─── HEADER ─── */
.app-header {
  flex-shrink: 0;
  padding: calc(14px + env(safe-area-inset-top)) 20px 10px;
  position: relative;
  text-align: center;
  z-index: 100;
}
.app-header h1 {
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-soft-white);
}
.cycle-info {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  margin-top: 4px;
}
.cycle-info .phase-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 6px;
}
.phase-badge.infertile {
  background: var(--phase-infertile-bg);
  color: var(--phase-infertile);
}
.phase-badge.fertile {
  background: var(--phase-fertile-bg);
  color: var(--phase-fertile);
}
.phase-badge.post-ov {
  background: var(--phase-post-ov-bg);
  color: var(--phase-post-ov);
}

.hamburger-btn {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  right: 20px;
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 22px;
  cursor: pointer;
  z-index: 101;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}
.hamburger-btn:hover {
  color: var(--color-soft-white);
}

/* ─── CHART CONTAINER ─── */
.chart-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 0 0 0;
  position: relative;
}

.chart-container {
  flex: 1;
  display: flex;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.y-axis {
  flex-shrink: 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 106px;
  background: linear-gradient(90deg, var(--bg-primary) 80%, transparent);
  z-index: 10;
  position: relative;
}
.y-axis .y-label {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 6px;
  font-size: 9px;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.5px;
  line-height: 1;
}

.chart-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  position: relative;
}

.chart-inner {
  display: flex;
  height: 100%;
  position: relative;
}

/* ─── DAY COLUMN ─── */
.day-col {
  flex-shrink: 0;
  width: 52px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(184, 160, 212, 0.06);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}
.day-col:active {
  background: rgba(232, 160, 180, 0.08);
}
.day-col.today {
  background: rgba(232, 160, 180, 0.06);
}
.day-col.today .day-num {
  color: var(--color-rose);
  font-weight: 600;
}
.day-col.cycle-start {
  border-left: 2px solid var(--color-rose-glow);
}

/* Tag-Header */
.day-header {
  flex-shrink: 0;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
}
.day-num {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-soft-white);
  line-height: 1;
}
.day-date {
  font-size: 8px;
  color: var(--color-muted);
  line-height: 1;
  margin-top: 1px;
}

/* Temperatur-Bereich */
.temp-area {
  flex: 1;
  position: relative;
  min-height: 0;
}
.temp-area .grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(184, 160, 212, 0.05);
}
.temp-area .grid-line.major {
  background: rgba(184, 160, 212, 0.1);
}

/* Phasen-Hintergrund */
.day-col .phase-bg {
  position: absolute;
  top: 32px;
  bottom: 106px;
  left: 0;
  right: 0;
  pointer-events: none;
  transition: background 0.3s ease;
}
.day-col.phase-1 .phase-bg { background: var(--phase-infertile-bg); }
.day-col.phase-2 .phase-bg { background: var(--phase-fertile-bg); }
.day-col.phase-3 .phase-bg { background: var(--phase-post-ov-bg); }

/* Temperatur-Punkt */
.temp-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-soft-white);
  border: 2px solid var(--color-rose);
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 5;
  transition: var(--transition-fast);
}
.temp-dot.disturbed {
  border-color: var(--color-muted);
  background: transparent;
  border-style: dashed;
}

/* Cover Line (Hilfslinie) */
.cover-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-top: 1.5px dashed var(--color-lavender);
  opacity: 0.5;
  z-index: 3;
  pointer-events: none;
}

/* SVG Overlay für Temperatur-Linie */
.temp-line-svg {
  position: absolute;
  top: 32px;
  left: 0;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}
.temp-line-svg polyline {
  fill: none;
  stroke: var(--color-rose);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

/* Symbol-Bereich unter dem Graph */
.symbols-area {
  flex-shrink: 0;
  height: 106px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(184, 160, 212, 0.08);
}
.symbol-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--color-muted);
  min-height: 0;
}
.symbol-row.bleeding .bleed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.symbol-row.bleeding .bleed-dot.heavy { background: var(--bleeding-heavy); box-shadow: 0 0 4px var(--bleeding-heavy); }
.symbol-row.bleeding .bleed-dot.medium { background: var(--bleeding-medium); }
.symbol-row.bleeding .bleed-dot.light { background: var(--bleeding-light); }
.symbol-row.bleeding .bleed-dot.spotting { background: var(--bleeding-spotting); width: 4px; height: 4px; }
.symbol-row.mucus { font-weight: 600; letter-spacing: 0.5px; }
.symbol-row.mucus .mucus-val { color: var(--color-lavender); }
.symbol-row.mucus .mucus-val.peak { color: var(--color-rose); text-shadow: 0 0 6px var(--color-rose-glow); }
.symbol-row.gv .gv-icon { color: var(--color-rose); font-size: 12px; }
.symbol-row.disturbed .dist-icon { color: #d4a05d; font-size: 10px; }

/* ─── LEGENDE ─── */
.chart-legend {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(10, 10, 15, 0.9));
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.infertile { background: var(--phase-infertile); }
.legend-dot.fertile { background: var(--phase-fertile); }
.legend-dot.post-ov { background: var(--phase-post-ov); }

/* ─── SLIDEOVER MENU ─── */
.slideover-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.slideover-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.slideover {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 310px;
  max-width: 85vw;
  background: var(--bg-card-solid);
  border-left: 1px solid var(--border-color);
  z-index: 4100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.slideover.active {
  transform: translateX(0);
}

.slideover-header {
  flex-shrink: 0;
  padding: calc(20px + env(safe-area-inset-top)) 20px 16px;
  border-bottom: 1px solid var(--border-color);
}
.slideover-header h2 {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-soft-white);
}

.slideover-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

/* Datum-Picker im Menü */
.date-picker-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.date-picker-group label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.date-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--color-soft-white);
  font-family: var(--font-family);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  color-scheme: dark;
}
.date-input:focus {
  border-color: var(--border-focus);
}

/* Temperatur Stepper */
.temp-stepper-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.temp-stepper-group label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.temp-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}
.temp-stepper-btn {
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  color: var(--color-rose);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.temp-stepper-btn:hover {
  background: var(--color-rose-dim);
}
.temp-stepper-btn:active {
  background: rgba(232, 160, 180, 0.25);
}
.temp-value {
  flex: 1;
  text-align: center;
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 2px;
  color: var(--color-soft-white);
  font-variant-numeric: tabular-nums;
}
.temp-value.empty {
  color: var(--color-muted);
  font-size: 14px;
}
.temp-unit {
  font-size: 13px;
  color: var(--color-muted);
  margin-left: 2px;
}

/* Button-Gruppen (Blutung, GV, Schleim) */
.btn-group-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-option {
  flex: 1;
  min-width: 0;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 6px;
  color: var(--color-muted);
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.btn-option:hover {
  border-color: var(--color-rose-dim);
}
.btn-option.selected {
  background: var(--color-rose-dim);
  border-color: var(--color-rose);
  color: var(--color-rose);
  font-weight: 600;
}
.btn-option.selected.green {
  background: var(--phase-infertile-bg);
  border-color: var(--phase-infertile);
  color: var(--phase-infertile);
}

/* Störfaktor Toggle */
.toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toggle-group .toggle-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.toggle-switch.on {
  background: var(--color-rose-dim);
  border-color: var(--color-rose);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-muted);
  top: 2px;
  left: 2px;
  transition: var(--transition);
}
.toggle-switch.on::after {
  transform: translateX(20px);
  background: var(--color-rose);
}

.disturbance-notes {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--color-soft-white);
  font-family: var(--font-family);
  font-size: 13px;
  outline: none;
  resize: none;
  height: 60px;
  margin-top: 8px;
  transition: var(--transition);
  display: none;
}
.disturbance-notes.visible {
  display: block;
}
.disturbance-notes:focus {
  border-color: var(--border-focus);
}

/* Speichern-Button */
.save-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--color-rose), var(--color-lavender));
  border: none;
  border-radius: 14px;
  padding: 14px;
  color: #0a0a0f;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}
.save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--color-rose-glow);
}
.save-btn:active {
  transform: translateY(0);
}

.delete-entry-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(212, 93, 93, 0.3);
  border-radius: 14px;
  padding: 12px;
  color: #d45d5d;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.delete-entry-btn:hover {
  background: rgba(212, 93, 93, 0.1);
}

/* Trennlinie */
.menu-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 0;
}

/* Logout Button */
.logout-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px;
  color: var(--color-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.logout-btn:hover {
  color: var(--color-soft-white);
  border-color: var(--color-muted);
}

/* ─── TOAST NOTIFICATIONS ─── */
.toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 20px;
  color: var(--color-soft-white);
  font-family: var(--font-family);
  font-size: 13px;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
}
.toast.visible {
  transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: var(--phase-infertile); }
.toast.error { border-color: #d45d5d; }

/* ─── LOADING SPINNER ─── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(232, 160, 180, 0.2);
  border-top-color: var(--color-rose);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .day-col { width: 48px; }
  .y-axis { width: 38px; }
  .y-axis .y-label { font-size: 8px; }
  .slideover { width: 290px; }
}

@media (max-width: 380px) {
  .day-col { width: 44px; }
  .auth-card { padding: 32px 20px 24px; }
  .auth-logo h1 { font-size: 30px; letter-spacing: 6px; }
}

@media (min-width: 768px) {
  .slideover { width: 360px; }
  .day-col { width: 56px; }
}
