/* Public booking page (/meet/…) — white-label: the business's colours via --p / --s */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; font-family: -apple-system, "Segoe UI", Inter, Roboto, system-ui, sans-serif; color: #14102a;
  background: radial-gradient(800px 500px at 90% -10%, color-mix(in srgb, var(--p) 18%, transparent), transparent 60%), radial-gradient(700px 500px at -10% 110%, color-mix(in srgb, var(--s) 14%, transparent), transparent 60%), #f6f5fb; }
.mt { max-width: 1040px; margin: 0 auto; padding: 40px 16px; }
.mt__card { display: grid; grid-template-columns: 340px 1fr; min-height: 560px; background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid #ece8f6; box-shadow: 0 40px 80px -50px rgba(40, 20, 90, .45); }
.mt__side { padding: 30px; border-right: 1px solid #ece8f6; background: linear-gradient(180deg, #fff, #fbfaff); display: flex; flex-direction: column; gap: 14px; }
.mt__biz { display: flex; align-items: center; gap: 10px; } .mt__biz img { max-height: 40px; max-width: 160px; } .mt__biz b { font-size: 15px; color: #5d5873; }
.mt__mono { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--p), var(--s)); }
.mt__back { font-size: 13px; font-weight: 700; color: var(--p); text-decoration: none; }
.mt h1 { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.mt__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; font-weight: 600; color: #3d3966; }
.mt__facts li { display: flex; align-items: center; gap: 10px; } .mt__facts li > span:first-child { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--p) 10%, white); }
.mt__desc { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5d5873; }
.mt__by { margin-top: auto; font-size: 11.5px; color: #a29dbb; }
.mt__main { padding: 30px; min-width: 0; }
.mt h2 { margin: 0 0 14px; font-size: 20px; } .mt h3 { margin: 22px 0 10px; font-size: 16px; }
.mt__muted { color: #7a7596; font-size: 14px; } .mt__err { color: #b91c1c; background: #fef2f2; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.mt__list { display: grid; gap: 12px; }
.mt__svc { --c: var(--p); position: relative; display: grid; grid-template-columns: 6px 1fr auto auto; gap: 14px; align-items: center; padding: 18px 18px 18px 0; border-radius: 18px; border: 1px solid #ece8f6; text-decoration: none; color: inherit; overflow: hidden; transition: .2s; }
.mt__svc > i { align-self: stretch; background: var(--c); }
.mt__svc:hover { border-color: var(--c); box-shadow: 0 18px 36px -24px var(--c); transform: translateY(-2px); }
.mt__svc b { font-size: 16.5px; } .mt__svc small { display: block; color: #7a7596; font-size: 13px; margin-top: 2px; } .mt__svc p { margin: 6px 0 0; font-size: 13.5px; color: #5d5873; }
.mt__svc em { font-style: normal; font-weight: 800; color: var(--c); } .mt__go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f4f2fa; font-weight: 800; }
.mt__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.mt__day { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid #ece8f6; text-align: center; transition: .15s; }
.mt__day small { font-size: 11px; color: #7a7596; } .mt__day b { font-size: 20px; } .mt__day i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--p); }
.mt__day:hover:not(.is-off) { border-color: var(--p); } .mt__day.is-on { background: var(--p); border-color: var(--p); color: #fff; } .mt__day.is-on small, .mt__day.is-on i { color: rgba(255, 255, 255, .85); }
.mt__day.is-off { opacity: .45; cursor: default; } .mt__day.is-off i { color: #9a95b4; }
.mt__nav { display: flex; justify-content: space-between; margin-top: 10px; } .mt__nav button { all: unset; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--p); padding: 6px 4px; } .mt__nav button:disabled { opacity: .35; cursor: default; }
.mt__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.mt__time { all: unset; cursor: pointer; text-align: center; padding: 12px; border-radius: 12px; font-weight: 700; color: var(--p); border: 1.5px solid color-mix(in srgb, var(--p) 35%, white); transition: .15s; }
.mt__time:hover { background: var(--p); color: #fff; }
.mt__form { display: grid; gap: 12px; max-width: 460px; }
.mt__form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: #3d3966; } .mt__form small { font-weight: 500; color: #9a95b4; }
.mt__form input, .mt__form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #e4e0ef; outline: none; }
.mt__form input:focus, .mt__form textarea:focus { border-color: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 14%, transparent); }
.mt__chosen { margin: 0; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--p) 8%, white); } .mt__chosen b { display: block; } .mt__chosen small { color: #7a7596; }
.mt__btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 15px 22px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; font-size: 15.5px; color: #fff; text-decoration: none; cursor: pointer;
  background: linear-gradient(120deg, var(--p), var(--s)); box-shadow: 0 14px 30px -14px var(--p); } .mt__btn:disabled { opacity: .6; }
.mt__btn--pay { background: linear-gradient(120deg, #16a34a, #22c55e); box-shadow: 0 14px 30px -14px #16a34a; }
.mt__link { all: unset; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--p); } .mt__link--x { color: #b91c1c; }
.mt__done { display: grid; justify-items: start; gap: 12px; }
.mt__tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; background: linear-gradient(135deg, #16a34a, #22c55e); animation: mtPop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes mtPop { from { transform: scale(0); } }
.mt__when { margin: 0; font-size: 18px; font-weight: 800; } .mt__who { margin: 0; color: #5d5873; } .mt__addr { margin: 0; font-weight: 700; }
.mt__badge { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; background: #dcfce7; color: #15803d; } .mt__badge--cancelled, .mt__badge--no_show { background: #fee2e2; color: #b91c1c; } .mt__badge--done { background: #e0e7ff; color: #4338ca; }
.mt__paid { margin: 0; font-weight: 800; color: #15803d; }
.mt__cal { display: flex; flex-wrap: wrap; gap: 8px; } .mt__cal a { padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #3d3966; text-decoration: none; border: 1px solid #e4e0ef; background: #fff; }
.mt__acts { display: flex; gap: 18px; margin-top: 4px; }
.mt__picker { width: 100%; padding-top: 6px; border-top: 1px solid #ece8f6; }
.mt__empty { color: #7a7596; }
@media (max-width: 820px) {
  .mt { padding: 16px; } .mt__card { grid-template-columns: 1fr; } .mt__side { border-right: 0; border-bottom: 1px solid #ece8f6; padding: 22px; } .mt__main { padding: 22px; }
  .mt__days { grid-template-columns: repeat(7, minmax(56px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .mt__svc { grid-template-columns: 6px 1fr auto; } .mt__go { display: none; }
}
