/* ClickLounge Studio look for the photo tools. Palette, fonts, nav, buttons, cards and footer follow the studio website
   (hellotalentff-max.github.io/clicklounge). Like the website, it is light only. Fonts are loaded by each page. */
:root {
  color-scheme: light;
  --green: #2d6e5f;
  --green-dark: #1e4d42;
  --green-light: #4a9082;
  --amber: #c49a1a;
  --amber-light: #d4b030;
  --cream: #f5ede0;
  --cream-dark: #ede0cb;
  --warm-white: #faf6f0;
  --rust: #b05a2a;
  --text-dark: #1a2e28;
  --text-mid: #4a6058;
  --text-light: #8fa89e;
  --line: rgba(45, 110, 95, 0.18);
  --line-soft: rgba(45, 110, 95, 0.1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* names the tool pages use */
  --bg: var(--warm-white);
  --panel: #ffffff;
  --fg: var(--text-dark);
  --muted: var(--text-mid);
  --field: #ffffff;
  --accent: var(--green);
  --accent-fg: #ffffff;
  --danger: var(--rust);
  --ok: var(--green);
  --font-ui: var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: 15px; line-height: 1.5;
  background: var(--warm-white); color: var(--text-dark);
}
a { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }

/* NAV: sticky bar with the logo, like the website */
.site-nav {
  position: sticky; top: 0; z-index: 200; flex: none;
  background: rgba(250, 246, 240, 0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 110, 95, 0.12);
  display: flex; align-items: center; padding: 0 1rem; height: 54px;
  overflow-x: auto; scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav > :first-child { margin-left: auto; }
.site-nav > :last-child { margin-right: auto; }
.site-nav a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; color: var(--text-mid); text-decoration: none;
  padding: 0 1rem; height: 54px; display: flex; align-items: center; white-space: nowrap;
  border-bottom: 2.5px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--green); }
.site-nav a.active { color: var(--green); border-bottom-color: var(--green); }
.site-nav a.brand { padding: 0 0.8rem; border: none; }
.site-nav a.brand img { height: 36px; width: auto; display: block; }
.site-nav .sep { width: 1px; height: 24px; background: rgba(45, 110, 95, 0.15); margin: 0 0.2rem; flex: none; }

/* PAGE HEADER: cream band with a soft glow */
.page-header { background: var(--cream); padding: 2.4rem 1.25rem 2.1rem; text-align: center; position: relative; overflow: hidden; flex: none; }
.page-header::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 110, 95, 0.07) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.page-header > * { position: relative; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rust);
}
.page-header .eyebrow { display: block; margin-bottom: 0.55rem; }
.page-title {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--green-dark); margin: 0; text-wrap: balance;
}
.page-desc { max-width: 560px; margin: 0.9rem auto 0; color: var(--text-mid); line-height: 1.7; font-size: 0.95rem; }

/* CONTENT */
.wrap { flex: 1 0 auto; width: 100%; max-width: 1040px; margin: 0 auto; padding: 1.75rem 1rem 3rem; display: flex; flex-direction: column; gap: 1.25rem; }
.panel {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 18px; padding: 1.25rem 1.4rem; min-width: 0;
  box-shadow: 0 2px 14px rgba(45, 110, 95, 0.06);
}
.note { font-size: 0.8rem; color: var(--text-mid); margin: 0.65rem 0 0; max-width: 62ch; line-height: 1.6; }
.status { min-height: 1.4em; font-size: 0.82rem; margin: 0.65rem 0 0; color: var(--text-dark); }
.divider { border: none; border-top: 1px solid var(--line-soft); margin: 1.1rem 0; }

/* BUTTONS: pills. The primary action is amber Space Mono, like Book Now. */
.btn, select {
  font: inherit; color: var(--green-dark); background: #fff;
}
.btn {
  border: 1.5px solid rgba(45, 110, 95, 0.28); border-radius: 100px; padding: 0.62rem 1.1rem;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; text-align: center;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { border-color: var(--green); background: rgba(45, 110, 95, 0.06); }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }
