/* ══════════════════════════════════════════════
   PERIOD TRACKER — CSS
   Soft, clean, mobile-first design
   ══════════════════════════════════════════════ */

:root,
[data-theme="pink"] {
  --bg: #faf5f7;
  --card: #ffffff;
  --text: #2d2d3a;
  --text-secondary: #7a7a8e;
  --accent: #e8507a;
  --accent-light: #fce4ec;
  --accent-dark: #c4365e;
  --fertile: #4caf50;
  --fertile-light: #e8f5e9;
  --ovulation: #ff9800;
  --ovulation-light: #fff3e0;
  --pill: #7c4dff;
  --pill-light: #ede7f6;
  --danger: #ef5350;
  --danger-light: #ffebee;
  --border: #f0e6ea;
  --shadow: 0 4px 15px rgba(232, 80, 122, 0.08);
  --radius: 16px;
  --nav-height: 56px;
  --header-height: 56px;
}

[data-theme="dark"] {
  --bg: #0c0c14;
  --card: #181824;
  --text: #f3f3f6;
  --text-secondary: #a2a2ba;
  --accent: #b388ff;
  --accent-light: rgba(179, 136, 255, 0.15);
  --accent-dark: #7c4dff;
  --fertile: #03dac6;
  --fertile-light: rgba(3, 218, 198, 0.15);
  --ovulation: #ffb74d;
  --ovulation-light: rgba(255, 183, 77, 0.15);
  --pill: #80d8ff;
  --pill-light: rgba(128, 216, 255, 0.15);
  --danger: #ff5252;
  --danger-light: rgba(255, 82, 82, 0.15);
  --border: #2e2e42;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  --radius: 16px;
  --nav-height: 56px;
  --header-height: 56px;
}

[data-theme="matcha"] {
  --bg: #f4f7f4;
  --card: #ffffff;
  --text: #2a382a;
  --text-secondary: #6b7f6b;
  --accent: #557a55;
  --accent-light: #eaf2ea;
  --accent-dark: #3a543a;
  --fertile: #81c784;
  --fertile-light: #e8f5e9;
  --ovulation: #ffd54f;
  --ovulation-light: #fff9c4;
  --pill: #4db6ac;
  --pill-light: #e0f2f1;
  --danger: #e57373;
  --danger-light: #ffebee;
  --border: #e0eae0;
  --shadow: 0 4px 15px rgba(85, 122, 85, 0.08);
  --radius: 16px;
  --nav-height: 56px;
  --header-height: 56px;
}

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

input, textarea, button, select {
  color: inherit;
  font-family: inherit;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s, color 0.3s;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Header ── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 20px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

#header h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.header-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.header-btn:active {
  background: var(--accent-light);
}

/* ── Content ── */
#content {
  flex: 1;
  padding: 10px 10px calc(var(--nav-height) + 10px);
  overflow-y: auto;
}

/* ── Bottom Nav ── */
#bottomNav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: var(--card);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 12px;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.nav-btn .nav-icon {
  font-size: 1.3rem;
}

.nav-btn .nav-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-btn.active .nav-label {
  color: var(--accent);
}

.nav-btn:active {
  background: var(--accent-light);
}

/* ── Cards ── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* ── Stat Boxes ── */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}

.stat-box {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  text-align: center;
}

.stat-box .stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.stat-box .stat-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

.stat-box.period .stat-value {
  color: var(--accent);
}

.stat-box.fertile .stat-value {
  color: var(--fertile);
}

.stat-box.ovulation .stat-value {
  color: var(--ovulation);
}

.stat-box.pill .stat-value {
  color: var(--pill);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.96);
}

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

.btn-primary:active {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-success {
  background: var(--fertile);
  color: white;
}

.btn-pill {
  background: var(--pill);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn-group .btn {
  flex: 1;
}

/* ── Calendar ── */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calendar-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.calendar-nav {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text);
}

.calendar-nav:active {
  background: var(--accent-light);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.calendar-grid .day-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 0;
}

.calendar-grid .day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}

.calendar-grid .day:active {
  background: var(--border);
}

.calendar-grid .day.today {
  border: 2px solid var(--accent);
  font-weight: 800;
}

.calendar-grid .day.predicted-period-day {
  border: 2px dashed var(--accent);
  color: var(--accent);
}

.calendar-grid .day.predicted-fertile-day {
  border: 2px dotted var(--fertile);
  color: var(--fertile);
}

.calendar-grid .day.predicted-ovulation-day {
  border: 2px dotted var(--ovulation);
  color: var(--ovulation);
  font-weight: 800;
}

.calendar-grid .day.other-month {
  color: var(--text-secondary);
  opacity: 0.5;
}

.calendar-grid .day.period-day {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.calendar-grid .day.fertile-day {
  background: var(--fertile-light);
  color: var(--fertile);
}

.calendar-grid .day.ovulation-day {
  background: var(--ovulation-light);
  color: var(--ovulation);
  font-weight: 800;
}

.calendar-grid .day .dot-row {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.calendar-grid .day .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.dot.pill-dot {
  background: var(--pill);
}

.dot.symptom-dot {
  background: var(--ovulation);
}

.dot.intercourse-dot {
  background: var(--fertile);
}

/* ── Legend ── */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ── Symptom Quick Buttons ── */
.symptom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.symptom-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
}

.symptom-btn:active {
  transform: scale(0.96);
}

.symptom-btn.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
}

.symptom-btn .sym-icon {
  font-size: 1.1rem;
}

/* ── Checklist ── */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.check-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.check-box.checked {
  background: var(--pill);
  border-color: var(--pill);
  color: white;
}

