/* Licht thema (crème, zoals Lisa's scherm) */
:root {
  --accent: #f43f5e;
  --bg: #fbf9f7;
  --bg-alt: #f6f1f3;
  --text: #1c0a12;
  --text-muted: #6b665c;
  --border: #e8e2da;
  --card-bg: #ffffff;
}

/* Donker thema (maroon, zoals het bezoekersscherm in het design) */
body.theme-dark,
:root[data-theme='dark'] {
  --bg: #16070e;
  --bg-alt: #2d1620;
  --text: #f4e9ed;
  --text-muted: #c3aeb6;
  --border: #2d1620;
  --card-bg: #1c0a12;
}

/* Expliciete licht-keuze wint van een donker-standaard domein (data-theme na body-regel) */
:root[data-theme='light'] {
  --bg: #fbf9f7;
  --bg-alt: #f6f1f3;
  --text: #1c0a12;
  --text-muted: #6b665c;
  --border: #e8e2da;
  --card-bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

h1, h2, h3, h4, .brand, .logo-word {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a { color: var(--accent); }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}

/* Logo (beeldmerk + woordmerk met rose pill = logo C) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  display: block;
}

.logo-word {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

.logo-pill {
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 1px 10px;
  margin-left: 5px;
}

nav.main-nav {
  display: flex;
  align-items: center;
}

nav.main-nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

/* Licht/donker-toggle */
.theme-toggle {
  margin-left: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-toggle-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset -4px -4px 0 0 var(--bg-alt);
}

/* In donkere modus toont het icoon een "zon" (gevulde cirkel) */
.theme-toggle[data-theme='dark'] .theme-toggle-icon {
  box-shadow: none;
  background: #fbbf24;
}

nav.main-nav a.cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}

.hero {
  padding: 56px 20px;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  text-align: left;
}

.hero h1 {
  font-size: 2.2rem;
  max-width: 720px;
  margin: 0 0 16px;
}

.hero p {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

section {
  padding: 40px 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card, .card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.dame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.dame-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.dame-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Terugval als er geen goedgekeurde foto is: een initiaal in het accentvlak.
   Beter dan een leeg kader, en beter dan een gebroken afbeelding. */
.dame-avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 18%, var(--bg-alt));
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dame-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 6px;
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  text-align: center;
}

form.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

form.stack label {
  font-size: 0.9rem;
  font-weight: 600;
}

form.stack input[type="text"],
form.stack input[type="email"],
form.stack input[type="password"],
form.stack textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}

.errors {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f3c1bd;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 4px;
}

.notice {
  background: #e8f8ee;
  color: #1a7f4a;
  border: 1px solid #b6e6c8;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 4px;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

footer.site-footer a { color: var(--text-muted); margin: 0 8px; }

.chat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  min-height: 60vh;
}

.chat-list {
  border-right: 1px solid var(--border);
  padding-right: 16px;
}

.chat-list-item {
  display: block;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}

.chat-list-item:hover, .chat-list-item.active {
  background: var(--bg-alt);
}

.chat-window {
  display: flex;
  flex-direction: column;
  height: 60vh;
}

/* Man-chat: cam groot links (vult kolomhoogte), gesprek rechts */
.chat-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  gap: 18px;
  height: 72vh;
}

.chat-stage-layout .cam-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chat-stage-layout .cam-col h3 {
  margin: 0 0 10px;
}

.chat-stage-layout .cam-col .cam-stage {
  margin-bottom: 0;
  flex: 1;
  aspect-ratio: auto; /* overschrijf 16/9 zodat hij de hoogte vult */
  min-height: 0;
}

.chat-stage-layout .chat-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.chat-stage-layout .chat-col .chat-messages {
  flex: 1;
  min-height: 0;
}

.cam-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cam-offline-label {
  position: absolute;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.8rem;
}

.chat-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-actions .btn {
  padding: 6px 14px;
}

/* Meldingen-banner */
.notif-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  font-size: 0.9rem;
}

.notif-bar .btn {
  padding: 5px 12px;
}

