/* ============================================
   Trainlytics — App Stylesheet
   Dark Industrial Theme | Bebas Neue + DM Sans
============================================ */

:root {
  --bg:        #0a0a0c;
  --bg-card:   #111114;
  --bg-input:  #18181c;
  --bg-hover:  #1e1e24;
  --border:    #2a2a30;
  --border-lt: #3a3a44;
  --accent:    #e8ff47;
  --accent-dim:#a8b830;
  --accent-bg: rgba(232,255,71,0.08);
  --red:       #ff4757;
  --green:     #2ed573;
  --blue:      #1e90ff;
  --orange:    #ffa502;
  --text:      #f0f0f5;
  --text-sub:  #8888a0;
  --text-muted:#55556a;
  --nav-h:     64px;
  --top-h:     56px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

/* ── Screens ───────────────────────────── */
.screen { position: fixed; inset: 0; overflow: hidden; }
.screen.hidden { display: none !important; }
.screen.active { display: flex; flex-direction: column; }

/* ── Auth Screen ───────────────────────── */
#auth-screen {
  background: var(--bg);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
}

.auth-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.auth-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,255,71,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,255,71,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.auth-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,255,71,0.06) 0%, transparent 70%);
}

.auth-container {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 60px rgba(232,255,71,0.04);
}

.auth-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.logo-icon { width: 36px; height: 36px; }
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 3px;
  color: var(--accent);
}
.auth-tagline {
  color: var(--text-sub); font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 24px;
}

.auth-tabs {
  display: flex; gap: 4px;
  background: var(--bg-input); border-radius: 8px; padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1; padding: 8px;
  background: transparent; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: 1px;
  color: var(--text-muted); border-radius: 6px;
  transition: all 0.2s;
}
.auth-tab.active { background: var(--accent); color: #000; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form.hidden { display: none; }

/* ── Form Fields ───────────────────────── */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group.compact { flex: 1; }
.field-group label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-sub); text-transform: uppercase;
}
.field-group input,
.field-group select,
.field-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--accent);
}
.field-group select { appearance: none; cursor: pointer; }
.field-group textarea { resize: none; }
.fields-row { display: flex; gap: 12px; }
.fields-row .field-group { flex: 1; }

/* ── Buttons ───────────────────────────── */
.btn-primary {
  background: var(--accent); color: #000;
  border: none; border-radius: var(--radius);
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.btn-primary:hover { background: #f0ff60; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full { width: 100%; }

.btn-secondary {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: var(--radius);
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.15s;
}
.btn-secondary.full { width: 100%; }
.btn-secondary:hover { background: var(--accent-bg); }

.btn-ghost {
  background: transparent; color: var(--text-sub);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.15s;
}
.btn-ghost.full { width: 100%; }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text); }

.btn-small {
  background: var(--bg-input); color: var(--text-sub);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 12px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; transition: all 0.15s;
}
.btn-small:hover { border-color: var(--accent); color: var(--accent); }

.auth-error {
  background: rgba(255,71,87,0.1); border: 1px solid rgba(255,71,87,0.3);
  color: var(--red); padding: 10px 12px; border-radius: var(--radius);
  font-size: 13px;
}
.auth-error.hidden { display: none; }

/* ── Top Bar ───────────────────────────── */
.topbar {
  height: var(--top-h); min-height: var(--top-h);
  display: flex; align-items: center;
  padding: 0 16px; gap: 12px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.topbar-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 24px;
  color: var(--accent); letter-spacing: 2px;
  width: 36px; text-align: center;
}
.topbar-title {
  flex: 1; font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 3px; color: var(--text);
}
.topbar-action {
  width: 36px; height: 36px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sub); transition: all 0.15s;
}
.topbar-action:hover { border-color: var(--accent); color: var(--accent); }
.topbar-action svg { width: 18px; height: 18px; }

/* ── Main Content ──────────────────────── */
.main-content {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 16px);
}

.page { padding: 16px; display: none; }
.page.active { display: block !important; }

/* ── Bottom Nav ────────────────────────── */
.bottom-nav {
  height: var(--nav-h); min-height: var(--nav-h);
  display: flex; align-items: stretch;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  position: relative; z-index: 10;
}
.nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; background: none; border: none; cursor: pointer;
  color: var(--text-muted); transition: all 0.15s; padding: 6px 0;
}
.nav-btn svg { width: 20px; height: 20px; stroke: currentColor; }
.nav-btn span { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-btn.active { color: var(--accent); }
.nav-btn:hover { color: var(--text); }

/* ── Home Page ─────────────────────────── */
.home-greeting { margin-bottom: 16px; }
.home-greeting h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px;
  letter-spacing: 2px; line-height: 1.1;
}
.text-muted { color: var(--text-sub); font-size: 13px; }

