/* Seat request card (registration.js), shared by street.html and mobile.html.
   Its animated background is a WebGL shader (see registration.js); the gradient below, in the same
   colours, shows until it starts or without WebGL. */
.bp-reg-host { width: 100%; }
.bp-reg-card {
  position: relative; isolation: isolate; overflow: hidden;
  box-sizing: border-box; width: 100%; max-width: 460px; margin: 0 auto; padding: 22px 22px 16px;
  display: flex; flex-direction: column; gap: 16px;
  border-radius: 16px; border: 1px solid rgba(231, 184, 96, 0.38);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 226, 170, 0.08);
  background:
    radial-gradient(120% 80% at 100% 100%, rgba(139, 84, 36, 0.6) 0%, rgba(139, 84, 36, 0) 60%),
    radial-gradient(90% 70% at 0% 0%, #29081a 0%, rgba(41, 8, 26, 0) 70%),
    linear-gradient(155deg, #29081a 0%, #4e1335 40%, #7b242d 100%);
  color: #f6eedd; font: 400 15px/1.45 "DM Sans", system-ui, -apple-system, sans-serif; text-align: left;
}
/* The shader's canvas sits in its own clipped layer behind the content. */
.bp-reg-fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.6s ease; }
.bp-reg-fx.is-live { opacity: 1; }
.bp-reg-fx canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }

