/* ============================================
   Training Tracker — Dark Premium Theme
   ============================================ */

/* === Design Tokens === */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #111;
  --surface: #171717;
  --surface-2: #1e1e1e;
  --surface-3: #252525;
  --border: rgba(255,255,255,0.06);
  --border-active: rgba(255,255,255,0.12);
  --text: #f0f0f0;
  --text-2: #999;
  --text-3: #666;
  --accent: #00e676;
  --accent-glow: rgba(0,230,118,0.15);
  --accent-light: #69f0ae;
  --accent-2: #ff6d00;
  --accent-2-glow: rgba(255,109,0,0.2);
  --accent-2-light: #ffab40;
  --blue: #448aff;
  --blue-glow: rgba(68,138,255,0.15);
  --blue-light: #82b1ff;
  --danger: #ff5252;
  --warning: #ffab00;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --nav-height: 64px;
  --header-height: 50px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overscroll-behavior: none;
}

body::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: background var(--transition);
}

input, select, button, textarea {
  font-family: var(--font);
  font-size: 16px;
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

/* === App Shell === */
#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.app-header {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border-bottom: 2px solid var(--accent);
  padding: 14px 20px;
  flex-shrink: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition);
}

.app-header h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--accent);
  transition: color var(--transition);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-date {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
  background: var(--surface-2);
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.color-picker {
  display: flex;
  gap: 5px;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  flex-shrink: 0;
  position: relative;
}

.color-dot:hover {
  transform: scale(1.15);
}

.color-dot.active {
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px currentColor;
}

.app-main {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  padding-bottom: calc(var(--nav-height) + 24px + env(safe-area-inset-bottom, 0px));
}

/* === View Management === */
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.25s ease; }

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

/* === Bottom Nav === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-height);
  padding: 4px 8px;
  padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 2px;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
  position: relative;
  padding: 6px 0;
}

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

.nav-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}

.nav-btn:active { background: rgba(255,255,255,0.04); }

.nav-icon {
  font-size: 20px;
  line-height: 1;
  filter: grayscale(0.3);
  transition: filter var(--transition);
}

.nav-btn.active .nav-icon { filter: grayscale(0); }

.nav-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* === Form Elements === */
.field { display: flex; flex-direction: column; gap: 5px; }

.field label {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="number"],
input[type="date"],
select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  transition: all var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--surface-3);
}

select:not([value=""]) {
  border-color: rgba(255,255,255,0.15);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.2px;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--btn-text, #000);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:active { box-shadow: 0 2px 10px var(--accent-glow); }

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

.btn-outline:active { background: rgba(255,255,255,0.04); }

.btn-danger {
  background: rgba(255,82,82,0.12);
  color: var(--danger);
}

.btn-danger:active { background: rgba(255,82,82,0.2); }

.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: var(--radius-xs); }

.btn-icon {
  width: 34px; height: 34px; padding: 0;
  border-radius: 50%;
  font-size: 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.btn-icon:active { background: rgba(255,255,255,0.06); border-color: var(--border-active); }

.btn-icon.danger { color: var(--danger); border-color: rgba(255,82,82,0.2); }
.btn-icon.danger:active { background: rgba(255,82,82,0.12); }

/* === Training Form === */
.form-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  transition: border-color var(--transition);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  position: sticky;
  bottom: 0;
  padding: 12px 0;
  background: linear-gradient(0deg, var(--bg) 60%, transparent 100%);
}

.form-actions .btn { flex: 1; }

/* === Exercise Card === */
.exercises-container { display: flex; flex-direction: column; gap: 12px; }

.exercise-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  overflow: hidden;
  transition: border-color var(--transition), border-left-color var(--transition);
}

.exercise-card:focus-within { border-color: var(--border-active); }

.exercise-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.exercise-card-header h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.set-count-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 3px 10px;
  border-radius: 20px;
}

.sets-empty {
  text-align: center;
  color: var(--text-3);
  padding: 16px;
  font-size: 13px;
}

.add-set-icon {
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.sets-list { padding: 8px 16px; }

.set-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.set-row:last-child { border-bottom: none; }

.set-label {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
  background: var(--surface-3);
  border-radius: 14px;
  text-align: center;
  padding: 5px 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.set-row input[type="number"] {
  width: 64px;
  padding: 10px 6px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  background: var(--bg-elevated);
  border-color: var(--border);
  border-radius: var(--radius-xs);
}

.set-row input[type="number"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.set-unit {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  flex-shrink: 0;
}

.set-note-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 100px;
}

.set-note-wrapper input {
  flex: 1;
  min-width: 70px;
  padding: 10px 10px;
  font-size: 13px;
  background: var(--bg-elevated);
  border-radius: var(--radius-xs);
}

.set-note-wrapper input::placeholder { color: var(--text-3); }

.set-row .btn-icon { flex-shrink: 0; }

.note-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px 16px 12px;
}

.note-chip {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-active);
  background: var(--bg-elevated);
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  transition: all var(--transition);
}

.note-chip:active { background: var(--surface-3); }