.quote-card {
  background: var(--accent-bg);
  border: 1px solid rgba(232,255,71,0.15);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 12px 16px;
  margin-bottom: 20px; position: relative;
}
.quote-icon {
  position: absolute; top: -4px; left: 12px;
  font-family: Georgia, serif; font-size: 36px;
  color: var(--accent); opacity: 0.4; line-height: 1;
}
.quote-card p { font-size: 13px; color: var(--text-sub); padding-left: 8px; font-style: italic; }

.home-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.stat-card.accent { background: var(--accent-bg); border-color: rgba(232,255,71,0.2); }
.stat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 36px;
  letter-spacing: 1px; color: var(--text); line-height: 1;
  margin-bottom: 4px;
}
.stat-card.accent .stat-num { color: var(--accent); }
.stat-label { font-size: 11px; color: var(--text-sub); font-weight: 600; letter-spacing: 0.5px; }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; margin-top: 4px;
}
.section-header span {
  font-family: 'Bebas Neue', sans-serif; font-size: 16px;
  letter-spacing: 2px; color: var(--text-sub);
}
.streak-badge {
  font-size: 12px; font-weight: 700; color: var(--orange);
  background: rgba(255,165,2,0.1); border: 1px solid rgba(255,165,2,0.2);
  padding: 4px 10px; border-radius: 20px;
}

.weekly-chart {
  display: flex; gap: 6px; align-items: flex-end;
  height: 80px; margin-bottom: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
}
.wc-bar-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; gap: 4px; height: 100%;
}
.wc-bar {
  width: 100%; border-radius: 3px 3px 0 0;
  background: var(--border); min-height: 4px;
  transition: height 0.4s ease;
}
.wc-bar.active { background: var(--accent); }
.wc-day { font-size: 9px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

.strength-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.strength-item {
  display: flex; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; gap: 12px;
}
.str-name { flex: 1; font-weight: 600; font-size: 13px; }
.str-weight { font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--accent); }
.str-trend {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}
.str-trend.up { background: rgba(46,213,115,0.1); color: var(--green); }
.str-trend.down { background: rgba(255,71,87,0.1); color: var(--red); }
.str-trend.stable { background: var(--bg-input); color: var(--text-muted); }

.quick-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ── Log Page ──────────────────────────── */
.log-header { margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.log-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 2px; }
.log-meta-row { display: flex; gap: 12px; }

/* Exercise Block */
.exercise-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 12px;
  overflow: hidden;
}
.ex-block-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--bg-input); border-bottom: 1px solid var(--border);
}
.ex-block-name {
  flex: 1; font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
}
.ex-block-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 18px; padding: 2px 6px;
  border-radius: 4px; transition: color 0.15s;
}
.ex-block-remove:hover { color: var(--red); }

.sets-table { width: 100%; border-collapse: collapse; }
.sets-table th {
  font-size: 9px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
  padding: 8px 6px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.sets-table td {
  padding: 6px 4px; text-align: center; vertical-align: middle;
}
.sets-table tr:nth-child(even) td { background: rgba(255,255,255,0.01); }

.set-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--text-muted); width: 24px;
}
.set-input {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text);
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  padding: 6px 4px; text-align: center; width: 100%;
  outline: none; transition: border-color 0.15s;
}
.set-input:focus { border-color: var(--accent); }
.set-input.vol-display {
  background: transparent; border: none; color: var(--accent-dim);
  font-size: 12px; pointer-events: none;
}
.set-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 16px; padding: 4px;
  transition: color 0.15s;
}
.set-remove:hover { color: var(--red); }

.ex-block-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px;
}
.ex-1rm { font-size: 11px; color: var(--text-sub); }
.ex-1rm span { color: var(--accent); font-weight: 700; font-family: 'JetBrains Mono', monospace; }

.log-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* ── Progress Page ─────────────────────── */
#page-progress h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 2px; margin-bottom: 16px;
}
.chart-container {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin-bottom: 20px;
  position: relative; height: 200px;
}
.pie-container { display: flex; align-items: center; gap: 16px; height: auto; min-height: 160px; }
.pie-container canvas { max-width: 140px; max-height: 140px; }
.pie-legend { flex: 1; }
.pie-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; margin-bottom: 6px;
}
.pie-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.pr-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pr-item {
  display: flex; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; gap: 10px;
}
.pr-medal { font-size: 20px; }
.pr-info { flex: 1; }
.pr-name { font-weight: 700; font-size: 13px; }
.pr-type { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.pr-value { font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--accent); }
.pr-date { font-size: 10px; color: var(--text-muted); text-align: right; }