.btn.primary {
  background: var(--amber); border-color: var(--amber); color: #fff;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.btn.primary:hover:not(:disabled) { background: var(--amber); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(196, 154, 26, 0.4); }
.btn.danger { color: var(--rust); border-color: rgba(176, 90, 42, 0.35); background: transparent; }
.btn.danger:hover:not(:disabled) { background: rgba(176, 90, 42, 0.07); border-color: var(--rust); }
.btn.wide { width: 100%; }
.row { display: flex; gap: 0.5rem; margin: 0.65rem 0; }
.row .btn { flex: 1; padding-inline: 0.4rem; font-size: 0.8rem; }
.actions { display: flex; flex-direction: column; gap: 0.5rem; }

/* FORM CONTROLS */
select {
  width: 100%; padding: 0.6rem 0.85rem; border: 2px solid rgba(45, 110, 95, 0.2); border-radius: 12px;
  font-size: 0.9rem; font-family: var(--font-body); color: var(--text-dark);
}
textarea {
  width: 100%; padding: 0.6rem 0.85rem; border: 2px solid rgba(45, 110, 95, 0.2); border-radius: 12px; resize: vertical;
  font: inherit; font-size: 0.9rem; color: var(--text-dark); background: #fff;
}
select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(45, 110, 95, 0.12); }
.field { margin-bottom: 0.65rem; }
.field label { display: flex; justify-content: space-between; color: var(--text-mid); font-size: 0.8rem; font-weight: 500; margin-bottom: 0.1rem; }
.field label .val { font-family: var(--font-mono); font-size: 0.78rem; color: var(--green-dark); font-variant-numeric: tabular-nums; }
input[type='range'] { width: 100%; accent-color: var(--green); }
.check { display: flex; align-items: center; gap: 0.5rem; color: var(--text-mid); font-size: 0.85rem; margin: 0.5rem 0; }
.check input { accent-color: var(--green); }
.dropzone {
  border: 2px dashed rgba(45, 110, 95, 0.25); border-radius: 14px; padding: 0.9rem; text-align: center;
  color: var(--text-mid); cursor: pointer; margin-bottom: 0.9rem; transition: border-color 0.15s, background 0.15s;
}
.dropzone:hover, .dropzone.drag-over { border-color: var(--green); color: var(--green-dark); background: rgba(45, 110, 95, 0.05); }

/* CHIPS AND BADGES: green pills like the website's tags */
.chip {
  font: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.32rem 0.9rem; border-radius: 100px; cursor: pointer;
  color: var(--text-mid); background: #fff; border: 1.5px solid rgba(45, 110, 95, 0.25); transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed='true'] { background: var(--green); border-color: var(--green); color: #fff; }
.chip .st { font-family: var(--font-mono); font-size: 0.68rem; margin-left: 0.4rem; opacity: 0.8; }
.pill {
  display: inline-block; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; color: var(--green);
  background: rgba(45, 110, 95, 0.1); border-radius: 100px; padding: 0.25rem 0.8rem; margin: 0.15rem 0.3rem 0.15rem 0;
}

/* DIALOG */
dialog {
  border: 1px solid var(--line-soft); border-radius: 18px; background: #fff; color: var(--text-dark); padding: 1.4rem;
  width: min(380px, calc(100% - 32px)); box-shadow: 0 18px 44px rgba(45, 110, 95, 0.18);
}
dialog::backdrop { background: rgba(26, 46, 40, 0.55); }
dialog h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--green-dark); margin: 0 0 0.3rem; }
.qr { background: #fff; padding: 0; border-radius: 12px; border: 1px solid var(--line-soft); width: 250px; max-width: 100%; aspect-ratio: 1; margin: 0.9rem auto; display: flex; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-status { text-align: center; font-weight: 600; min-height: 1.4em; margin: 0 0 0.6rem; }
.qr-status.ok { color: var(--green); }
.qr-status.error { color: var(--rust); }
code#qrUrl { display: block; font-family: var(--font-mono); font-size: 0.7rem; word-break: break-all; color: var(--text-mid); user-select: all; margin-bottom: 0.65rem; }

/* FOOTER: the website's green band */
.site-footer { flex: none; background: var(--green-dark); color: #fff; padding: 2.2rem 1.5rem; text-align: center; }
.footer-brand { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-light); margin-bottom: 0.6rem; }
.footer-contact { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); line-height: 2; margin-bottom: 1.1rem; }
.footer-bottom { font-size: 0.72rem; color: rgba(255, 255, 255, 0.35); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.1rem; }

@media print {
  body > *:not(#printArea) { display: none !important; }
  body { background: #fff; display: block; min-height: 0; }
}