.bp-reg-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bp-reg-thumb { flex: none; width: 132px; height: 132px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45); border: 1px solid rgba(231, 184, 96, 0.3); }
.bp-reg-title { margin: 0; font: 600 22px/1.2 "Cinzel", Georgia, serif; letter-spacing: 0.01em; color: #fff4dc; text-wrap: balance; }
.bp-reg-presenter { margin: 4px 0 0; font-size: 13px; color: rgba(246, 238, 221, 0.72); }

.bp-reg-details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bp-reg-details li, .bp-reg-approval { display: flex; align-items: flex-start; gap: 12px; }
.bp-reg-details svg, .bp-reg-approval svg {
  flex: none; width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border-radius: 8px;
  color: #e7b860; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(231, 184, 96, 0.22);
}
.bp-reg-details b, .bp-reg-approval b { display: block; font-weight: 600; color: #f6eedd; }
.bp-reg-details span, .bp-reg-approval span { display: block; font-size: 13px; color: rgba(246, 238, 221, 0.7); }
.bp-reg-details a { color: inherit; text-decoration: none; }
.bp-reg-details a:hover b, .bp-reg-details a:focus-visible b { color: #ffd98a; }

.bp-reg-section {
  display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 16px; border-radius: 12px;
  background: rgba(10, 2, 6, 0.42); border: 1px solid rgba(231, 184, 96, 0.2);
}
.bp-reg-label { margin: 0; font: 600 11px/1.2 "Cinzel", Georgia, serif; letter-spacing: 0.18em; text-transform: uppercase; color: #e7b860; }
.bp-reg-approval[hidden] { display: none; }

.bp-reg { display: flex; flex-direction: column; gap: 10px; }
.bp-reg[hidden], .bp-reg-done[hidden] { display: none; }
.bp-reg-field { display: flex; flex-direction: column; gap: 6px; }
.bp-reg-field span { font: 600 10.5px/1 "Cinzel", Georgia, serif; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(231, 184, 96, 0.92); }
.bp-reg-field input {
  box-sizing: border-box; width: 100%; height: 46px; padding: 0 14px; border-radius: 8px;
  border: 1px solid rgba(246, 238, 221, 0.26); background: rgba(255, 255, 255, 0.07); color: #f6eedd;
  font: 400 16px "DM Sans", system-ui, -apple-system, sans-serif;   /* 16px keeps iOS from zooming on focus */
  transition: border-color 0.2s, background 0.2s;
}
.bp-reg-field input:focus { outline: none; border-color: #ffd98a; background: rgba(255, 255, 255, 0.11); }
.bp-reg-field input[aria-invalid="true"] { border-color: #ff8a7a; }
.bp-reg-check { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 14px; color: rgba(246, 238, 221, 0.7); cursor: pointer; }
/* drawn to match the text fields: same fill, border and focus, gold with a tick when checked */
.bp-reg-check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 5px; cursor: pointer;
  border: 1px solid rgba(246, 238, 221, 0.26); background: rgba(255, 255, 255, 0.07) center / 14px 14px no-repeat;
  transition: border-color 0.2s, background-color 0.2s;
}
.bp-reg-check input:focus { outline: none; border-color: #ffd98a; background-color: rgba(255, 255, 255, 0.11); }
.bp-reg-check input:checked {
  border-color: #e7b860; background-color: #e7b860;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.4' fill='none' stroke='%232a1005' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.bp-reg-check input:checked:focus { border-color: #ffd98a; background-color: #f0c674; }
.bp-reg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bp-reg-msg { margin: 0; font-size: 13px; color: #ffb3a6; }
.bp-reg-msg:empty { display: none; }
.bp-reg-go {
  height: 48px; margin-top: 2px; border: 0; border-radius: 6px; cursor: pointer;
  background-image: linear-gradient(97.7deg, #f4d290 0%, #efc77d 20%, #e5b85e 46%, #eec88a 56%, #f9e0af 61%, #fcd38a 66%, #fbc351 73%, #fcc452 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font: 700 16px/20px "Cinzel", Georgia, serif; letter-spacing: 0.04em; color: #6e4400;
  transition: filter 0.2s, transform 0.2s;
}
.bp-reg-go:hover { filter: brightness(1.04); }
.bp-reg-go:active { transform: translateY(1px); }
.bp-reg-go:disabled { opacity: 0.65; cursor: progress; }
.bp-reg-go:focus-visible { outline: 2px solid #ffd98a; outline-offset: 3px; }

.bp-reg-done { text-align: center; padding: 6px 4px 2px; }
.bp-reg-done-title { margin: 0 0 6px; font: 600 22px/1.2 "Cinzel", Georgia, serif; color: #fff4dc; outline: none; }
.bp-reg-done p { margin: 0; font-size: 14px; color: rgba(246, 238, 221, 0.8); }
.bp-reg-done b { color: #f6eedd; font-weight: 500; word-break: break-all; }

.bp-reg-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.bp-reg-foot a { color: rgba(246, 238, 221, 0.82); text-decoration: none; }
.bp-reg-foot a:hover, .bp-reg-foot a:focus-visible { color: #ffd98a; text-decoration: underline; }
/* the two links sit inside a sentence, so they're underlined to stand out from the words around them */
.bp-reg-legal { color: rgba(246, 238, 221, 0.62); }
.bp-reg-legal a { text-decoration: underline; text-decoration-color: rgba(246, 238, 221, 0.35); text-underline-offset: 2px; }
.bp-reg-legal a:hover, .bp-reg-legal a:focus-visible { text-decoration-color: currentColor; }
.bp-reg-card a:focus-visible { outline: 2px solid #ffd98a; outline-offset: 2px; border-radius: 3px; }

@media (max-width: 380px) {
  .bp-reg-card { padding: 18px 16px 14px; }
  .bp-reg-thumb { width: 112px; height: 112px; }
  .bp-reg-title { font-size: 19px; }
}
/* Full-screen sheet instead of a floating pop-up (mobile.html always, street.html on narrow screens): the card
   fills the screen edge to edge with its content centred vertically, and scrolls when it doesn't fit. */
.bp-reg-sheet { display: flex; flex-direction: column; }
.bp-reg-sheet .bp-reg-card {
  flex: 1 0 auto; justify-content: center; max-width: none; border: 0; border-radius: 0; box-shadow: none;
  padding-top: calc(18px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
@media (prefers-reduced-motion: reduce) {
  .bp-reg-fx, .bp-reg-field input, .bp-reg-check input, .bp-reg-go { transition: none; }
}
