/* Guest-spot board — layered on styles.css and matched to its LIGHT palette
   (white cards, #1a2230 ink, #505050 body, #3a4b62 kicker). */

:root {
  --bd-ink: #1a2230;
  --bd-ink-2: #505050;
  --bd-ink-3: #78808c;
  --bd-line: rgba(26, 34, 48, 0.11);
  --bd-tint: #f2f4f7;
}

.board-intro {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--bd-ink-2);
  max-width: 640px;
  margin: -2px 0 16px;
  padding: 0 4px;
}

/* ---------- card ---------- */

/* styles.css lays .listing-card out as 220px | 1fr | auto for the old price
   column. The board has no third column, so reclaim it. */
.board-card {
  grid-template-columns: 220px 1fr;
  cursor: pointer;
  align-items: stretch;
}

.board-card .listing-thumb {
  position: relative;
  background-size: cover;
  background-position: center;
}

.board-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 5px;
  color: #12401d;
  background: rgba(198, 240, 208, 0.95);
}
.board-chip--open { color: #4a3708; background: rgba(250, 226, 160, 0.95); }

/* Completed: a stronger green than the default 'confirmed' chip, because it
   marks an ending rather than a state. Matches the COMPLETED badge the artist
   directory already uses, so one word means one thing across the site. */
.board-chip--done { color: #fff; background: rgba(22, 122, 55, 0.95); }

/* The whole card recedes once its spot has run — still readable, plainly past. */
.board-card--done { opacity: 0.72; }
.board-card--done:hover { opacity: 0.86; }
.board-card--done .board-note { color: #6d5320; font-weight: 600; }

.board-card .listing-meta { display: flex; flex-direction: column; }

.board-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 16px;
  margin: 12px 0 0;
  font-size: 0.83rem;
}
.board-facts dt { color: var(--bd-ink-3); font-weight: 400; }
.board-facts dd { margin: 0; text-align: right; color: var(--bd-ink); font-weight: 500; }

.board-note {
  font-size: 0.8rem !important;
  line-height: 1.5;
  color: var(--bd-ink-2) !important;
  background: var(--bd-tint);
  border-radius: 8px;
  padding: 9px 11px;
  margin: 12px 0 0 !important;
}

.board-locked {
  font-size: 0.75rem !important;
  color: var(--bd-ink-3) !important;
  margin: 8px 0 0 !important;
}

.board-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}
.board-apply { white-space: nowrap; }

.board-share {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--bd-ink);
  background: #fff;
  border: 1px solid rgba(26, 34, 48, 0.2);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.board-share:hover { border-color: var(--bd-ink); background: var(--bd-tint); }
.board-share.is-done { color: #1d6b32; border-color: #7cc394; background: #eaf7ee; }
.board-share--wide { padding: 12px 18px; font-size: 0.88rem; }

.board-empty {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bd-ink-2);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 26px 20px;
}

/* ---------- what the fee is and is not ---------- */

.board-fees {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  max-width: 560px;
}
.board-fees:empty { display: none; }
.board-fees h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--bd-ink); }
.board-fees p { font-size: 0.88rem; line-height: 1.6; color: var(--bd-ink-2); margin: 0 0 14px; }

/* ---------- modals ---------- */

.board-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 16px;
  overflow-y: auto;
  background: rgba(18, 24, 33, 0.55);
  backdrop-filter: blur(3px);
}

.board-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  padding: 26px 26px 28px;
  color: var(--bd-ink);
  background: #fff;
  box-shadow: 0 26px 70px rgba(12, 18, 26, 0.34);
}
.board-modal--wide { max-width: 620px; }
.board-modal h2 { font-size: 1.35rem; font-weight: 700; margin: 0 0 4px; }
.board-modal-sub { font-size: 0.88rem; color: var(--bd-ink-2); margin: 0 0 18px; }

.board-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  font-size: 22px;
  line-height: 1;
  color: var(--bd-ink-2);
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.board-close:hover { color: var(--bd-ink); background: var(--bd-tint); }

.board-notice {
  background: var(--bd-tint);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.board-notice p { font-size: 0.86rem; line-height: 1.6; margin: 0 0 8px; color: var(--bd-ink-2); }
.board-notice p:last-child { margin-bottom: 0; }
.board-notice strong { color: var(--bd-ink); font-weight: 700; }

/* The limits of what Sitinx does. Set apart so it cannot be skimmed past. */
.board-notice--warn {
  background: #fdf4ec;
  border-left: 3px solid #c98a3c;
  border-radius: 0 12px 12px 0;
}

.board-fees-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--bd-line);
}
.board-fees-note h3 { font-size: 0.95rem; margin-bottom: 8px; }
.board-fees-note p { font-size: 0.86rem; line-height: 1.6; color: var(--bd-ink-2); margin: 0 0 8px; }
.board-fees-note p:last-child { margin-bottom: 0; }
.board-fees-note strong { color: var(--bd-ink); font-weight: 700; }