.check-info {
  flex: 1;
}

.check-info .check-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.check-info .check-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ── Streak ── */
.streak-display {
  text-align: center;
  padding: 20px;
}

.streak-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--pill);
  line-height: 1;
}

.streak-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ── Progress Bar ── */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-fill.good {
  background: var(--fertile);
}

.progress-fill.warn {
  background: var(--ovulation);
}

.progress-fill.bad {
  background: var(--danger);
}

/* ── Pregnancy Indicator ── */
.pregnancy-indicator {
  text-align: center;
  padding: 24px;
}

.preg-chance {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 8px 0;
}

.preg-chance.low {
  color: var(--fertile);
}

.preg-chance.moderate {
  color: var(--ovulation);
}

.preg-chance.high {
  color: var(--danger);
}

.preg-factors {
  margin-top: 16px;
  text-align: left;
}

.preg-factor {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.85rem;
}

.preg-factor .factor-icon {
  font-size: 1rem;
}

/* ── Intercourse Log ── */
.log-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.log-entry:last-child {
  border-bottom: none;
}

.log-date {
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 80px;
}

.log-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.log-badge.fertile {
  background: var(--fertile-light);
  color: var(--fertile);
}

.log-badge.outside {
  background: var(--border);
  color: var(--text-secondary);
}

.log-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-left: auto;
}

/* ── Form Elements ── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: var(--card);
}

.form-input:focus {
  border-color: var(--accent);
}

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

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-state .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.empty-state .empty-text {
  font-size: 0.9rem;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(30, 30, 40, 0.95);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 200;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-sheet {
  background: var(--card);
  border-radius: 20px 20px 0 0;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0));
  width: 100%;
  max-width: 600px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-sheet h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  text-align: center;
}

/* ── Vitamin Item ── */
.vitamin-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

.vitamin-name {
  flex: 1;
  font-weight: 700;
  font-size: 0.9rem;
}

.vitamin-check {
  display: flex;
  gap: 6px;
}

.vitamin-check button {
  padding: 6px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--card);
  transition: all 0.15s;
  color: var(--text);
}

.vitamin-check button.taken {
  background: var(--fertile);
  border-color: var(--fertile);
  color: white;
}

.vitamin-check button.missed {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}

.vitamin-check button:active {
  transform: scale(0.95);
}

/* ── Misc ── */
.hidden {
  display: none !important;
}

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

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-12 {
  margin-bottom: 12px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 0;
}

/* ── Water Widget ── */
.water-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.water-main-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.water-cup-container {
  position: relative;
  width: 70px;
  height: 95px;
  border: 4px solid var(--text);
  border-radius: 8px 8px 20px 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

[data-theme="dark"] .water-cup-container {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.water-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #4fc3f7 0%, #0288d1 100%);
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 0%;
}

.water-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.water-btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  box-shadow: var(--shadow);
}

.water-btn-circle:active {
  transform: scale(0.9);
}

.water-status {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.water-count-text {
  font-size: 1.4rem;
  font-weight: 800;
}

.water-count-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.water-goal-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
}

.water-goal-reached {
  color: var(--fertile);
}

/* ── Pill Pack Visualizer ── */
.pill-pack-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 240, 240, 0.5) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 10px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), var(--shadow);
}

[data-theme="dark"] .pill-pack-container {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(20, 20, 35, 0.6) 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1), var(--shadow);
}

.pill-pocket {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4px 0;
}

.pill-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08), inset 0 -2px 4px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pill-pocket.active-pill .pill-bubble {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
}

.pill-pocket.placebo-pill .pill-bubble {
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  color: #616161;
}

[data-theme="dark"] .pill-pocket.placebo-pill .pill-bubble {
  background: linear-gradient(135deg, #424242 0%, #212121 100%);
  color: #b0bec5;
}

/* Popped / Taken pill state */
.pill-pocket.taken .pill-bubble {
  transform: scale(0.8);
  background: transparent !important;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(255, 255, 255, 0.05);
  color: transparent !important;
  border: 2px dashed var(--border);
}

.pill-pocket.taken::after {
  content: "✓";
  position: absolute;
  top: 7px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--fertile);
  pointer-events: none;
}

.pill-pocket-day {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 4px;
  white-space: nowrap;
}

/* ── Theme Switcher UI ── */
.theme-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.theme-card.active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.theme-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
}

/* Theme circles colors */
.theme-circle.pink {
  background: #e8507a;
}

.theme-circle.dark {
  background: #b388ff;
}

.theme-circle.matcha {
  background: #557a55;
}

/* ── Symptom Intensity Selector ── */
.intensity-selector {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  width: 100%;
}

.intensity-btn {
  flex: 1;
  padding: 6px 4px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--card);
  color: var(--text-secondary);
  transition: all 0.15s;
}

.intensity-btn.active.none {
  border-color: var(--text-secondary);
  background: var(--border);
  color: var(--text);
}

.intensity-btn.active.mild {
  border-color: #ffd54f;
  background: #fffde7;
  color: #f57f17;
}

.intensity-btn.active.med {
  border-color: #ff9800;
  background: #fff3e0;
  color: #e65100;
}

.intensity-btn.active.severe {
  border-color: #ef5350;
  background: #ffebee;
  color: #b71c1c;
}

[data-theme="dark"] .intensity-btn.active.mild {
  background: rgba(255, 213, 79, 0.15);
}

[data-theme="dark"] .intensity-btn.active.med {
  background: rgba(255, 152, 0, 0.15);
}

[data-theme="dark"] .intensity-btn.active.severe {
  background: rgba(239, 83, 80, 0.15);
}