/* ═══════════════════════════════════════════════════════
   components.css – Lyst natur-tema UI-komponenter
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   BOTTOM SHEET
   ══════════════════════════════════════════════════════ */

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(33, 54, 41, 0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.backdrop.visible { opacity: 1; }

.sheet {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 88vh;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: var(--shadow-lg);
}

.sheet.open {
  display: flex;
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 36px;
  height: 4px;
  background: var(--surface3);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
  cursor: grab;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sheet-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  flex: 1;
  min-width: 0;
}

.sheet-title .flag { font-size: 28px; line-height: 1; flex-shrink: 0; }

.sheet-title .country-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-body {
  overflow-y: auto;
  flex: 1;
  padding: 0 20px 28px;
  -webkit-overflow-scrolling: touch;
}

.sheet-body::-webkit-scrollbar { width: 3px; }
.sheet-body::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 2px; }

/* ══════════════════════════════════════════════════════
   KNAPPER
   ══════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

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

.btn-primary   { background: var(--accent); color: var(--cream); box-shadow: 0 4px 16px rgba(33, 54, 41, 0.3); }
.btn-secondary { background: var(--surface2); color: var(--text); }
.btn-danger    { background: rgba(192, 57, 43, 0.1); color: var(--danger); }
.btn-ghost     { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-full      { width: 100%; }

.btn-visited  { background: rgba(33, 54, 41, 0.1);   color: var(--visited);  border: 1.5px solid rgba(33, 54, 41, 0.25); }
.btn-lived    { background: rgba(123, 100, 136, 0.1);  color: var(--lived);    border: 1.5px solid rgba(123, 100, 136, 0.25); }
.btn-planned  { background: rgba(79, 117, 145, 0.1);  color: var(--planned);  border: 1.5px solid rgba(79, 117, 145, 0.25); }
.btn-wishlist { background: rgba(252, 220, 65, 0.3);  color: var(--wishlist-text); border: 1.5px solid rgba(252, 220, 65, 0.8); }

.icon-btn {
  background: var(--surface2);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: background var(--transition);
}

.icon-btn:active { background: var(--surface3); }

.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; padding: 12px; font-size: 14px; }

/* ══════════════════════════════════════════════════════
   FAB – Flydende tilføj-knap
   ══════════════════════════════════════════════════════ */

#fab-add {
  position: fixed;
  bottom: calc(var(--nav-height) + 16px);
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  box-shadow: 0 6px 24px rgba(33, 54, 41, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

#fab-add svg { width: 24px; height: 24px; }

#fab-add:active {
  transform: scale(0.92);
  box-shadow: 0 3px 12px rgba(33, 54, 41, 0.25);
}

/* ══════════════════════════════════════════════════════
   LANDEVÆLGER (picker-sheet)
   ══════════════════════════════════════════════════════ */

.picker-search-wrap {
  padding: 12px 20px 10px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.picker-search-wrap .form-input {
  background: var(--surface2);
  font-size: 16px;
  color: var(--text);
}

.picker-search-wrap .form-input::placeholder { color: var(--text-dim); }

.picker-list {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.picker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.picker-item:active { background: var(--surface2); }

.picker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--surface3);
  border: 1.5px solid rgba(0,0,0,0.1);
}

.picker-dot.visited  { background: var(--visited);  border-color: var(--visited); }
.picker-dot.planned  { background: var(--planned);  border-color: var(--planned); }
.picker-dot.wishlist { background: var(--wishlist); border-color: var(--wishlist); }

.picker-name { flex: 1; font-size: 16px; font-weight: 500; color: var(--text); }
.picker-arrow { color: var(--text-dim); font-size: 20px; }

/* ══════════════════════════════════════════════════════
   LANDEINFORMATION
   ══════════════════════════════════════════════════════ */

.country-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.info-chip {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.info-chip .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-chip .value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════
   FORMULARER
   ══════════════════════════════════════════════════════ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-input,
.form-textarea,
.form-select {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33, 54, 41, 0.12);
}

.form-input[type="date"],
.form-input[type="month"] { color-scheme: light; }

.form-textarea {
  resize: none;
  min-height: 80px;
  line-height: 1.5;
}

.date-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════
   BILLEDGALLERI
   ══════════════════════════════════════════════════════ */

.image-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-top: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.image-gallery::-webkit-scrollbar { display: none; }

.gallery-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}