.board-form { gap: 12px; }
.board-styles-label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; }
.board-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.board-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--bd-ink-2);
  cursor: pointer;
}

.board-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--bd-ink-2);
  cursor: pointer;
}
.board-consent input { margin-top: 3px; flex: none; }

.board-error { font-size: 0.86rem; color: #a32b16; margin: 0; }

/* ---------- the spot detail, which shared links land on ---------- */

.board-spot-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: -26px -26px 18px;
  padding: 0 26px;
  scrollbar-width: none;
}
.board-spot-gallery::-webkit-scrollbar { display: none; }
.board-spot-shot {
  aspect-ratio: 16 / 9;
  border-radius: 0 0 12px 12px;
  background: var(--bd-tint) center / cover no-repeat;
  scroll-snap-align: center;
}
.board-spot-gallery > .board-spot-shot:first-child { border-radius: 12px; }

.board-chip--static {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
}

.board-spot-table { width: 100%; border-collapse: collapse; margin: 4px 0 20px; }
.board-spot-table th {
  text-align: left;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--bd-ink-3);
  padding: 9px 0;
  border-bottom: 1px solid var(--bd-line);
}
.board-spot-table td {
  text-align: right;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--bd-ink);
  padding: 9px 0;
  border-bottom: 1px solid var(--bd-line);
}
.board-spot-table tr:last-child th,
.board-spot-table tr:last-child td { border-bottom: 0; }

.board-spot-actions { display: flex; align-items: center; gap: 10px; }
.board-spot-actions .chrome-btn { flex: 1; }

.board-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.board-gate-actions .chrome-btn { flex: 1; min-width: 170px; }

/* ---------- request strip ---------- */

/* Dark against a light page, directly under the header, on every view except
   the home page — showView() hides it there so the landing screen is the search
   and nothing else. The board sells what we have; this one line is for everyone
   it cannot serve, and they are further in. */
.request-strip {
  background: var(--bd-ink);
  color: #fff;
}

.request-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
}

.request-strip__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.request-strip__text strong { color: #fff; font-weight: 700; }

.request-strip__btn {
  flex: none;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bd-ink);
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.request-strip__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/* Grouping headers inside the request form — where/when, then who you are. */
.board-form-section {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bd-ink-3);
  margin: 6px 0 -4px;
}
.board-form-section:first-child { margin-top: 0; }

.board-form-row { display: flex; gap: 12px; }
.board-form-row > * { flex: 1; min-width: 0; }
.board-form-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--bd-ink-3);
}
.board-form textarea.chrome-input { resize: vertical; min-height: 76px; font: inherit; }

.board-empty p { margin: 0 0 10px; }
.board-empty p:last-of-type { margin-bottom: 16px; }
.board-empty-request { display: inline-block; }

@media (max-width: 780px) {
  .board-card { grid-template-columns: 1fr; }
  .board-card .listing-thumb { min-height: 180px; }
}