.hr-zones { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.hr-zone {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px;
}
.hz-color { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.hz-info { flex: 1; }
.hz-name { font-weight: 700; font-size: 13px; }
.hz-desc { font-size: 11px; color: var(--text-muted); }
.hz-range { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-sub); }

/* ── History Page ──────────────────────── */
.history-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.history-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 2px; }
.history-actions-top { display: flex; gap: 8px; }

.history-list { display: flex; flex-direction: column; gap: 10px; }
.workout-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.wc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.wc-date-wrap { display: flex; flex-direction: column; }
.wc-date { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 1px; }
.wc-type {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); text-transform: uppercase;
}
.wc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.wc-vol { font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--accent); }
.wc-dur { font-size: 11px; color: var(--text-muted); }
.wc-body { padding: 12px 14px; }
.wc-exercises { display: flex; flex-direction: column; gap: 6px; }
.wc-ex-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-sub);
}
.wc-ex-name { font-weight: 600; color: var(--text); flex: 1; }
.wc-ex-sets { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-muted); }
.wc-notes { font-size: 12px; color: var(--text-muted); font-style: italic; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.wc-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
}
.btn-delete {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 12px; padding: 4px 8px;
  border-radius: 4px; transition: color 0.15s;
  font-family: 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-delete:hover { color: var(--red); }

.loading-msg { color: var(--text-muted); text-align: center; padding: 40px; font-style: italic; }

/* ── Modals ────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; }
.modal.hidden { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.modal-box {
  position: relative; z-index: 1; width: 100%;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 16px; max-height: 85vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  animation: slideUp 0.25s ease;
}
.modal-box.small { max-height: 60vh; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 2px; }
.modal-close {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-sub);
  width: 30px; height: 30px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.modal-search { display: flex; gap: 8px; }
.modal-search input, .modal-search select {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 14px; padding: 9px 12px; outline: none;
}
.modal-search input { flex: 1; }
.modal-search input:focus, .modal-search select:focus { border-color: var(--accent); }
.ex-list { display: flex; flex-direction: column; gap: 2px; max-height: 50vh; overflow-y: auto; }
.ex-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius); cursor: pointer;
  transition: background 0.15s;
}
.ex-item:hover { background: var(--bg-hover); }
.ex-item-name { flex: 1; font-weight: 600; font-size: 14px; }
.ex-item-bp {
  font-size: 10px; color: var(--text-muted); font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  background: var(--bg-input); padding: 3px 8px; border-radius: 20px;
}
.modal-footer { border-top: 1px solid var(--border); padding-top: 12px; }

/* ── Profile Modal ─────────────────────── */
#profile-content { display: flex; flex-direction: column; gap: 12px; }
.profile-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.profile-info-item {
  background: var(--bg-input); border-radius: var(--radius); padding: 10px 12px;
}
.profile-info-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.profile-info-val { font-weight: 700; font-size: 15px; margin-top: 2px; }

.weight-log-section { border-top: 1px solid var(--border); padding-top: 16px; }
.weight-history { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-height: 200px; overflow-y: auto; }
.weight-entry {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-input); border-radius: var(--radius); padding: 8px 12px;
}
.we-date { font-size: 12px; color: var(--text-muted); }
.we-weight { font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--accent); }

/* ── Toast ─────────────────────────────── */
.toast {
  position: fixed; bottom: calc(var(--nav-h) + 16px); left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 10px 20px; border-radius: 20px;
  font-size: 13px; font-weight: 600; z-index: 200;
  box-shadow: var(--shadow); white-space: nowrap;
  animation: toastIn 0.25s ease;
}
.toast.hidden { display: none; }
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error { border-color: var(--red); color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.hidden { display: none !important; }

/* ── Chart canvas ──────────────────────── */
canvas { width: 100% !important; }

/* ── Scrollbar ─────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── Responsive tweaks ─────────────────── */
@media (min-width: 480px) {
  .auth-container { padding: 40px 32px; }
  .home-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Empty log state ───────────────────── */
.empty-log-state {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  margin: 8px 0;
}
.empty-log-icon { font-size: 40px; margin-bottom: 12px; }
.empty-log-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 1px;
  color: var(--text-sub); margin-bottom: 8px;
}
.empty-log-sub {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.empty-log-sub strong { color: var(--accent); }

/* ── Edit Workout Modal ────────────────── */
.edit-modal-box {
  max-height: 92vh;
}
.edit-meta-row {
  display: flex; gap: 12px;
}
#edit-exercises-container .exercise-block {
  margin-bottom: 10px;
}

/* Edit button on workout card */
.btn-edit {
  background: none; border: none; cursor: pointer;
  color: var(--text-sub); font-size: 12px; padding: 4px 8px;
  border-radius: 4px; transition: color 0.15s;
  font-family: 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-edit:hover { color: var(--accent); }

