/* ========================
   MAPP — styles.css
   Mobile-first
   ======================== */

:root {
  --bg: #f5f4f0;
  --text: #1a1a1a;
  --accent: #2d5a3d;
  --accent-light: #e8f0eb;
  --muted: #6b6b6b;
  --border: #dddbd5;
  --white: #ffffff;
  --radius: 10px;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --bottom-nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
}

/* ========================
   NAVIGATIE
   ======================== */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-box {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.logo-box.small {
  font-size: 1.2rem;
}

/* Desktop nav links — verborgen op mobiel */
.nav-center {
  display: none;
}

.nav-actions {
  display: none;
}

/* Hamburger — alleen zichtbaar op mobiel */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  touch-action: manipulation;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobiel uitklapmenu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  position: sticky;
  top: 57px;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem 1rem;
  gap: 0;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
}

/* ========================
   KNOPPEN
   ======================== */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  touch-action: manipulation;
  min-height: 44px;
  line-height: 1.4;
}

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

.btn-ghost:hover,
.btn-ghost:active {
  background: var(--accent-light);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:active {
  opacity: 0.88;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ========================
   HERO
   ======================== */

.hero {
  padding: 2.5rem 1.25rem 3rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ========================
   KAART
   ======================== */

.map-section {
  padding: 1.5rem 0 2rem;
}

.map-header {
  padding: 0 1.25rem;
  margin-bottom: 1rem;
}

.map-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.map-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

#map {
  width: 100%;
  height: 62vh;
  min-height: 320px;
  border-radius: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* ========================
   HOE WERKT HET
   ======================== */

.how-it-works {
  padding: 2.5rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.step {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.step-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========================
   FOOTER
   ======================== */

.footer {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ========================
   BOTTOM NAVIGATIE (mobiel)
   ======================== */

.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 1000;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  transition: color 0.2s;
  min-height: 44px;
  touch-action: manipulation;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--accent);
}

/* ========================
   KAART MARKER
   ======================== */

.mapp-marker-wrap {
  background: none;
  border: none;
}

.mapp-marker-wrap svg {
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.22));
  transition: transform 0.15s ease;
}

.mapp-marker-wrap:hover svg,
.mapp-marker-wrap:focus svg {
  transform: scale(1.15) translateY(-2px);
}

/* ========================
   LEAFLET POPUP OVERSCHRIJVING
   ======================== */

.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13) !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border);
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.5 !important;
}

.leaflet-popup-tip {
  box-shadow: none !important;
}

.leaflet-popup-close-button {
  top: 10px !important;
  right: 10px !important;
  color: var(--muted) !important;
  font-size: 18px !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  text-align: center !important;
}

.leaflet-popup-close-button:hover {
  color: var(--text) !important;
  background: var(--bg) !important;
  border-radius: 50% !important;
}

/* ========================
   MAP POPUP CARD
   ======================== */

.map-popup {
  font-family: var(--font-body);
  padding: 1.1rem 1.25rem 1.25rem;
  min-width: 200px;
}

