/* LeBookly client booking page: phone first, rose-gold glam look */
:root { --ink: #2b1f1c; --muted: #8c7772; --line: #eee2dd; --rose: #b9705a; --rose-d: #8f4f3d; --rose-l: #f7e6de; --blush: #fbf3ef; --bad: #c0392b;
  --grad: linear-gradient(135deg, #e9b9a3 0%, #c98a72 45%, #f3d2c1 100%); --r: 16px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 15px/1.5 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: #fffaf8; padding-bottom: 110px; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 600; letter-spacing: -.02em; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--rose-d); }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 14px 0; }
.card.warn { background: #fff5e6; border-color: #f3d9a8; }
.logo { width: 180px; margin: 10px auto 16px; display: block; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 12px; background: rgba(255, 250, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-t { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; }
.link { background: none; border: 0; color: var(--rose-d); font-weight: 600; padding: 6px 2px; }
.link.danger { color: var(--bad); padding: 8px 0 0; }
.ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.ask span { width: 100%; }
.btn.small-btn { padding: 8px 16px; font-size: 14px; }
.btn.danger-btn { background: var(--bad); border-color: var(--bad); color: #fff; }

/* hero */
.hero { margin: 16px 0 6px; padding: 30px 22px; border-radius: 22px; background: var(--grad); color: #fff; box-shadow: 0 12px 30px rgba(185, 112, 90, .25); }
.hero h1 { font-size: 30px; text-shadow: 0 1px 8px rgba(120, 60, 40, .25); }
.hero p { margin: 6px 0 0; opacity: .95; }
.step-t { font-size: 24px; margin: 22px 0 12px; }

/* category chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.svcs h3 { font-size: 18px; margin: 20px 0 8px; }

/* service cards */
.svc { display: flex; width: 100%; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; transition: .15s; }
.svc > div { flex: 1; } .svc b { display: block; } .svc small { color: var(--muted); display: block; } .svc p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.svc .pr { display: block; margin-top: 6px; font-weight: 600; }
.svc i { font-style: normal; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.svc.on { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); background: var(--blush); }
.svc.on i { background: var(--rose); color: #fff; border-color: var(--rose); }

.about h3 { font-size: 18px; margin-bottom: 8px; } .about p { margin: 0 0 12px; white-space: pre-line; }
.hours div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.hours div:last-child { border: 0; } .links { margin: 12px 0 0; }

/* professionals */
.pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pro { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.pro small { color: var(--muted); font-size: 12px; }
.pro.on { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); background: var(--blush); }
.av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 600 24px 'Plus Jakarta Sans', sans-serif; color: #5b3a32; margin-bottom: 6px; }
.av.any { background: var(--grad); color: #fff; }
.pro-sel { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; } .pro-sel span { color: var(--muted); }

/* date strip + times */
.strip { display: flex; align-items: center; gap: 6px; }
.strip .nav { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; flex: 1; }
.day { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 6px 0; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.day small { font-size: 11px; color: var(--muted); } .day b { font-size: 18px; }
.day.full { opacity: .45; } .day:disabled { opacity: .25; }
.day.on { background: var(--ink); color: #fff; border-color: var(--ink); opacity: 1; } .day.on small { color: #e9d8d2; }
.slots h3 { font: 600 13px 'Plus Jakarta Sans', sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 8px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.tm { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 0; font-weight: 600; }
.tm.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* confirm */
.sum .when { font: 600 20px 'Plus Jakarta Sans', sans-serif; display: block; }
.sum .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum .row.tot { font-weight: 700; border: 0; }
label { display: block; font-weight: 600; font-size: 13px; margin: 0 0 14px; }
input, textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: 16px 'Plus Jakarta Sans', sans-serif; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid #f1cdbd; border-color: var(--rose); }
.code { font-size: 26px; letter-spacing: 10px; text-align: center; }
.me-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.me-row.top { margin-top: 16px; }
.signin { margin-top: 30px; } .signin h2 { margin-bottom: 6px; }
.row-links { display: flex; justify-content: space-between; margin-top: 10px; }

.btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 13px 22px; font-weight: 700; }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn:disabled { opacity: .4; cursor: default; }
.btn.wide { width: 100%; margin-top: 10px; display: block; }
.link-btn { border: 0; background: none; color: var(--rose-d); }

/* done + my bookings */
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 4px auto 12px; }
.appt { display: flex; gap: 14px; }
.ad { text-align: center; min-width: 46px; } .ad b { display: block; font: 600 24px 'Plus Jakarta Sans', sans-serif; } .ad small { color: var(--muted); }
.ai b { display: block; } .ai small { display: block; color: var(--muted); }
.stt { font-weight: 600; } .stt.cancelled, .stt.no_show { color: var(--bad); } .stt.confirmed { color: #4b43a3; } .stt.completed { color: #1e7a4a; }

/* bottom bar */
.foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); }
.foot .ft-l { flex: 1; max-width: 430px; margin-left: auto; } .foot .ft-l b { display: block; } .foot .ft-l small { color: var(--muted); }
.foot .btn { margin-right: auto; min-width: 160px; }
.powered { text-align: center; color: var(--muted); font-size: 12px; margin: 30px 0 10px; }
.powered img { height: 18px; vertical-align: middle; margin-left: 4px; }
#toast { position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; opacity: 0; transition: .25s; z-index: 90; pointer-events: none; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 700px) { .hero { padding: 44px 34px; } .hero h1 { font-size: 38px; } }

/* reviews */
.hero-rt { display: inline-block; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .25); color: #fff; font-weight: 700; text-decoration: none; }
.hero-rt span { font-weight: 500; opacity: .9; }
.reviews h3 .muted { font-weight: 500; }
.rv { padding: 12px 0; border-top: 1px solid var(--line); }
.rv:first-of-type { border-top: 0; }
.rv-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rv-st { color: #e0a43a; letter-spacing: 1px; }
.rv-st .off, .off { color: #e6dcd8; }
.rv-top small { color: var(--muted); width: 100%; }
.rv p { margin: 6px 0 0; }
.rv-reply { background: var(--blush); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