@media (max-width: 860px) {
  .chat-stage-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .chat-stage-layout .cam-col .cam-stage {
    aspect-ratio: 16 / 9;
    flex: none;
  }
  .chat-stage-layout .chat-col {
    height: 60vh;
  }
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  max-width: 70%;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-alt);
}

.msg.mine {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
}

.chat-input-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chat-input-row input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

table.admin-table th, table.admin-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.stat-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.stat-tile .value {
  font-size: 1.6rem;
  font-weight: 700;
}

.age-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.age-gate .card {
  max-width: 420px;
}

.age-gate__merk {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 8px;
}

.age-gate h1 {
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.age-gate__pitch {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.age-gate__punten {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
  font-size: 0.92rem;
}

.age-gate__punten li {
  padding: 5px 0 5px 22px;
  position: relative;
}

.age-gate__punten li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.age-gate__check {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.age-gate__exit {
  margin: 14px 0 0;
  font-size: 0.85rem;
}

.age-gate__exit a {
  color: var(--text-muted);
}

.available-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  margin: 16px 0 28px;
  max-width: 640px;
}

.photo-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.photo-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.photo-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 6px 0 8px;
}

.photo-status.approved { color: #1a7f4a; }
.photo-status.rejected { color: #b3261e; }

.photo-tile form { margin: 0; }

.photo-thumb-sm {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

/* Fooien */
.msg.tip {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 600;
  align-self: center;
  max-width: 90%;
  border-radius: 999px;
  padding: 6px 14px;
}

/* Cam-plek (lobby, video volgt in latere fase) */
.cam-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: linear-gradient(160deg, #be3455, #3b1030 70%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 12px;
  overflow: hidden;
}

.cam-stage.live {
  border-color: var(--accent);
}

.cam-stage iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/* Live-badge in de gesprekkenlijst (man ziet welke dame live is) */
.chat-list-item.is-live::after {
  content: 'LIVE';
  float: right;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  padding: 1px 5px;
}

/* Dame: cam-preview + go-live knop */
.cam-panel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.cam-preview-wrap {
  width: 240px;
  aspect-ratio: 16 / 9;
  background: #0e0b12;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.cam-preview-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cam-controls {
  flex: 1;
  min-width: 200px;
}

/* Klant-intel-paneel voor de dame */
.man-intel {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: var(--card-bg);
}

.intel-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.intel-chip {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-alt);
  font-size: 0.8rem;
}

.intel-chip em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.intel-chip strong {
  color: var(--text);
}

.intel-chip.online {
  background: rgba(80, 200, 120, 0.15);
}

.intel-chip.online strong {
  color: #37c871;
}

.intel-chip.offline strong {
  color: var(--text-muted);
}

.intel-summary {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Home: online-teller + geblurde teaser voor niet-leden */
.online-count {
  color: #37c871;
}

.dame-grid.teaser .dame-avatar.blurred {
  filter: blur(14px);
}

.dame-grid.teaser .dame-card {
  overflow: hidden;
}

/* Info-blok onderaan de home */
.info-block {
  background: var(--bg-alt);
}

.info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-cols h3 {
  margin: 0 0 6px;
}

.info-cols h3 + p {
  margin-top: 0;
}

.info-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.info-feature h4 {
  margin: 0 0 4px;
  color: var(--accent);
}

.info-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .info-cols,
  .info-features {
    grid-template-columns: 1fr;
  }
}

/* Creditpakketten */
.credit-packs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.credit-pack {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  background: var(--card-bg);
  overflow: hidden;
}

.credit-pack.gold {
  border-color: #d9a300;
}

.pack-tag {
  position: absolute;
  top: 10px;
  right: -30px;
  transform: rotate(45deg);
  background: #37c871;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 34px;
}

.pack-tag.gold {
  background: #d9a300;
}

.pack-credits {
  font-size: 2.1rem;
  font-weight: 800;
  color: #37c871;
  line-height: 1;
}

.pack-credits-label {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pack-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pack-price {
  display: inline-block;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 4px 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pack-btn {
  display: block;
  width: 100%;
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 820px) {
  .credit-packs {
    grid-template-columns: 1fr 1fr;
  }
}

/* Profiel: leeftijd/geslacht/locatie naast elkaar */
.field-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.field-row select,
.field-row input,
.stack select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.btn.danger {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

.faq h3 {
  margin-top: 24px;
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Dev-menu: vaste balk onderaan, alleen buiten productie */
.dev-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 12px;
  background: #1a1420;
  border-top: 2px solid #e0457b;
  font-size: 0.8rem;
  color: #cbb8c6;
}

.dev-bar-tag {
  background: #e0457b;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1px 7px;
  border-radius: 4px;
}

.dev-bar form {
  display: inline;
  margin: 0;
}

.dev-bar a,
.dev-bar button {
  color: #fff;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.dev-bar a:hover,
.dev-bar button:hover {
  background: rgba(224, 69, 123, 0.35);
}

.dev-bar-current {
  margin-left: auto;
}

/* --- 4a: Profiel opgemaakt --- */
.profile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.profile-head h1 {
  margin: 0 0 4px;
}
.saldo-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}
.saldo-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
}
.saldo-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.profile-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.danger-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid #7f1d1d;
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 32px;
}
.danger-box strong {
  display: block;
  color: #e5484d;
  margin-bottom: 3px;
}
.danger-box span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- 3a: In-chat opwaardeer-flow --- */
.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.lowcredit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.lowcredit-bar strong {
  display: block;
  color: var(--text);
}
.lowcredit-bar span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}
.modal-overlay[hidden] {
  display: none;
}
.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.modal-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-step[hidden] {
  display: none;
}
.modal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.modal-head strong {
  font-size: 1.05rem;
}
.modal-x,
.modal-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
}
.modal-sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.modal-fineprint {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.pack-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pack-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
}
.pack-row.featured {
  border: 2px solid var(--accent);
}
.pack-row:hover {
  border-color: var(--accent);
}
.pack-row-main {
  display: flex;
  flex-direction: column;
}
.pack-row-main strong {
  font-size: 0.95rem;
}
.pack-row-main em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pack-row-price {
  font-weight: 700;
  white-space: nowrap;
}
.pack-badge {
  position: absolute;
  top: -9px;
  left: 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 8px;
}
.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-method {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}
.pay-method.selected {
  border: 2px solid var(--accent);
}
.pay-method input {
  accent-color: var(--accent);
}
.pay-method b {
  color: var(--text);
}
.pay-method span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.btn.full {
  width: 100%;
}
.done-step {
  align-items: center;
  text-align: center;
}
.done-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #14532d;
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
}

/* Fooi-modal */
.tip-quick {
  display: flex;
  gap: 8px;
}
.tip-amount {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 0;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.tip-amount:hover {
  border-color: var(--accent);
  color: var(--accent);
}
#tip-input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
}

/* Toast-melding (bv. fooi ontvangen) */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -16px);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Bonus-credits label in pakket-rij */
.pack-bonus {
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ============ Man-chatvenster (viewer) ============ */
.viewer {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}
.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.view-toggle {
  display: inline-flex;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 3px;
}
.view-toggle button {
  border: none;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.view-toggle button.active {
  background: var(--card-bg);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.viewer-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.viewer-saldo {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.viewer-bar-right .btn {
  padding: 7px 16px;
}

.viewer-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 600px;
}

/* Nu-online lijst */
.online-list {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 8px;
}
.online-head {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  padding: 8px 8px 6px;
}
.online-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
}
.online-item:hover {
  background: var(--bg-alt);
}
.online-item.active {
  background: var(--bg-alt);
}
.online-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.online-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.online-status {
  flex-shrink: 0;
}
.online-status .dot {
  display: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
}
.online-status .offline-label {
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.online-item.is-online .dot {
  display: inline-block;
}
.online-item.is-online .offline-label {
  display: none;
}

/* Stage: media + chatpaneel */
.stage {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-width: 0;
  min-height: 0; /* anders groeit de kolom mee met de berichten i.p.v. te scrollen */
}
.stage-media {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.stage-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}
.stage-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stage-head-left strong {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.live-badge {
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 3px 8px;
}
.live-badge.is-live {
  background: #ef4444;
}
.stage-actions {
  display: flex;
  gap: 8px;
}
.stage-actions .btn {
  padding: 6px 12px;
  font-size: 0.82rem;
}
.stage .cam-stage {
  flex: 1;
  border-radius: 0;
  margin: 0;
  height: 100%;
}

/* Chatpaneel */
.chat-panel {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  min-width: 0;
  min-height: 0;
}
.chat-panel .chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}
.chat-panel .chat-input-row {
  padding: 10px 14px;
  gap: 8px;
}
.send-btn {
  width: 42px;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 50%;
  flex-shrink: 0;
}
.chat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.chat-foot-actions {
  display: flex;
  gap: 12px;
}

/* --- Weergave: chat over beeld --- */
.viewer[data-view='over'] .stage {
  grid-template-columns: 1fr;
  position: relative;
}
.viewer[data-view='over'] .chat-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-left: none;
  background: linear-gradient(to top, rgba(20, 6, 12, 0.92) 55%, rgba(20, 6, 12, 0));
  max-height: 62%;
}
.viewer[data-view='over'] .chat-panel .chat-messages {
  background: transparent;
}
.viewer[data-view='over'] .stage-head {
  justify-content: flex-end;
}
.viewer[data-view='over'] .stage-head-left {
  margin-right: auto;
}

/* Responsive: stapelen op smal scherm */
@media (max-width: 900px) {
  .viewer-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .online-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .online-head {
    display: none;
  }
  .online-item {
    flex-direction: column;
    width: 72px;
    text-align: center;
    gap: 4px;
  }
  .online-name {
    font-size: 0.75rem;
  }
  .stage {
    grid-template-columns: 1fr;
  }
  .stage-media {
    height: 320px;
  }
  .chat-panel {
    border-left: none;
    border-top: 1px solid var(--border);
    height: 380px;
  }
  /* Op mobiel altijd gestapeld, ook in "chat over beeld": geen krappe overlay */
  .viewer[data-view='over'] .stage {
    grid-template-columns: 1fr;
  }
  .viewer[data-view='over'] .chat-panel {
    position: static;
    max-height: none;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
  }
  .viewer[data-view='over'] .stage-head {
    position: static;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .viewer[data-view='over'] .stage-head-left strong {
    color: var(--text);
    text-shadow: none;
  }
  .stage-head {
    flex-wrap: wrap;
  }
}

/* ============ Mobiel (algemeen) ============ */
html, body {
  overflow-x: hidden;
}
@media (max-width: 720px) {
  /* Header laten wrappen en verkleinen */
  .header-inner {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 12px 16px;
  }
  nav.main-nav {
    flex-wrap: wrap;
    gap: 4px 0;
  }
  nav.main-nav a {
    margin-left: 12px;
    font-size: 0.9rem;
  }
  nav.main-nav a.cta {
    padding: 6px 12px;
  }
  .logo-word,
  .brand {
    font-size: 1.05rem;
  }
  .theme-toggle {
    margin-left: 12px;
    width: 30px;
    height: 30px;
  }

  /* Dame-chat: lijst boven, gesprek eronder */
  .chat-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .chat-list {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 10px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }
  .chat-list .chat-list-item {
    flex: 0 0 auto;
  }
  .chat-window {
    height: auto;
    min-height: 58vh;
  }

  /* Minder lucht + kleinere koppen */
  section {
    padding: 28px 16px;
  }
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 36px 16px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero p {
    font-size: 1rem;
  }
  h1 {
    font-size: 1.6rem;
  }

  /* Viewer-balk netjes stapelen */
  .viewer-bar {
    gap: 8px;
  }
  .viewer-bar-right {
    width: 100%;
    justify-content: space-between;
  }

  /* Knoprijen niet laten overlopen */
  .chat-actions,
  .field-row {
    flex-wrap: wrap;
  }
}

/* ============ User-menu (avatar dropdown) ============ */
.user-menu {
  position: relative;
  margin-left: 16px;
}
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
}
.user-av {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #94a3b8, #334155);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
}
.user-av.lg {
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
}
.user-av-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid var(--bg-alt);
}
.user-pill-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.user-pill-info strong {
  font-size: 0.82rem;
}
.user-pill-info em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--accent);
}
.user-pill-caret {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.user-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 270px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  padding: 8px;
  z-index: 50;
}
.user-panel[hidden] {
  display: none;
}
.user-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
}
.user-panel-id {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.user-panel-id strong {
  font-size: 0.95rem;
}
.user-panel-id em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-saldo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
}
.user-saldo-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.user-saldo-value {
  display: block;
  font-weight: 800;
}
.user-saldo-cta {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
}
.user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-size: 0.88rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.user-item:hover {
  background: var(--bg-alt);
}
.ui-ic {
  width: 16px;
  text-align: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.user-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}