@media (max-width: 640px) {
  .board-modal { padding: 22px 18px 24px; }
  .board-spot-gallery { margin: -22px -18px 16px; padding: 0 18px; }
  .board-card-foot { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .board-apply, .board-share { width: 100%; }
  .board-form-row { flex-direction: column; }

  /* Narrow enough that the sentence and the button stack rather than squeeze. */
  .request-strip__inner { padding: 12px 18px; }
  .request-strip__btn { width: 100%; }
}

/* ---------- paid invites (studio -> artist) ----------
   Studios pay €39 to reach an artist. These are the three states that produces:
   the price stated up front, the wait after they commit, and the contacts once
   the money lands. Palette stays the LIGHT board palette above — this file was
   written for a dark theme once and everything went white-on-white. */

.invite-fee-notice {
  font-size: 13px;
  line-height: 1.55;
  color: #6d5320;
  background: #f3ecdd;
  border-radius: 8px;
  padding: 11px 13px;
  margin: 0 0 16px;
}

/* Invite raised, money not in yet. */
.artist-invite-pending {
  font-size: 13px;
  line-height: 1.55;
  color: #6d5320;
  background: #f3ecdd;
  border-radius: 8px;
  padding: 11px 13px;
  margin: 12px 0;
}
.artist-invite-pending a { color: inherit; font-weight: 600; }
.artist-invite-pending strong { font-weight: 700; }

/* What the €39 bought. Replaces the "contacts after booking" note. */
.artist-contact-card {
  background: #e6f0e6;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
}
.artist-contact-card h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2e5a33;
}
.artist-contact-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
}
.artist-contact-card dt { font-size: 12px; color: var(--bd-ink-2); }
.artist-contact-card dd { margin: 0; font-size: 14px; color: var(--bd-ink); word-break: break-word; }
.artist-contact-card a { color: #2e5a33; }

/* ---------- studio dashboard (invites only) ---------- */

.studio-invites-list { margin-top: 18px; display: grid; gap: 12px; }

.studio-invite-row {
  border: 1px solid var(--bd-line);
  border-radius: 10px;
  padding: 13px 15px;
  background: #fff;
}
.studio-invite-row__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.studio-invite-row__who { font-size: 15px; font-weight: 600; margin: 0; color: var(--bd-ink); }
.studio-invite-row__meta { font-size: 13px; color: var(--bd-ink-2); margin: 3px 0 0; }
.studio-invite-row__empty { font-size: 14px; color: var(--bd-ink-2); margin: 18px 0 0; }
.studio-invite-row .artist-contact-card { margin: 12px 0 0; }
.studio-invite-row .artist-invite-pending { margin: 10px 0 0; }

.studio-invite-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  background: #f3ecdd;
  color: #6d5320;
}
.studio-invite-badge--paid { background: #e6f0e6; color: #2e5a33; }
.studio-invite-badge--declined { background: #f7e6e2; color: #8a3620; }

/* ---------- my account ----------
   The one signed-in page: applications for artists, invites for studios, and a
   password field for both. Deliberately plain — it is a status list, not a
   marketing surface. */
.account-wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
.account-head { margin-bottom: 28px; }
.account-head h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.01em; }
.account-sub { margin: 0; color: #8a8880; font-size: 14px; }
.account-section { margin: 0 0 36px; }
.account-section h3 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8a8880; margin: 0 0 14px; font-weight: 600; }
.account-loading, .account-empty { color: #8a8880; font-size: 14px; line-height: 1.6; margin: 0; }

.account-card { border: 1px solid rgba(27,26,24,0.12); border-radius: 12px;
  padding: 18px 20px; margin: 0 0 12px; background: rgba(255,255,255,0.55); }
.account-card__head { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.account-card__head h3 { margin: 0; font-size: 17px; text-transform: none;
  letter-spacing: 0; color: inherit; font-weight: 600; }
.account-card__meta { margin: 0 0 8px; font-size: 14px; color: #6b6963; }
.account-card__fee { margin: 0 0 10px; font-size: 14px; }
.account-card__note { margin: 8px 0 0; font-size: 13px; color: #8a8880; line-height: 1.6; }
.account-card__action { margin: 12px 0 0; }

.account-badge { font-size: 12px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.account-badge--open { background: rgba(27,26,24,0.07); color: #4a4844; }
.account-badge--accepted { background: #1b1a18; color: #fff; }
.account-badge--done { background: #d8efdc; color: #1d5b2c; }
.account-badge--muted { background: rgba(27,26,24,0.05); color: #8a8880; }

/* Only ever rendered when the fee has been paid. */
.account-released { margin: 14px 0 0; padding: 14px 16px; border-radius: 10px;
  background: #f4f2ec; }
.account-released h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #8a8880; }
.account-released dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.account-released dt { color: #8a8880; font-size: 13px; }
.account-released dd { margin: 0; font-size: 14px; text-align: right; }
.account-arrival { margin: 12px 0 0; padding-top: 12px; font-size: 13px; line-height: 1.65;
  color: #6b6963; white-space: pre-wrap; border-top: 1px solid rgba(27,26,24,0.12); }

.account-form { display: grid; gap: 12px; max-width: 360px; }
.account-field { display: grid; gap: 5px; }
.account-field span { font-size: 13px; color: #6b6963; }
.account-error { margin: 0; color: #b3261e; font-size: 13px; }
.account-ok { margin: 0; color: #1d5b2c; font-size: 13px; }

@media (max-width: 560px) {
  .account-released dl { grid-template-columns: 1fr; gap: 2px; }
  .account-released dd { text-align: left; margin-bottom: 8px; }
}