.gallery-add-btn {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  border: 2px dashed var(--surface3);
  background: var(--surface2);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.gallery-add-btn svg { width: 24px; height: 24px; }
.gallery-add-btn:active { border-color: var(--accent); }

.gallery-item { position: relative; flex-shrink: 0; }

.gallery-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  color: var(--danger);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ══════════════════════════════════════════════════════
   PAKKELISTE
   ══════════════════════════════════════════════════════ */

.packing-list { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }

.packing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--surface2);
  border-radius: var(--radius);
  transition: background var(--transition);
}

.packing-item.packed .packing-label {
  text-decoration: line-through;
  color: var(--text-muted);
}

.packing-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background var(--transition), border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.packing-checkbox:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.packing-checkbox:checked::after { content: '✓'; color: #fff; font-size: 12px; }

.packing-label { flex: 1; font-size: 15px; color: var(--text); }

.packing-delete {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 4px;
  transition: color var(--transition);
}

.packing-delete:active { color: var(--danger); }

.add-item-row { display: flex; gap: 8px; margin-top: 8px; }
.add-item-row .form-input { flex: 1; padding: 10px 12px; }
.add-item-row .btn { padding: 10px 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   BUDGET
   ══════════════════════════════════════════════════════ */

.budget-overview {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 10px;
  border: 1px solid var(--border);
}

.budget-numbers {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.budget-spent { font-size: 28px; font-weight: 800; color: var(--text); }
.budget-total { font-size: 14px; color: var(--text-muted); font-weight: 600; }

.budget-bar { height: 6px; background: var(--surface3); border-radius: 3px; overflow: hidden; }

.budget-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  transition: width 0.4s ease, background 0.3s;
}

.budget-bar-fill.over-budget { background: var(--danger); }

.budget-items { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }

.budget-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface2);
  border-radius: var(--radius);
}

.budget-item-label { flex: 1; font-size: 14px; color: var(--text); }
.budget-item-amount { font-size: 14px; font-weight: 700; color: var(--text); }