.map-popup-city {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.map-popup-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.map-popup-desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.map-popup-btn {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: opacity 0.15s;
}

.map-popup-btn:hover {
  opacity: 0.88;
}

/* ========================
   AUTH PAGINA'S
   ======================== */

.auth-page {
  min-height: calc(100vh - 57px - var(--bottom-nav-height) - env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 420px;
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.auth-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.auth-link {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

.auth-link a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

/* ========================
   FORMULIER ELEMENTEN
   ======================== */

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.form-group input[type="file"] {
  padding: 0.6rem 0.75rem;
  background: var(--bg);
  cursor: pointer;
}

.btn-block {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ========================
   ALERTS
   ======================== */

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  display: none;
}

.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-info    { background: var(--accent-light); border: 1px solid #c3d9ca; color: var(--accent); }

/* ========================
   PAGINA HEADER
   ======================== */

.page-header {
  padding: 2rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.page-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========================
   DASHBOARD
   ======================== */

.dashboard {
  padding: 1.5rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  min-height: 32px;
}

/* ========================
   QR MODAL
   ======================== */

.qr-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.qr-modal-backdrop.open {
  display: flex;
}

.qr-modal {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.qr-modal h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.qr-modal p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.qr-modal img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   ARTWORK DETAIL PAGINA
   ======================== */

.artwork-photo {
  width: 100%;
  max-height: 56vw;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.artwork-photo-placeholder {
  width: 100%;
  height: 260px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.artwork-content {
  padding: 1.5rem 1.25rem 3rem;
}

.artwork-museum-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
}

.artwork-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.artwork-artist {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.artwork-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
}

.collect-section {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.btn-collect {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}

.collected-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 0;
}

/* ========================
   MUSEUM DETAIL PAGINA
   ======================== */

.museum-hero {
  background: var(--accent);
  color: var(--white);
  padding: 2rem 1.25rem 2.5rem;
}

.museum-hero-back {
  display: inline-block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.15s;
}

.museum-hero-back:hover { color: var(--white); }

.museum-hero-stad {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}

.museum-hero-naam {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.museum-hero-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 1rem;
}

.museum-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.museum-hero-meta a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

.museum-kunstwerken {
  padding: 2rem 1.25rem 3rem;
}

.museum-kunstwerken-inner {
  max-width: 900px;
  margin: 0 auto;
}

.museum-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

/* Artwork cards op de publieke museumpagina */

.artwork-pub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.artwork-pub-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.18s, transform 0.18s;
}

.artwork-pub-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  transform: translateY(-1px);
}

.artwork-pub-foto {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.artwork-pub-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artwork-pub-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.artwork-pub-info {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artwork-pub-titel {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.artwork-pub-kunstenaar {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.artwork-pub-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.artwork-pub-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* ========================
   LEGE TOESTAND
   ======================== */

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

.empty-state p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ========================
   PROFIEL HEADER (collectie)
   ======================== */

.profiel-header {
  background: var(--accent);
  color: var(--white);
  padding: 1.75rem 1.25rem 2rem;
}

.profiel-header-inner {
  max-width: 700px;
  margin: 0 auto;
}

.profiel-naam-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profiel-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.profiel-naam {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
}

.profiel-lid-sinds {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.profiel-stats {
  display: flex;
  gap: 0;
}

.profiel-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin: 0 0.25rem;
}

.profiel-stat:first-child { margin-left: 0; }
.profiel-stat:last-child  { margin-right: 0; }

.profiel-stat-getal {
  font-size: 1.6rem;
  font-weight: 600;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.profiel-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================
   COLLECTIE BODY
   ======================== */

.collectie-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.collectie-sectie {
  margin-bottom: 2.5rem;
}

.collectie-sectie-titel {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

/* ========================
   BADGES GRID
   ======================== */

.badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.badges-grid-vergrendeld {
  grid-template-columns: repeat(2, 1fr);
}

.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  gap: 0.35rem;
}

.badge-verdiend {
  background: var(--accent-light);
  border-color: #c3d9ca;
}

.badge-vergrendeld {
  background: var(--bg);
}

.badge-icoon {
  font-size: 1.6rem;
  display: block;
}

.badge-naam {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.badge-datum {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ========================
   MISSIES
   ======================== */

.missies-lijst {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.missie-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.missie-voltooid {
  background: var(--accent-light);
  border-color: #c3d9ca;
}

.missie-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.missie-type-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.missie-naam {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.missie-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.missie-beloning {
  flex-shrink: 0;
}

.missie-punten {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.missie-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

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

.missie-progress-label {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ========================
   COLLECTIE GRID
   ======================== */

.collectie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.collectie-kaart {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.18s;
}

.collectie-kaart:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
}

.collectie-kaart-foto {
  aspect-ratio: 1;
  overflow: hidden;
}

.collectie-kaart-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collectie-kaart-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.collectie-kaart-info {
  padding: 0.65rem 0.75rem;
}

.collectie-kaart-info h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collectie-kaart-info p {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collectie-kaart-museum {
  font-size: 0.7rem !important;
  color: var(--accent) !important;
  font-weight: 500;
}

/* ========================
   DESKTOP (768px+)
   ======================== */

@media (min-width: 768px) {

  body {
    padding-bottom: 0;
  }

  /* Nav desktop */
  .navbar {
    padding: 1.2rem 3rem;
  }

  .nav-center {
    display: flex;
    gap: 2rem;
  }

  .nav-center a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s;
  }

  .nav-center a:hover {
    color: var(--text);
  }

  .nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-mobile-menu {
    display: none !important;
  }

  /* Bottom nav verborgen op desktop */
  .bottom-nav {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 6rem 3rem 4rem;
    max-width: 700px;
  }

  .hero p {
    font-size: 1.1rem;
  }

  /* Kaart */
  .map-section {
    padding: 2rem 3rem 4rem;
  }

  .map-header {
    padding: 0;
  }

  .map-header h2 {
    font-size: 1.6rem;
  }

  #map {
    height: 520px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }

  /* How it works */
  .how-it-works {
    padding: 4rem 3rem;
  }

  .how-it-works h2 {
    margin-bottom: 2.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .step {
    padding: 1.5rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 3rem;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
  }

  /* Museum detail */
  .museum-hero {
    padding: 3rem 3rem 3.5rem;
  }

  .museum-kunstwerken {
    padding: 2.5rem 3rem 4rem;
  }

  .artwork-pub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artwork-pub-card {
    grid-template-columns: 110px 1fr;
  }

  .artwork-pub-foto {
    width: 110px;
    height: 110px;
  }

  /* Auth */
  .auth-page {
    min-height: calc(100vh - 65px);
    padding: 3rem;
  }

  .auth-card {
    padding: 2.5rem;
  }

  /* Page header */
  .page-header {
    padding: 2.5rem 3rem 2rem;
  }

  /* Dashboard */
  .dashboard {
    padding: 2.5rem 3rem;
  }

  /* Artwork detail */
  .artwork-photo {
    max-height: 420px;
  }

  .artwork-content {
    padding: 2rem 3rem 3rem;
    max-width: 720px;
    margin: 0 auto;
  }

  /* Profiel / collectie */
  .profiel-header {
    padding: 2.5rem 3rem 2.5rem;
  }

  .collectie-body {
    padding: 2.5rem 3rem 4rem;
  }

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

  .collectie-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================
   MUSEUM HERO — EXTRA LINKS
   ======================== */

.hero-gmaps-link {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  font-size: 0.85rem;
}

/* ========================
   FOTO GALERIJ
   ======================== */

.museum-fotos-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid var(--border);
}

.museum-fotos-wrap::-webkit-scrollbar { display: none; }

.museum-fotos-scroll {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
}

.museum-foto-item {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin: 0;
}

.museum-foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.museum-foto-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.52);
  color: rgba(255,255,255,0.88);
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  line-height: 1.4;
}

/* ========================
   PRAKTISCHE INFORMATIE
   ======================== */

.museum-praktisch {
  border-top: 1px solid var(--border);
  padding: 1.75rem 1.25rem 2rem;
  background: var(--white);
}

.museum-praktisch-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.praktisch-blok:empty { display: none; }

.praktisch-titel {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
  color: var(--text);
}

/* Openingsuren tabel */
.uren-tabel {
  border-collapse: collapse;
  width: 100%;
}

.uren-tabel tr {
  border-bottom: 1px solid var(--border);
}

.uren-tabel tr:last-child { border-bottom: none; }

.uren-tabel td {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  vertical-align: top;
}

.uren-dag {
  color: var(--muted);
  font-weight: 500;
  padding-right: 1.25rem;
  white-space: nowrap;
}

.uren-tijd { color: var(--text); }

/* Prijslijst */
.prijs-lijst {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.prijs-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.prijs-label { color: var(--muted); }

.prijs-waarde {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Contact */
.contact-lijst {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.contact-item {
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
}

.contact-item a:hover { text-decoration: underline; }

.contact-gmaps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========================
   FOG OF WAR — BANNER
   ======================== */

.fog-info-banner {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(10, 14, 20, 0.82);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

/* ========================
   MUSEUM — LOKALE CONTEXT
   ======================== */

.museum-lokaal {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem 2.5rem;
  background: var(--white);
}

.museum-lokaal-inner {
  max-width: 900px;
  margin: 0 auto;
}

.lokaal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.lokaal-kaart {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}

.lokaal-icoon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

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

.lokaal-type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.1rem;
}

.lokaal-naam {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lokaal-afstand {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.lokaal-add-btn {
  flex-shrink: 0;
  min-width: 88px;
  text-align: center;
}

.lokaal-add-done {
  color: var(--accent) !important;
  background: var(--accent-light) !important;
  border-color: #c3d9ca !important;
}

.lokaal-laden,
.lokaal-fout {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

/* Uitgelichte kaart voor geverifieerde kunstwerken / speciale locaties */
.lokaal-kaart-uitgelicht {
  background: var(--accent-light);
  border-color: #c3d9ca;
}

.lokaal-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(45,90,61,0.1);
  border: 1px solid #c3d9ca;
  border-radius: 100px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.35rem;
}

.lokaal-beschrijving {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 0.2rem;
}

.lokaal-website-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.lokaal-website-link:hover { text-decoration: underline; }

/* ========================
   NAVIGATIE-APP KNOPPEN
   ======================== */

.nav-app-wrap {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.nav-app-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.nav-app-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  min-height: 40px;
}

.nav-app-btn:hover {
  background: var(--accent-light);
  border-color: #c3d9ca;
}

/* ========================
   VERVOERSMODUS TOGGLE
   ======================== */

.transport-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.transport-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 38px;
}

.transport-btn:hover {
  background: var(--accent-light);
  border-color: #c3d9ca;
  color: var(--accent);
}

.transport-btn-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.transport-btn-active:hover {
  background: #245048;
  border-color: #245048;
  color: #fff;
}

/* ========================
   IN-APP GPS NAVIGATIE
   ======================== */

.gps-nav-wrap {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gps-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s;
}

.gps-nav-btn:hover { background: #245048; }

.gps-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  background: var(--accent-light);
  border: 1px solid #c3d9ca;
}

.gps-status-icon { font-size: 1.1rem; flex-shrink: 0; }

#gpsStatusTekst {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.4;
}

.gps-stop-btn {
  flex-shrink: 0;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid #c3d9ca;
  border-radius: 6px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s;
}

.gps-stop-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Pulserende GPS-stip op de kaart */
.leaflet-gps-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4285f4;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  animation: gps-pulse 2s ease-out infinite;
}

@keyframes gps-pulse {
  0%   { box-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 0 0 0 rgba(66,133,244,0.5); }
  70%  { box-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 0 0 14px rgba(66,133,244,0); }
  100% { box-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 0 0 0 rgba(66,133,244,0); }
}

/* ========================
   MUSEUM — DAGUITSTAP PLANNER
   ======================== */

.museum-planner {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem 3rem;
}

.museum-planner-inner {
  max-width: 900px;
  margin: 0 auto;
}

.museum-planner-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.planner-kaart {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.planner-stops {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.planner-stop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.planner-stop-vertrek {
  background: var(--accent-light);
  border-color: #c3d9ca;
}

.planner-stop-nr {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.planner-stop-vertrek .planner-stop-nr {
  background: transparent;
  font-size: 1.1rem;
}

.planner-stop-naam {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.planner-stop-del {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}

.planner-stop-del:hover {
  color: #b91c1c;
  background: #fef2f2;
}

.planner-leeg {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  padding: 0.5rem 0;
}

/* Leaflet dot-marker voor de planner */
.planner-dot {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-body);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* Desktop aanpassingen */
@media (min-width: 768px) {
  /* Foto galerij */
  .museum-fotos-wrap {
    overflow: visible;
    padding: 1.5rem 3rem 0;
  }

  .museum-fotos-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .museum-foto-item {
    width: auto;
    height: 240px;
  }

  /* Praktische info */
  .museum-praktisch {
    padding: 2.5rem 3rem 3rem;
  }

  .museum-praktisch-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .museum-lokaal {
    padding: 2.5rem 3rem 3rem;
  }

  .lokaal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .museum-planner {
    padding: 2.5rem 3rem 4rem;
  }

  .planner-kaart {
    height: 340px;
  }
}

/* ========================
   MUSEUM DASHBOARD
   ======================== */

.dash-header {
  padding: 1.75rem 1.25rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.dash-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dash-naam {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.dash-sub {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Tabs */
.dash-tabs {
  display: flex;
  gap: 0;
  padding: 1.25rem 1.25rem 0;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.dash-tab {
  padding: 0.65rem 1.15rem;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}

.dash-tab:hover { color: var(--text); }

.dash-tab-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* Panel */
.dash-panel {
  padding: 1.5rem 1.25rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Vereist asterisk */
.vereist {
  color: #dc2626;
  font-weight: 700;
}

/* Rode badge op card header als er een validatiefout is */
.card-fout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Fout-lijst in de melding */
.fout-lijst {
  margin: 0.5rem 0 0 1.1rem;
  padding: 0;
}
.fout-lijst li {
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
}

/* Enige opslaan knop onderaan museum tab */
.dash-save-bar {
  padding-top: 0.5rem;
}

.dash-save-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

/* QR canvas in kunstwerk lijst */
.qr-canvas {
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
  flex-shrink: 0;
}

/* Cards */
.dash-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.dash-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

/* Twee-kolom formulier grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

@media (max-width: 540px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Form hint tekst */
.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.35rem 0 0.55rem;
  line-height: 1.45;
}

.muted-label {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

/* Openingsuren / prijzen rijen */
.periode-header {
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  gap: 0.5rem;
  padding: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.periode-rij {
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.periode-rij input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

.periode-rij input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.periode-del {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.periode-del:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }

.periode-leeg {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.5rem 0;
}

.dash-add-btn {
  margin-top: 0.5rem;
}

/* Kunstwerk kaarten in dashboard */
.kw-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.kw-card:last-child { border-bottom: none; }

.kw-foto-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.kw-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kw-foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.kw-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kw-titel {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.kw-kunstenaar {
  font-size: 0.82rem;
  color: var(--muted);
}

.kw-verhaal-preview {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.4;
}

.kw-geen-verhaal {
  font-size: 0.8rem;
  color: #f59e0b;
  font-weight: 500;
}

.kw-acties {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.kw-del-btn { color: #dc2626; }
.kw-del-btn:hover { background: #fee2e2; border-color: #fca5a5; }

/* Foto upload zone */
.foto-upload-zone {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100px;
  background: var(--bg);
  transition: border-color 0.15s;
}

.foto-upload-zone:hover { border-color: var(--accent); }

.foto-upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.foto-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
  pointer-events: none;
}

.foto-upload-icon { font-size: 1.75rem; }

.foto-upload-label span:nth-child(2) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.foto-upload-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.foto-preview {
  padding: 0.75rem;
}

.foto-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

/* Leeg scherm geen museum */
.dash-empty {
  max-width: 480px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 1.25rem;
}

.dash-empty-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.dash-empty h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.dash-empty p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Bewerken modal */
.edit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.edit-modal {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  max-height: 92dvh;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.edit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.edit-modal-titel {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.edit-modal-sluit {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.15s;
}

.edit-modal-sluit:hover { background: var(--border); }

.edit-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.edit-modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .edit-modal-backdrop {
    align-items: center;
    padding: 1.5rem;
  }
  .edit-modal {
    border-radius: 16px;
    max-height: 88vh;
  }
}

/* ========================
   ARTWORK.HTML — VERHAAL
   ======================== */

.artwork-verhaal-wrap {
  margin: 1.25rem 0 0.5rem;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.artwork-verhaal-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.artwork-verhaal {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-line;
}