.note-chip.selected {
  background: rgba(255,171,0,0.15);
  color: var(--warning);
  border-color: rgba(255,171,0,0.3);
  font-weight: 600;
}

.add-set-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px;
  border: 1.5px dashed var(--border-active);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin: 6px 16px 14px;
  width: calc(100% - 32px);
  transition: all var(--transition);
  opacity: 0.7;
}

.add-set-btn:hover { opacity: 1; border-color: var(--accent); background: var(--accent-glow); }
.add-set-btn:active { opacity: 1; background: var(--accent-glow); }

/* === History === */
.history-filters { margin-bottom: 14px; }

.history-list { display: flex; flex-direction: column; gap: 8px; }

.history-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  overflow: hidden;
  transition: border-color var(--transition), border-left-color var(--transition);
}

.history-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
  gap: 12px;
}

.history-item-header:active { background: rgba(255,255,255,0.02); }

.history-item-left {
  flex: 1;
  min-width: 0;
}

.history-date {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.history-bodypart {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  color: var(--text-2);
  margin-left: 8px;
}

.history-summary {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  margin-top: 4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-chevron {
  font-size: 18px;
  color: var(--text-3);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.history-item:has(.history-item-detail.open) .history-chevron {
  transform: rotate(90deg);
}

.pr-breakthrough {
  border-left-color: var(--accent-2) !important;
}

.pr-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--accent-2-glow);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
  animation: prPulse 2s ease-in-out infinite;
}

@keyframes prPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.history-item-detail {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--border);
}

.history-item-detail.open { display: block; animation: fadeIn 0.2s ease; }

.history-exercise { margin-top: 12px; }

.history-exercise h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-2);
}

.history-sets {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  padding-left: 8px;
  border-left: 2px solid var(--border);
}

.history-set-note { color: var(--warning); font-weight: 600; }

.history-delete { margin-top: 14px; text-align: right; }

/* === Templates === */
.template-form {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px;
  transition: border-color var(--transition);
}

.template-form .field { margin-bottom: 16px; }

.template-exercises { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.template-exercise-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.template-exercise-row:hover { border-color: var(--border-active); }

.template-exercise-row span {
  font-size: 14px;
  font-weight: 500;
}

.template-add { display: flex; gap: 10px; }

.template-add input { flex: 1; }

/* === Stats Charts (Pie + Calendar) === */
.stats-charts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

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

.pie-chart-container {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 14px;
}

.pie-chart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pie-chart {
  display: block;
  max-width: 140px;
}

.pie-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
}

.pie-legend-item {
  font-size: 11px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.pie-legend-item i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* === Calendar === */
.calendar-container {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 12px;
  overflow-x: auto;
}

.calendar {
  display: flex;
  gap: 10px;
}

.calendar-month {
  flex: 1;
  min-width: 100px;
}

.calendar-month-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 6px;
}

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

.calendar-dow {
  font-size: 9px;
  color: var(--text-3);
  padding: 2px 0;
}

.calendar-day {
  font-size: 10px;
  padding: 3px 0;
  border-radius: 4px;
  color: var(--text-2);
  position: relative;
}

.calendar-day.empty {
  pointer-events: none;
}

.calendar-day.today {
  font-weight: 700;
  color: var(--accent);
}

.calendar-day.trained {
  background: var(--accent-glow);
}

.cal-dots {
  display: flex;
  gap: 1px;
  justify-content: center;
  margin-top: 1px;
}

.cal-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.calendar-legend {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--text-2);
}

.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.calendar-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* === Trend Chart === */
.stat-trends {
  border-top: 1px solid var(--border);
  padding: 10px 16px 14px;
}

.trend-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.trend-tab {
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.trend-tab.active {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: var(--accent);
}

.trend-chart {
  display: block;
  width: 100%;
  max-height: 130px;
}

.trend-chart-wrap {
  min-height: 40px;
}

.chart-empty {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  padding: 16px 0;
}

/* === Stats Dashboard === */
.stats-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.stats-container { display: flex; flex-direction: column; gap: 12px; }

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 40%, var(--accent-light) 70%, var(--blue) 100%);
  opacity: 0.8;
  transition: background var(--transition);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.stat-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.stat-card-bodypart {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.stat-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  background: var(--surface);
  text-align: center;
}

.stat-metric-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}

.stat-metric-value.pr {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-2-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-metric-value.volume {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-metric-value.freq {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.stat-metric-sub {
  font-size: 10px;
  color: var(--text-2);
  font-weight: 500;
}

.stat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
}

.stat-progress {
  flex: 1;
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 3px;
  margin: 0 12px;
  overflow: hidden;
}

.stat-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Empty State === */
.empty-hint {
  text-align: center;
  color: var(--text-3);
  padding: 48px 20px;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.empty-hint::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 14px;
  opacity: 0.5;
}

/* === Toast === */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  background: var(--surface-3);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid var(--border-active);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.toast.success {
  background: var(--surface);
  border-color: rgba(0,230,118,0.3);
  color: var(--accent);
}

.toast.error {
  background: var(--surface);
  border-color: rgba(255,82,82,0.3);
  color: var(--danger);
}