.user-toggle-row {
  justify-content: flex-start;
}
.ui-switch {
  margin-left: auto;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--border);
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
}
.ui-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
}
.ui-switch.on {
  background: var(--accent);
}
.ui-switch.on::after {
  left: 16px;
}
.user-logout {
  color: #e5484d;
  font-weight: 600;
}
.user-logout .ui-ic {
  color: #e5484d;
}
.user-logout form {
  margin: 0;
}

/* Discrete modus: foto's blurren tot hover */
body.discreet .online-av,
body.discreet .dame-avatar,
body.discreet .cam-poster,
body.discreet .stage-media .cam-poster {
  filter: blur(10px);
  transition: filter 0.15s;
}
body.discreet .online-av:hover,
body.discreet .dame-avatar:hover,
body.discreet .cam-poster:hover {
  filter: none;
}

/* User-menu op mobiel: paneel als vaste onderblad-achtige kaart */
@media (max-width: 720px) {
  .user-menu {
    margin-left: auto;
  }
  .user-pill-info {
    display: none;
  }
  .user-panel {
    position: fixed;
    top: auto;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
  }
}

/* Aankoopgeschiedenis-tabel */
.history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.history-table th,
.history-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.history-table th {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pay-status {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.pay-status.paid {
  color: #15803d;
  background: #f0fdf4;
}
.pay-status.pending {
  color: #b45309;
  background: #fffbeb;
}
.pay-status.failed {
  color: #b91c1c;
  background: #fef2f2;
}

/* Profielkaart: alle velden vullen hun breedte (fix o.a. Over jou-textarea) */
.profile-card input,
.profile-card select,
.profile-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.profile-card textarea {
  min-height: 96px;
  resize: vertical;
}
.profile-card label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

@media (max-width: 520px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .credit-packs {
    grid-template-columns: 1fr;
  }
  .history-table th:nth-child(4),
  .history-table td:nth-child(4) {
    display: none;
  }
}

/* ============ Dev-bolletje (klap-open) ============ */
.dev-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
}
.dev-fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #0f172a;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.dev-fab-btn:hover {
  background: #1e293b;
}
.dev-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 240px;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #1e293b;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 12px;
}
.dev-panel[hidden] {
  display: none;
}
.dev-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dev-panel-head strong {
  font-size: 1rem;
}
.dev-panel-close {
  background: none;
  border: none;
  color: #94a3b8;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.dev-current {
  font-size: 0.78rem;
  color: #94a3b8;
  background: #1e293b;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
}
.dev-current strong {
  color: #e2e8f0;
}
.dev-section-label {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
  margin: 4px 2px 6px;
}
.dev-fab form {
  margin: 0 0 6px;
}
.dev-user {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 9px;
  color: #e2e8f0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 12px;
  cursor: pointer;
  text-align: left;
}
.dev-user:hover {
  background: #334155;
}
.dev-user em {
  font-style: normal;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 400;
}
.dev-sep {
  height: 1px;
  background: #1e293b;
  margin: 8px 2px;
}
.dev-action {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid #475569;
  border-radius: 9px;
  color: #fca5a5;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 12px;
  cursor: pointer;
}
.dev-action:hover {
  background: rgba(248, 113, 113, 0.12);
}

