/* The small working demo on the sales page: a phone with the booking page and the
   owner's screen beside it. It copies the look of the real app (light screens). */
.fd-ui { --u-bg: #f5f4f0; --u-panel: #fff; --u-ink: #14161a; --u-muted: #666c78; --u-line: #e6e3dc; --u-soft: #f0eee8; --u-accent: #be185d; --u-accent-soft: #fbe9f1; --u-good: #15803d; color: var(--u-ink); font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.4; font-weight: 500; text-align: left; letter-spacing: 0; }
.fd-ui *, .fd-ui *::before, .fd-ui *::after { box-sizing: border-box; }
.fd-ui button { font: inherit; color: inherit; }
.fd-ui strong, .fd-ui b { font-weight: 800; }

/* ---- phone ---- */
.fd-phone { width: min(310px, 100%); aspect-ratio: 310 / 640; border-radius: 46px; padding: 11px; background: linear-gradient(127deg, #566e83 0%, #d0dfeb 6%, #fff 11%, #889eb2 20%, #dfeaf4 42%, #7d93a8 61%, #e6eef6 80%, #62788d 100%); box-shadow: 0 0 0 1px #2c3d4e, 0 44px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .5); position: relative; flex: none; }
.fd-phone::before { content: ""; position: absolute; top: 24px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 99px; background: #0b0d14; z-index: 2; }
.fd-screen { width: 100%; height: 100%; border-radius: 36px; background: var(--u-bg); overflow: hidden; display: flex; flex-direction: column; }
.fd-screen-top { padding: 52px 18px 10px; display: flex; align-items: center; gap: 10px; }
.fd-dot { width: 34px; height: 34px; border-radius: 10px; background: var(--u-accent); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.fd-screen-top strong { font-size: 15px; line-height: 1.15; display: block; }
.fd-screen-top span { font-size: 13px; color: var(--u-muted); }
.fd-screen-body { flex: 1; overflow-y: auto; padding: 4px 14px 16px; display: grid; gap: 10px; align-content: start; scrollbar-width: none; }
.fd-screen-body::-webkit-scrollbar { display: none; }
.fd-h { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 2px 4px 2px; }
.fd-step { font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--u-muted); margin: 4px 4px 0; }
.fd-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 11px 13px; border-radius: 13px; border: 2px solid var(--u-line); background: var(--u-panel); cursor: pointer; transition: border-color .15s, transform .1s; }
.fd-pick:hover, .fd-pick:focus-visible { border-color: var(--u-accent); outline: none; }
.fd-pick:active { transform: scale(.985); }
.fd-pick span { display: block; color: var(--u-muted); font-size: 13px; font-weight: 500; }
.fd-pick b { white-space: nowrap; }
.fd-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fd-day { padding: 8px 0; border-radius: 12px; border: 2px solid var(--u-line); background: var(--u-panel); cursor: pointer; text-align: center; }
.fd-day small { display: block; font-size: 13px; font-weight: 700; color: var(--u-muted); }
.fd-day b { display: block; font-size: 16px; }
.fd-day.on { background: var(--u-accent); border-color: var(--u-accent); color: #fff; } .fd-day.on small { color: #fff; }
.fd-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fd-time { min-height: 44px; border-radius: 11px; border: 2px solid var(--u-line); background: var(--u-panel); font-weight: 700; font-size: 13px; cursor: pointer; }
.fd-time:hover, .fd-time:focus-visible { border-color: var(--u-accent); outline: none; }
.fd-time:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; border-color: var(--u-line); }
.fd-go { min-height: 46px; border: 0; border-radius: 13px; background: var(--u-accent); color: #fff !important; font-weight: 800; font-size: 15px; cursor: pointer; width: 100%; box-shadow: 0 8px 18px rgba(190, 24, 93, .28); }
.fd-go.plain { background: var(--u-panel); color: var(--u-ink) !important; border: 2px solid var(--u-line); box-shadow: none; }
.fd-card { background: var(--u-panel); border-radius: 16px; padding: 14px; box-shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 8px 22px rgba(20, 22, 26, .06); display: grid; gap: 10px; }
.fd-done { text-align: center; justify-items: center; padding: 22px 14px; }
.fd-tick { width: 54px; height: 54px; border-radius: 50%; background: var(--u-accent-soft); color: var(--u-accent); display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.fd-sum { font-weight: 800; }
.fd-muted { color: var(--u-muted); } .fd-small { font-size: 13px; }
.fd-back { background: none; border: 0; padding: 8px 4px; min-height: 40px; color: var(--u-muted); font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; }

/* ---- the owner's window ---- */
.fd-window { border-radius: 16px; background: var(--u-bg); box-shadow: 0 0 0 1px #2a3144, 0 40px 90px rgba(0, 0, 0, .5); overflow: hidden; min-width: 0; }
.fd-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #10131c; }
.fd-bar i { width: 10px; height: 10px; border-radius: 50%; background: #343b4f; }
.fd-url { margin-left: 10px; flex: 1; max-width: 300px; padding: 5px 12px; border-radius: 99px; background: #1b2030; color: #b7c2d6; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: system-ui, sans-serif; }
.fd-app { display: grid; grid-template-columns: 158px minmax(0, 1fr); min-height: 430px; }
.fd-side { background: #101216; color: #b9b6ae; padding: 14px 10px; display: grid; gap: 3px; align-content: start; }
.fd-biz { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 13px; padding: 2px 4px 10px; line-height: 1.15; }
.fd-biz .fd-dot { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
.fd-nav { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 9px; font-weight: 700; font-size: 14px; min-height: 40px; border: 0; background: none; color: inherit !important; cursor: pointer; text-align: left; width: 100%; }
.fd-nav:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.fd-nav.on { background: rgba(255, 255, 255, .1); color: #fff !important; box-shadow: inset 3px 0 0 var(--u-accent); }
.fd-nav em { margin-left: auto; font-style: normal; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--u-accent); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.fd-main { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.fd-main h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.fd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.fd-stat { background: var(--u-panel); border-radius: 12px; padding: 11px; box-shadow: 0 1px 2px rgba(20, 22, 26, .05); display: grid; gap: 1px; }
.fd-stat span { font-size: 13px; line-height: 1.25; font-weight: 700; color: var(--u-muted); } .fd-stat b { font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.fd-stat.bump b { animation: fd-bump .7s ease; color: var(--u-accent); }
.fd-list { background: var(--u-panel); border-radius: 12px; padding: 4px 12px; box-shadow: 0 1px 2px rgba(20, 22, 26, .05); }
.fd-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--u-line); min-width: 0; }
.fd-row:first-child { border-top: 0; }
.fd-row .t { font-weight: 800; font-size: 13px; min-width: 62px; white-space: nowrap; }
.fd-row .m { flex: 1; min-width: 0; } .fd-row .m strong { display: block; font-size: 14px; } .fd-row .m span { display: block; color: var(--u-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-row.new { animation: fd-new 2.4s ease; }
.fd-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font-size: 13px; font-weight: 800; background: var(--u-soft); color: var(--u-muted); white-space: nowrap; }
.fd-chip.booked { background: var(--u-accent-soft); color: var(--u-accent); } .fd-chip.done { background: #e3f4e8; color: var(--u-good); } .fd-chip.auto { background: #fdf0d5; color: #b45309; }
.fd-thread { display: flex; flex-direction: column; gap: 8px; }
.fd-msg { max-width: 86%; display: grid; gap: 2px; }
.fd-msg.out { align-self: flex-end; justify-items: end; }
.fd-bubble { padding: 8px 12px; border-radius: 14px; background: var(--u-panel); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-size: 14px; overflow-wrap: anywhere; }
.fd-msg.in .fd-bubble { border-bottom-left-radius: 4px; } .fd-msg.out .fd-bubble { background: var(--u-accent); color: #fff; border-bottom-right-radius: 4px; }
.fd-meta { font-size: 13px; color: var(--u-muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.fd-sys { align-self: center; font-size: 13px; color: var(--u-muted); background: var(--u-soft); border-radius: 99px; padding: 3px 10px; text-align: center; }
.fd-msg, .fd-sys { animation: fd-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.fd-who { display: flex; align-items: center; gap: 9px; }
.fd-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--u-accent-soft); color: var(--u-accent); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.fd-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fd-col { background: #ebe9e3; border-radius: 12px; padding: 8px; display: grid; gap: 7px; align-content: start; min-height: 150px; }
.fd-col > span { font-size: 13px; font-weight: 800; padding: 0 3px; }
.fd-deal { background: var(--u-panel); border-radius: 10px; padding: 9px; box-shadow: 0 1px 2px rgba(0, 0, 0, .07); font-size: 13px; display: grid; gap: 2px; }
.fd-deal b { font-size: 14px; } .fd-deal span { color: var(--u-muted); }
.fd-switch { width: 34px; height: 20px; border-radius: 99px; background: var(--u-accent); position: relative; flex: none; } .fd-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.fd-note { font-size: 13px; color: var(--u-muted); }
@keyframes fd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fd-new { 0%, 60% { background: var(--u-accent-soft); box-shadow: 0 0 0 8px var(--u-accent-soft); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
@keyframes fd-bump { 0% { transform: scale(1); } 35% { transform: scale(1.25); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .fd-msg, .fd-sys, .fd-row.new, .fd-stat.bump b { animation: none; } }
@media (max-width: 720px) {
  .fd-app { grid-template-columns: 1fr; min-height: 0; }
  .fd-side { display: flex; overflow-x: auto; padding: 8px; gap: 4px; } .fd-biz { display: none; } .fd-nav { width: auto; white-space: nowrap; } .fd-nav.on { box-shadow: inset 0 -3px 0 var(--u-accent); }
  .fd-main { padding: 12px; }
}

/* ---- added for the sales page ---- */
.fd-time.on { background: var(--u-accent); border-color: var(--u-accent); color: #fff; }
.fd-pick, .fd-go { min-height: 48px; }
.fd-hint { animation: fd-pulse 1.6s ease-out 3; }
@keyframes fd-pulse { 0% { box-shadow: 0 0 0 0 #82e8f2cc; } 100% { box-shadow: 0 0 0 14px #82e8f200; } }
.fd-link { color: var(--u-accent); font-weight: 800; font-size: 14px; min-height: 40px; display: inline-flex; align-items: center; }
.fd-tag { background: #fdf0d5; color: #8a4b05; border-radius: 6px; padding: 1px 7px; font-weight: 800; font-size: 13px; }
.fd-row.off .t, .fd-row.off .m { opacity: .5; text-decoration: line-through; }
.fd-chip.cancelled { background: #f0eee8; color: #5d6470; }
.fd-chip.auto { background: #fdf0d5; color: #8a4b05; }
.fd-empty { background: var(--u-panel); border: 2px dashed var(--u-line); border-radius: 12px; padding: 14px; color: var(--u-muted); font-size: 14px; }
.fd-tick.small { width: 34px; height: 34px; font-size: 17px; flex: none; }
.fd-result.win strong { color: var(--u-accent); }
.fd-rate { display: grid; gap: 10px; justify-items: start; }
.fd-stars { display: flex; gap: 2px; }
.fd-star { border: 0; background: none; font-size: 38px; line-height: 1; width: 48px; height: 48px; cursor: pointer; color: #cfd6df !important; padding: 0; }
.fd-star.on { color: #e59a13 !important; }
.fd-after { display: grid; gap: 8px; justify-items: start; }
.fd-go.as-label { display: inline-flex; align-items: center; width: auto; padding: 0 20px; background: #1754a0; box-shadow: none; cursor: default; }
@media (prefers-reduced-motion: reduce) { .fd-hint { animation: none; } }
@media (max-width: 720px) { .fd-stats { grid-template-columns: 1fr 1fr; } .fd-board { grid-template-columns: 1fr; } .fd-col { min-height: 0; } }
.fd-ui h3 { color: var(--u-ink); text-shadow: none; line-height: 1.15; }
.fd-ui p { color: inherit; }
.fd-ui .fd-muted { color: var(--u-muted); }
.fd-nav { min-height: 44px; }
.fd-star { color: #9aa7b5 !important; }
.fd-star.on { color: #e59a13 !important; }
