/* VRENT brand base - shared by the seat page, the dashboard, the login and the
   QR cards. Follows vrent.ch ("Bento Soft Depth"): a soft lavender page, white
   tiles with a gentle shadow, Arimo, and the blue-to-violet brand gradient. */

/* Served from here, not from Google: loading fonts from fonts.googleapis.com
   would hand every visitor's IP address to Google. */
@font-face {
  font-family: 'Arimo';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/arimo-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Arimo';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/arimo-latin-700-normal.woff2') format('woff2');
}

:root {
  --ink: #15161c;
  --text: #242424;
  --muted: #696c78;
  --surface: #ffffff;
  --tint: #eef1f8;
  --line: #e3e6f0;

  --blue: #2846a6;
  --violet: #7c3aed;
  --gradient: linear-gradient(135deg, #2846a6 0%, #5b46c9 55%, #7c3aed 100%);
  --page: linear-gradient(#f2f4fb, #f4f2fb 45%, #f2f4f9);

  --green: #1f7a4d;
  --green-tint: #e5f3ec;
  --red: #b42318;
  --red-tint: #fdecea;
  --amber: #a15c07;
  --amber-tint: #fdf1e0;

  --shadow: 0 12px 34px rgba(30, 40, 90, 0.07);
  --shadow-btn: 0 8px 26px rgba(40, 70, 166, 0.28);
  --radius: 14px;
  --radius-lg: 24px;
  --font: 'Arimo', Arial, Helvetica, sans-serif;
  /* older names still used by a few inline styles */
  --head: var(--font);
  --body: var(--font);
  --accent: var(--blue);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: #f3f3fa;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 0.45em;
}

/* Page headlines are set in capitals, like the hero on vrent.ch. */
h1 {
  font-size: 1.7rem;
  text-transform: uppercase;
}
h2 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

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

.center {
  text-align: center;
}

/* --- layout ------------------------------------------------------------ */

.wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

/* On the light page the logo sits as it is - black type, violet swoosh. */
.logo,
.topbar img {
  height: 30px;
  width: auto;
  display: block;
}

/* --- pieces ------------------------------------------------------------ */

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--tint);
  color: #3c3f4a;
}

.badge.free {
  background: var(--green-tint);
  color: var(--green);
}
.badge.busy {
  background: var(--red-tint);
  color: var(--red);
}
.badge.warn {
  background: var(--amber-tint);
  color: var(--amber);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* Default button = the pale "See what we do" button on vrent.ch. */
button,
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 16px 22px;
  font-family: var(--font);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--tint);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

button:active,
.btn:active {
  transform: scale(0.985);
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

/* The "Get a price in a minute" button: brand gradient, white, soft glow. */
.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}
.btn-green {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(31, 122, 77, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--line);
  min-height: 52px;
  font-size: 1rem;
}

.stack > * + * {
  margin-top: 12px;
}

/* selectable tiles (products, films) */
.choice {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  color: var(--text);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px;
  min-height: 88px;
  justify-content: flex-start;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
}

.choice[aria-pressed='true'] {
  border-color: var(--blue);
  background: #f6f7fe;
}

.choice .title {
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  display: block;
}

.choice .sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.choice .price {
  margin-left: auto;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue);
  white-space: nowrap;
}

.choice .tick {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  color: transparent;
  font-size: 1rem;
}

.choice[aria-pressed='true'] .tick {
  background: var(--gradient);
  border-color: transparent;
  color: #ffffff;
}

/* big number for countdowns, in the brand gradient */
.bignum {
  font-family: var(--font);
  font-weight: 700;
  font-size: 5.5rem;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink);
}

.steps li:last-child {
  border-bottom: none;
}

.steps .icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--tint);
  border-radius: 14px;
  font-size: 1.4rem;
}

.progress {
  height: 12px;
  border-radius: 999px;
  background: var(--tint);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient);
  transition: width 0.6s linear;
}

.spinner {
  width: 54px;
  height: 54px;
  border: 5px solid var(--tint);
  border-top-color: var(--blue);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

.lang {
  display: flex;
  gap: 6px;
}

.lang button {
  width: auto;
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.88rem;
  background: var(--tint);
  color: #3c3f4a;
  border-radius: 999px;
}

.lang button[aria-pressed='true'] {
  background: var(--blue);
  color: #ffffff;
}

.seatline {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Payment buttons in demo mode: Apple Pay is black by Apple's own rules. */
.btn-apple {
  background: #000000;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* forms: dashboard login and pairing */
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

input {
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
}

input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: transparent;
}

/* legal line under the visitor flow */
.legal {
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.legal a {
  color: var(--muted);
}