/* ============ Dame-werkscherm (2a) ============ */
.werkscherm-wrap {
  padding: 24px 20px;
}
.werkscherm {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.ws-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.ws-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ws-title {
  font-size: 1rem;
}
.ws-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d;
  background: rgba(74, 222, 128, 0.14);
  border-radius: 999px;
  padding: 4px 12px;
}
.ws-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.ws-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ws-earned {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.ws-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}
.ws-cam-preview {
  width: 180px;
  border-radius: 10px;
  margin: 10px 18px 0;
  background: #000;
}
.ws-cam-status {
  display: block;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.8rem;
}



.cam-ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 18px 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--bg-alt);
}
.cam-ask[hidden] {
  display: none;
}
.cam-ask-text {
  font-size: 0.9rem;
}
.cam-ask-actions {
  display: flex;
  gap: 8px;
}

.ws-body {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  height: 600px;
}
.ws-col-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 14px 8px;
}
.ws-col-label.sm {
  padding: 4px 0 6px;
}
.ws-urgent {
  color: var(--accent);
  font-size: 0.7rem;
}
.ws-visit {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* Wachtrij */
.ws-queue {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ws-queue-list {
  overflow-y: auto;
  padding: 0 8px;
  flex: 1;
}
.queue-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  margin-bottom: 2px;
}
.queue-item:hover {
  background: var(--bg-alt);
}
.queue-item.active {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.queue-item.urgent-hi {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.4);
}
.queue-item.urgent-mid {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
}
.queue-item.waiting-him {
  opacity: 0.65;
}
.q-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #94a3b8, #334155);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.q-main {
  flex: 1;
  min-width: 0;
}
.q-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.q-timer {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.urgent-hi .q-timer {
  color: #be123c;
}
.urgent-mid .q-timer {
  color: #b45309;
}
.urgent-lo .q-timer {
  color: #15803d;
}
.q-preview {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ws-shortcuts {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.ws-shortcuts b {
  font-family: monospace;
  background: var(--bg-alt);
  border-radius: 4px;
  padding: 1px 5px;
}

/* Actief gesprek */
.ws-active {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg);
}
.ws-active-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}
.ws-active-head strong {
  font-size: 0.95rem;
}
.ws-thisconv {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 5px 10px;
}
.ws-active .chat-messages {
  flex: 1;
  border: none;
  border-radius: 0;
}
.quick-replies {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 16px;
}
.quick-reply {
  font-size: 0.78rem;
  color: #9f1239;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.quick-reply:hover {
  background: rgba(244, 63, 94, 0.16);
}
.ws-active .chat-input-row {
  padding: 10px 16px 14px;
}

/* Klantkaart */
.ws-card {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px 14px;
  overflow-y: auto;
}
.ws-notes-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ws-note {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.82rem;
}
.ws-note span {
  flex: 1;
}
.ws-note-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.ws-note-form input {
  width: 100%;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
}
.ws-help {
  background: rgba(244, 63, 94, 0.06);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
}
.ws-help-label {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.ws-help-body {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}
.ws-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.ws-card-actions .btn {
  flex: 1;
  padding: 8px 0;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .ws-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ws-queue {
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: 240px;
  }
  .ws-active {
    height: 60vh;
  }
  .ws-card {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }
}

/* Werkscherm: kolommen intern laten scrollen (min-height:0 zodat overflow pakt) */
.ws-queue,
.ws-active,
.ws-card {
  min-height: 0;
}
.ws-active .chat-messages {
  min-height: 0;
  overflow-y: auto;
}

/* Gesprekshulp: energie-slider + klikbare tip + ververs */
.ws-help-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ws-help-refresh {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}
.ws-help-refresh:hover {
  transform: rotate(90deg);
  transition: transform 0.15s;
}
.energie-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
}
.energie-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
#energie-slider {
  width: 100%;
  accent-color: var(--accent);
}
button.ws-help-body {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  color: var(--text);
  cursor: default;
  padding: 0;
}
button.ws-help-body.has-tip {
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 8px;
  margin: 0 -8px;
}
button.ws-help-body.has-tip:hover {
  background: rgba(244, 63, 94, 0.12);
}
.ws-help-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Camera-preview groter en zichtbaar wanneer live */
.ws-cam-preview {
  width: 260px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 18px 4px;
  background: #000;
  border: 1px solid var(--border);
}

/* Gesprekshulp als klikbare optielijst (meerdere suggesties) */
.ws-help-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.help-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.35;
  cursor: pointer;
}
.help-option:hover {
  background: rgba(244, 63, 94, 0.12);
  border-color: var(--accent);
}