.budget-item-paid {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.budget-item-paid:checked { background: var(--visited); border-color: var(--visited); }

/* ══════════════════════════════════════════════════════
   DAG-TIL-DAG PLAN
   ══════════════════════════════════════════════════════ */

.day-plan { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

.day-entry {
  background: var(--surface2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.day-entry-header {
  padding: 10px 14px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.day-entry-notes {
  background: var(--surface2);
  border: none;
  color: var(--text);
  font-size: 14px;
  width: 100%;
  padding: 10px 14px;
  min-height: 60px;
  resize: none;
  font-family: inherit;
  line-height: 1.5;
  outline: none;
}

/* ══════════════════════════════════════════════════════
   FLYINFO
   ══════════════════════════════════════════════════════ */

.flight-card {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}

.flight-route { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.flight-arrow { color: var(--accent); font-size: 14px; }
.flight-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════
   VEJRUDSIGT
   ══════════════════════════════════════════════════════ */

.weather-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-top: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.weather-strip::-webkit-scrollbar { display: none; }

.weather-day {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 62px;
  border: 1px solid var(--border);
}

.weather-day-name { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.weather-emoji    { font-size: 22px; line-height: 1; }
.weather-temps    { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.weather-high     { font-size: 14px; font-weight: 800; color: var(--text); }
.weather-low      { font-size: 11px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════
   OVERNATNING
   ══════════════════════════════════════════════════════ */

.accommodation-card {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}

.accommodation-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.accommodation-dates { font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════
   STATISTIK
   ══════════════════════════════════════════════════════ */

.stats-header {
  padding: 8px 0 20px;
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-number { font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.stat-number.visited  { color: var(--visited); }
.stat-number.planned  { color: var(--planned); }
.stat-number.wishlist { color: var(--wishlist-text); }
.stat-number.days     { color: var(--accent); }

.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.country-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }

.country-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.country-list-item:active { background: var(--surface2); }

.country-list-flag { font-size: 26px; }

.country-list-info { flex: 1; min-width: 0; }

.country-list-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-list-meta { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.country-list-arrow { color: var(--text-dim); font-size: 14px; }

/* ══════════════════════════════════════════════════════
   TOMME TILSTANDE
   ══════════════════════════════════════════════════════ */

.empty-state { text-align: center; padding: 36px 20px; color: var(--text-muted); }
.empty-state-icon { font-size: 52px; margin-bottom: 14px; opacity: 0.6; }
.empty-state-text { font-size: 14px; line-height: 1.7; font-weight: 500; }

/* ══════════════════════════════════════════════════════
   DIVIDER
   ══════════════════════════════════════════════════════ */

.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ══════════════════════════════════════════════════════
   STATUS-VÆLGER
   ══════════════════════════════════════════════════════ */

.status-chooser { padding: 20px 0; }

.status-chooser p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
  font-weight: 500;
}

.status-chooser .btn-row { flex-direction: column; gap: 10px; }
.status-chooser .btn { padding: 14px; font-size: 15px; justify-content: flex-start; }

/* ══════════════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════════════ */

.sheet-tabs {
  display: flex;
  gap: 4px;
  margin: 16px 0 4px;
  background: var(--surface2);
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sheet-tab {
  flex: 1;
  padding: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.sheet-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ══════════════════════════════════════════════════════
   REJSEVISNING – liste over planlagte rejser
   ══════════════════════════════════════════════════════ */

.trips-header {
  padding: 24px 20px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trips-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.trips-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.trips-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trip-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.trip-card-body {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.trip-card-body:active { background: var(--surface2); transform: scale(0.98); }

.trip-card-flag { font-size: 36px; line-height: 1; flex-shrink: 0; }

.trip-card-info { flex: 1; min-width: 0; }

.trip-card-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.trip-card-city {
  font-size: 13px;
  color: var(--accent, #213629);
  margin-top: 2px;
  font-weight: 600;
}

.trip-card-dates {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

.trip-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.trip-progress-bar {
  flex: 1;
  height: 5px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
}

.trip-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.trip-progress-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.trip-card-arrow { color: var(--text-dim); font-size: 22px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   REJSEPLANLÆGGER – tabs og lister
   ══════════════════════════════════════════════════════ */

.planner-tabs {
  display: flex;
  gap: 6px;
  padding: 16px 0 4px;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.planner-tabs::-webkit-scrollbar { display: none; }

.planner-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.planner-tab.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.planner-panel { display: none; padding-top: 12px; }
.planner-panel.active { display: block; }

/* Tjekliste-items */
.pl-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.pl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface2);
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background var(--transition);
}

.pl-item:active { background: var(--surface3); }

.pl-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-item input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.pl-item input[type="checkbox"]:checked::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  display: block;
  text-align: center;
  line-height: 1;
}

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

.pl-item.done .pl-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

.pl-delete {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.pl-delete:active { color: var(--danger); background: rgba(192,57,43,0.08); }

.pl-empty {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  padding: 12px 4px;
  margin-bottom: 8px;
}

/* Tilføj-input-række */
.pl-add-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.pl-add-row .form-input { flex: 1; }
.pl-add-row .btn { flex-shrink: 0; padding: 12px 16px; }

/* Ønskeliste */
.bucket-category { margin-bottom: 20px; }

.bucket-cat-header {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  padding: 6px 0;
  border-bottom: 2px solid var(--surface3);
}

.bucket-add-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.bucket-add-row .form-input { flex: 1; min-width: 140px; }

.bucket-cat-select {
  flex-shrink: 0;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  padding: 10px 10px;
  font-family: inherit;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════
   HAR VÆRET – LISTE
   ══════════════════════════════════════════════════════ */

.visited-header {
  padding: 28px 20px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.visited-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.visited-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

.visited-list {
  padding: 16px 16px calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.visited-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}

.visited-card-body {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.visited-card-body:active {
  transform: scale(0.98);
  box-shadow: none;
}

.visited-card-photo {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--surface2);
}

.visited-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visited-card-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3) 100%);
}

.visited-card-flag-big {
  font-size: 64px;
  line-height: 1;
  opacity: 0.8;
}

.visited-card-content {
  padding: 14px 16px 16px;
  flex: 1;
}

.visited-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.visited-card-flag { font-size: 20px; }

.visited-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

.visited-card-year {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface2);
  padding: 2px 10px;
  border-radius: 12px;
}

.visited-card-lived-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--lived);
  background: rgba(123, 100, 136, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.visited-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.visited-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 18px;
  font-size: 22px;
  color: var(--text-dim);
}

.visited-card { position: relative; }

/* ── Søg billeder-knap i visited-form ── */
.vf-photo-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--green) 0%, var(--accent-light) 100%);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.vf-photo-search-btn:active {
  opacity: 0.85;
  transform: scale(0.98);
}

/* ── Slet-knap på kort (besøgte + planlagte rejser) ── */
.card-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 0;
  border: none;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--danger, #c0392b);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.card-delete-btn:active {
  background: rgba(192, 57, 43, 0.08);
}

/* ══════════════════════════════════════════════════════
   HAR VÆRET – DETALJEPANEL
   ══════════════════════════════════════════════════════ */

.sheet--tall {
  max-height: 95vh;
}

/* Fotogalleri */
.vd-photos {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}

.vd-photos::-webkit-scrollbar { display: none; }

.vd-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.vd-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.vd-photo-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vd-add-photo-btn {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  border: 2px dashed var(--surface3);
  background: var(--surface2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  transition: background var(--transition);
}

.vd-add-photo-btn span:first-child { font-size: 28px; }
.vd-add-photo-btn:hover { background: var(--surface3); }

/* ══════════════════════════════════════════════════════
   FOTO-SØGNING MODAL
   ══════════════════════════════════════════════════════ */

.ps-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 54, 41, 0.5);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ps-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.ps-sheet {
  width: 100%;
  max-height: 90vh;
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-overlay.visible .ps-sheet {
  transform: translateY(0);
}

.ps-header {
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.ps-close {
  margin-left: auto;
}

/* Trin-layout */
.ps-step {
  display: flex;
  gap: 14px;
  padding: 16px 16px 0;
  align-items: flex-start;
}

.ps-step-number {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ps-step-content {
  flex: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.ps-step:last-of-type .ps-step-content { border-bottom: none; }

.ps-step-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ps-step-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Google-knap */
.ps-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1.5px solid #dadce0;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: #3c4043;
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.ps-google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

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

/* URL indsæt */
.ps-url-row {
  display: flex;
  gap: 8px;
}

.ps-url-input { flex: 1; font-size: 13px; }

.ps-url-btn { white-space: nowrap; }

/* Forhåndsvisning */
.ps-url-preview {
  margin-top: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface2);
  border: 1.5px solid var(--border);
}

.ps-url-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.ps-confirm-btn {
  width: 100%;
  border-radius: 0;
  padding: 10px;
  font-size: 14px;
}

.ps-url-error {
  margin-top: 8px;
  font-size: 12px;
  color: #c0392b;
  padding: 8px 12px;
  background: #fdf2f2;
  border-radius: var(--radius);
}

/* Divider */
.ps-divider {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  padding: 12px 16px 0;
}

/* Upload fra enhed */
.ps-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 16px 16px;
  padding: 12px 16px;
  background: var(--surface2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition);
  border: 1.5px dashed var(--surface3);
}

.ps-upload-btn:hover { background: var(--surface3); }

/* ── Budget-liste i visited-form ────────────────────── */
.vf-budget-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vf-budget-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--surface2);
  border-radius: var(--radius);
  font-size: 14px;
}

.vf-budget-label {
  flex: 1;
  color: var(--text);
}

.vf-budget-amount {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.vf-budget-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  border-top: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Dagbog textarea ─────────────────────────────────── */
.vf-diary-textarea {
  min-height: 220px;
  font-size: 15px;
  line-height: 1.7;
}

.vf-diary-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  padding: 4px 0;
}

/* ── Form-label hint ─────────────────────────────────── */
.form-label-hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 1px;
}

/* ── Private foto-søgningsknap ───────────────────────── */
.vf-photo-search-priv {
  background: linear-gradient(135deg, #5F4B6B, var(--lived)) !important;
}

/* Sektioner */
.vd-sections {
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vd-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.vd-section:last-child { border-bottom: none; }

.vd-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.vd-value {
  font-size: 15px;
  color: var(--text);
}

/* Byer */
.vd-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vd-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.vd-city-del {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.vd-add-row {
  display: flex;
  gap: 8px;
}

.vd-add-row .form-input { flex: 1; }

/* Budget */
.vd-budget-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.vd-budget-row .form-input { flex: 1; }

.vd-currency-select {
  width: 70px;
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  appearance: none;
  text-align: center;
}

/* Textarea */
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.vd-text-save {
  margin-top: 10px;
  align-self: flex-start;
}

/* ══════════════════════════════════════════════════════
   MARKÉR SOM FÆRDIG – KNAP I REJSEPLANLÆGGER
   ══════════════════════════════════════════════════════ */

/* To-knap række i trip planner */
.trip-action-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.trip-action-row .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 600;
}

.btn-sm {
  padding: 10px 14px !important;
  font-size: 13px !important;
}

.btn-mark-done {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--visited) 0%, var(--accent-light) 100%);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-mark-done:active {
  opacity: 0.85;
  transform: scale(0.98);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVT
   ══════════════════════════════════════════════════════ */

@media (min-width: 480px) {
  .sheet {
    max-width: 480px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(100%);
    border-radius: var(--radius-xl);
    bottom: var(--nav-height);
  }

  .sheet.open { transform: translateX(-50%) translateY(0); }

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

/* ══════════════════════════════════════════════════════
   STATS OVERLAY PÅ KORTET
   ══════════════════════════════════════════════════════ */

/* (map-stats-overlay erstattet af #map-home-content i map.css) */

/* ══════════════════════════════════════════════════════
   EXPLORE VIEW – VERDENSOVERSIGT
   ══════════════════════════════════════════════════════ */

#view-explore {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
}

.explore-header {
  padding: 16px 16px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.explore-header--detail {
  padding-bottom: 8px;
}

.explore-back-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.explore-hero {
  text-align: center;
  padding: 8px 0 6px;
}

.explore-hero-number {
  font-size: 52px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.explore-hero-label {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 2px;
}

.explore-hero-pct {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

.explore-world-bar {
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  margin: 10px 0 0;
  overflow: hidden;
}

.explore-world-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--yellow));
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* Kontinent-liste */
.explore-continent-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.explore-continent-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 12px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background var(--transition), transform 0.12s;
}

.explore-continent-card:active { transform: scale(0.98); }

.explore-continent-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.explore-continent-emoji {
  font-size: 24px;
  line-height: 1;
}

.explore-continent-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.explore-continent-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.explore-continent-bar {
  width: 60px;
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
}

.explore-continent-fill {
  height: 100%;
  border-radius: 3px;
  min-width: 2px;
}

.explore-continent-arrow {
  font-size: 18px;
  color: var(--text-dim);
}

/* Kontinent detaljevisning */
.explore-detail-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.explore-detail-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface2);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Kontinent Leaflet-kort */
.continent-map-container {
  height: 340px;
  background: var(--ocean);
  border-radius: 0;
  overflow: hidden;
}

/* Lande-sektioner under kontinentkortet */
.explore-country-section {
  padding: 12px 16px 4px;
}

.explore-country-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}

.explore-country-row:last-child { border-bottom: none; }
.explore-country-row:hover, .explore-country-row:active { background: var(--surface2); }

.explore-country-row.visited .explore-country-name { font-weight: 700; color: var(--accent); }

/* Rundt flag i en lys, afrundet firkant */
.explore-country-flag {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 22px;
  line-height: 1;
}

.explore-country-flag img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 1px 3px rgba(33, 54, 41, 0.18);
}

.explore-country-name {
  flex: 1;
  font-size: 14px;
  color: var(--text);
}

.explore-country-arrow {
  font-size: 16px;
  color: var(--text-dim);
}

.cm-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

.cm-badge.planned  { background: rgba(79, 117, 145, 0.15); color: var(--planned); }
.cm-badge.wishlist { background: rgba(252, 220, 65, 0.35); color: var(--wishlist-text); }

/* ── Visit cards (besøgsliste per land) ── */
.visits-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

.visit-card {
  background: var(--surface2);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.visit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.visit-card-num {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}

.visit-card-actions { display: flex; gap: 4px; }
.visit-card-actions .icon-btn { font-size: 15px; padding: 2px 6px; }

.visit-card-city {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.visit-card-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.visit-card-notes {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-top: 6px;
  white-space: pre-wrap;
}

.btn-full { width: 100%; }

/* ── Idéer (steder & aktiviteter) ── */
.ideas-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }

.idea-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  border: 1px solid var(--border);
}

.idea-text {
  flex: 1;
  font-size: 14px;
  color: var(--text);
}

.idea-del-btn { font-size: 13px; color: var(--text-muted); padding: 0 4px; }

/* ── Søg + sorter i "Har været" ── */
.visited-controls {
  padding: 0 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.visited-search {
  width: 100%;
  box-sizing: border-box;
}

.visited-sort-row {
  display: flex;
  gap: 6px;
}

.sort-btn {
  flex: 1;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface2);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sort-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}

/* ── Vurderingskategorier ── */
.rating-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.rating-cat-item:last-child { border-bottom: none; }
.rating-cat-label { flex: 1; font-size: 14px; color: var(--text); }
.rating-cat-stars { display: flex; gap: 2px; }
.rating-cat-star { font-size: 20px; color: var(--surface3); cursor: pointer; transition: color 0.1s; }
.rating-cat-star.filled { color: var(--yellow); }
.rating-cat-del { font-size: 13px; color: var(--text-muted); padding: 0 4px; }

/* Visit-kort vurdering visning */
.visit-card-ratings { margin: 6px 0 2px; display: flex; flex-direction: column; gap: 3px; }
.rating-cat-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.rating-cat-name { color: var(--text-muted); min-width: 60px; }
.rating-cat-stars-display { color: var(--yellow); letter-spacing: 1px; }
