/* Full Covers Concierge widget. Namespaced under .fcc so it sits on any client
   site; the accent follows --fcc-accent (set it on the script tag's data-accent
   or on :root). Launcher bottom-right, panel above it, full screen on phones. */
.fcc {
  --fcc-accent: #141414;
  --fcc-on-accent: #fff;
  --fcc-bg: #fff;
  --fcc-ink: #161616;
  --fcc-muted: #6b6a66;
  --fcc-line: rgba(0, 0, 0, 0.1);
  --fcc-you: #f0efeb;
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  font: 400 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fcc-ink);
}
.fcc--dark {
  --fcc-accent: #f3eee6;
  --fcc-on-accent: #141210;
  --fcc-bg: #1d1a17;
  --fcc-ink: #f3eee6;
  --fcc-muted: #b3aba0;
  --fcc-line: rgba(255, 255, 255, 0.14);
  --fcc-you: #2a2621;
  color-scheme: dark;
}
.fcc *, .fcc *::before, .fcc *::after { box-sizing: border-box; }
.fcc button, .fcc input, .fcc textarea { font: inherit; }

.fcc__launch {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.25rem; border: 0; border-radius: 999px;
  background: var(--fcc-accent); color: var(--fcc-on-accent);
  font-weight: 600; cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}
.fcc__launch::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: currentColor; opacity: 0.8; }
.fcc.is-open .fcc__launch { visibility: hidden; }

.fcc__panel {
  position: absolute; right: 0; bottom: 0;
  width: min(380px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 2rem));
  display: flex; flex-direction: column;
  background: var(--fcc-bg); border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 60px -20px rgba(0, 0, 0, 0.35);
}
.fcc__panel[hidden] { display: none; }
.fcc__head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1rem 0.8rem; border-bottom: 1px solid var(--fcc-line); }
.fcc__title { display: flex; flex-direction: column; line-height: 1.25; }
.fcc__title strong { font-size: 0.95rem; }
.fcc__venue { font-size: 0.8rem; color: var(--fcc-muted); }
.fcc__close { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; padding: 0.25rem 0.5rem; cursor: pointer; color: var(--fcc-muted); border-radius: 8px; }
.fcc__close:hover { background: var(--fcc-you); color: var(--fcc-ink); }

.fcc__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; overscroll-behavior: contain; }
.fcc__msg { max-width: 88%; padding: 0.6rem 0.85rem; border-radius: 16px; }
.fcc__msg p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.fcc__msg--bot { align-self: flex-start; background: var(--fcc-you); border-end-start-radius: 6px; }
.fcc__msg--you { align-self: flex-end; background: var(--fcc-accent); color: var(--fcc-on-accent); border-end-end-radius: 6px; }
.fcc__msg--typing p { letter-spacing: 0.2em; color: var(--fcc-muted); }

.fcc__btn {
  display: inline-block; margin: 0.6rem 0.4rem 0.1rem 0; padding: 0.5rem 0.9rem;
  border: 0; border-radius: 999px; background: var(--fcc-accent); color: var(--fcc-on-accent);
  font-size: 0.9rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.fcc__btn:disabled { opacity: 0.6; cursor: default; }

.fcc__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.6rem; }
.fcc__chip {
  padding: 0.35rem 0.75rem; border: 1px solid var(--fcc-line); border-radius: 999px;
  background: var(--fcc-bg); color: var(--fcc-ink); font-size: 0.85rem; cursor: pointer;
}
.fcc__chip:hover { border-color: var(--fcc-accent); }

.fcc__compose { display: flex; gap: 0.5rem; padding: 0.6rem 0.75rem; border-top: 1px solid var(--fcc-line); }
.fcc__input { flex: 1; min-width: 0; padding: 0.6rem 0.85rem; border: 1px solid var(--fcc-line); border-radius: 999px; background: var(--fcc-bg); color: var(--fcc-ink); }
.fcc__input:focus { outline: 2px solid var(--fcc-accent); outline-offset: 1px; }
.fcc__send { padding: 0.6rem 1rem; border: 0; border-radius: 999px; background: var(--fcc-accent); color: var(--fcc-on-accent); font-weight: 600; cursor: pointer; }
.fcc__send:disabled { opacity: 0.5; cursor: default; }

.fcc__foot { margin: 0; padding: 0.4rem 1rem 0.7rem; font-size: 0.72rem; line-height: 1.4; color: var(--fcc-muted); }
.fcc__foot a { color: inherit; }

.fcc__form { display: grid; gap: 0.5rem; margin-top: 0.6rem; padding: 0.75rem; border-radius: 12px; background: var(--fcc-bg); border: 1px solid var(--fcc-line); }
.fcc__field { display: grid; gap: 0.15rem; font-size: 0.8rem; color: var(--fcc-muted); }
.fcc__field input, .fcc__field textarea, .fcc__field select { width: 100%; padding: 0.45rem 0.6rem; border: 1px solid var(--fcc-line); border-radius: 8px; font-size: 0.9rem; color: var(--fcc-ink); background: var(--fcc-bg); font: inherit; }
.fcc__field textarea { min-height: 3.5rem; resize: vertical; }
.fcc__form small { color: var(--fcc-muted); font-size: 0.75rem; }
.fcc__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fcc__done { margin: 0; font-weight: 600; }

/* Compact: a smaller launcher and panel, for sites where the chat should sit
   quietly (data-size="compact" on the script tag). On a phone the panel is a
   sheet over the lower part of the page, not the whole screen. */
.fcc--compact { font-size: 13.5px; }
.fcc--compact .fcc__launch { padding: 0.55rem 0.95rem; gap: 0.4rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4); }
.fcc--compact .fcc__launch::before { width: 0.45rem; height: 0.45rem; }
.fcc--compact .fcc__panel { width: min(320px, calc(100vw - 2rem)); height: min(460px, calc(100vh - 2rem)); border-radius: 14px; }
.fcc--compact .fcc__head { padding: 0.65rem 0.8rem 0.55rem; }
.fcc--compact .fcc__log { padding: 0.75rem; gap: 0.45rem; }
.fcc--compact .fcc__msg { padding: 0.5rem 0.7rem; border-radius: 12px; }
.fcc--compact .fcc__chips { padding: 0 0.75rem 0.5rem; gap: 0.3rem; }
.fcc--compact .fcc__chip { padding: 0.28rem 0.6rem; font-size: 0.8rem; }
.fcc--compact .fcc__compose { padding: 0.5rem 0.6rem; gap: 0.4rem; }
.fcc--compact .fcc__input { padding: 0.45rem 0.7rem; }
.fcc--compact .fcc__send { padding: 0.45rem 0.8rem; }
.fcc--compact .fcc__foot { padding: 0.3rem 0.8rem 0.55rem; font-size: 0.68rem; }

@media (max-width: 480px) {
  .fcc { right: 0.75rem; bottom: 0.75rem; }
  .fcc.is-open { inset: 0; }
  .fcc.is-open .fcc__panel { width: 100vw; height: 100dvh; border-radius: 0; }
  /* 16px in the fields so iOS does not zoom the page when one takes focus */
  .fcc--compact .fcc__input, .fcc--compact .fcc__field input, .fcc--compact .fcc__field textarea, .fcc--compact .fcc__field select { font-size: 16px; }
  .fcc--compact.is-open { inset: auto 0 0 0; }
  .fcc--compact.is-open .fcc__panel { position: relative; width: 100vw; height: min(72dvh, 560px); border-radius: 16px 16px 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .fcc__panel { animation: fcc-in 0.25s cubic-bezier(0.32, 0.72, 0, 1); }
  @keyframes fcc-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
}
