/* Circles Co Payments: the Studio Foyer page look (a dark band with the title, a white card overlapping it, Inter),
   with Studio's pay-form fields: 1.5px borders, a blue focus ring, Circles blue #1264ff. Scoped to .ccpay for the modal. */
body.ccpay-page { margin: 0; min-height: 100vh; background: #f7f8fa; }
.ccpay, .ccpay * { box-sizing: border-box; }
.ccpay { width: 100%; margin: 0; font: 400 14px/1.5 'Inter', -apple-system, system-ui, sans-serif; color: #111827; text-align: left; -webkit-font-smoothing: antialiased; }
.ccpay h2 { font: 700 20px/1.3 'Inter', -apple-system, system-ui, sans-serif; color: #111827; margin: 0 0 6px; letter-spacing: -.01em; }
.ccpay p { margin: 0; }
.ccpay [hidden] { display: none !important; }
.ccpay-wrap { width: min(610px, calc(100% - 40px)); margin: 0 auto; }
.ccpay-band { background: #0f1117; color: #fff; padding: 40px 0 104px; }
.ccpay-brand { display: inline-block; line-height: 0; }
.ccpay-brand img { height: 30px; width: auto; display: block; }
.ccpay .ccpay-title { margin: 28px 0 0; font: 800 40px/1.1 'Inter', -apple-system, system-ui, sans-serif; letter-spacing: -.028em; color: #fff; }
.ccpay-meta:empty { display: none; }
.ccpay-meta { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.ccpay-card { position: relative; margin-top: -72px; background: #fff; border-radius: 18px; box-shadow: 0 4px 28px rgba(15,17,23,.1); overflow: hidden; }
.ccpay-testbar { display: inline-block; margin-top: 16px; padding: 5px 12px; border-radius: 8px; background: rgba(253,230,138,.14); color: #fde68a; font-size: 12px; font-weight: 500; }
.ccpay-body { padding: 40px 40px 42px; margin: 0; }
.ccpay-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ccpay-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin: 0 0 10px; }
.ccpay-hint { font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #9ca3af; }
.ccpay-step + .ccpay-step, .ccpay-step + .ccpay-summary, .ccpay-summary + .ccpay-pay, .ccpay-step + .ccpay-pay { margin-top: 26px; }
.ccpay-totals + .ccpay-pay, .ccpay-grid2 + .ccpay-pay, .ccpay-field + .ccpay-pay { margin-top: 24px; }

/* fields */
.ccpay-field { display: block; margin: 0 0 10px; }
.ccpay-field > span:first-child { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.ccpay-field em { font-style: normal; font-weight: 400; color: #9ca3af; }
.ccpay .ccpay-field input, .ccpay .ccpay-field select, .ccpay .ccpay-field textarea { display: block; width: 100%; margin: 0; padding: 13px 16px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; font: 500 15px/1.3 'Inter', -apple-system, system-ui, sans-serif; color: #111827; box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; height: auto; min-height: 0; }
.ccpay .ccpay-field textarea { resize: vertical; min-height: 64px; }
.ccpay .ccpay-field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
.ccpay .ccpay-field input::placeholder, .ccpay .ccpay-field textarea::placeholder { color: #9ca3af; font-weight: 400; }
.ccpay .ccpay-field input:focus, .ccpay .ccpay-field select:focus, .ccpay .ccpay-field textarea:focus { border-color: #1264ff; box-shadow: 0 0 0 3px rgba(18,100,255,.08); }
.ccpay-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ccpay-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.ccpay-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 8px; }
.ccpay-amount-input { display: flex !important; align-items: center; gap: 6px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; padding: 0 16px; margin: 0 !important; transition: border-color .15s, box-shadow .15s; }
.ccpay-amount-input:focus-within { border-color: #1264ff; box-shadow: 0 0 0 3px rgba(18,100,255,.08); }
.ccpay-amount-input b { font-size: 22px; font-weight: 700; color: #9ca3af; }
.ccpay .ccpay-amount-input input { border: 0 !important; box-shadow: none !important; padding: 12px 0 !important; font-size: 24px !important; font-weight: 700 !important; }
.ccpay-amount { font-size: 36px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; }
.ccpay-for { font-size: 14px; color: #6b7280; margin-bottom: 22px; }
.ccpay-amount + .ccpay-grid2 { margin-top: 22px; }
.ccpay-amountbox { display: block; margin: 0 0 22px; padding: 26px 20px 22px; border: 1.5px solid #e5e7eb; border-radius: 16px; background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%); text-align: center; cursor: text; transition: border-color .15s, box-shadow .15s; }
.ccpay-amountbox:focus-within { border-color: #1264ff; box-shadow: 0 0 0 4px rgba(18,100,255,.08); }
.ccpay-amountbox.is-set { cursor: default; }
.ccpay-amountbox__label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9ca3af; }
.ccpay-amountbox__row { display: inline-flex; align-items: flex-start; justify-content: center; gap: 4px; margin-top: 10px; color: #111827; }
.ccpay-amountbox__row b { font-size: 28px; font-weight: 700; line-height: 1; margin-top: 8px; color: #9ca3af; }
.ccpay-amountbox:focus-within .ccpay-amountbox__row b, .ccpay-amountbox.is-set .ccpay-amountbox__row b, .ccpay-amountbox:has(input:not(:placeholder-shown)) .ccpay-amountbox__row b { color: #111827; }
.ccpay .ccpay-amountbox input, .ccpay-amountbox__num { display: block; margin: 0; padding: 0; border: 0; outline: none; box-shadow: none; background: transparent; font: 800 60px/1 'Inter', -apple-system, system-ui, sans-serif; letter-spacing: -.035em; color: #111827; text-align: left; font-variant-numeric: tabular-nums; caret-color: #1264ff; height: auto; -webkit-appearance: none; appearance: none; }
/* same width pay.js gives an empty field ("0.00"), so it is centered before the script runs */
.ccpay .ccpay-amountbox input { width: 2.24em; }
.ccpay .ccpay-amountbox input::placeholder { color: #d1d5db; font-weight: 800; }
.ccpay-amountbox__for { display: block; margin-top: 10px; font-size: 13px; color: #6b7280; }
.ccpay-company { position: relative; }
.ccpay-company > label > span { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.ccpay .ccpay-company input { display: block; width: 100%; margin: 0; padding: 13px 16px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; font: 500 15px/1.3 'Inter', -apple-system, system-ui, sans-serif; color: #111827; outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.ccpay .ccpay-company input::placeholder { color: #9ca3af; font-weight: 400; }
.ccpay .ccpay-company input:focus { border-color: #1264ff; box-shadow: 0 0 0 3px rgba(18,100,255,.08); }
.ccpay-suggest { position: absolute; left: 0; right: 0; z-index: 5; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 32px rgba(15,17,23,.12); }
.ccpay-suggest li { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.ccpay-suggest li:hover, .ccpay-suggest li.is-active { background: #eef4ff; color: #1264ff; }
.ccpay .ccpay-company-hint { margin: 6px 2px 0; font-size: 12.5px; color: #6b7280; }
.ccpay .ccpay-company-hint.is-picked { color: #16a34a; font-weight: 600; }
.ccpay-demo { margin: 0 0 20px; padding: 10px 14px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 13px; }
.ccpay-inv { margin-bottom: 26px; }
.ccpay-inv__top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ccpay-inv__top strong, .ccpay-inv__to strong { display: block; font-size: 15px; }
.ccpay-inv__top span, .ccpay-inv__to span { display: block; font-size: 13px; line-height: 1.55; color: #6b7280; white-space: pre-line; }
.ccpay-inv__meta { display: grid; grid-template-columns: auto auto; column-gap: 18px; row-gap: 3px; align-content: start; font-size: 13px; line-height: 1.5; }
.ccpay-inv__meta div { display: contents; }
.ccpay-inv__meta span { color: #9ca3af; text-align: left; }
.ccpay-inv__meta b { color: #111827; text-align: right; }
.ccpay-inv__to { padding: 16px 18px; border-radius: 12px; background: #f7faff; border: 1px solid #e6efff; margin-bottom: 18px; }
.ccpay .ccpay-inv__note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: #4b5563; }
@media (max-width: 640px) { .ccpay-inv__top { flex-direction: column; } .ccpay-inv__meta { justify-content: start; } .ccpay-inv__meta b { text-align: left; } }
.ccpay-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #4b5563; margin: 4px 0 6px; cursor: pointer; }
.ccpay-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #1264ff; flex: none; }

/* choices: packages and weeks */
.ccpay-pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ccpay .ccpay-opt, .ccpay .ccpay-week, .ccpay .ccpay-tab, .ccpay .ccpay-btn { font-family: 'Inter', -apple-system, system-ui, sans-serif; text-transform: none; letter-spacing: 0; }
.ccpay .ccpay-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 10px; align-items: start; width: 100%; margin: 0; padding: 14px; border: 1.5px solid #e5e7eb; border-radius: 12px; background: #fff; color: #111827; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.ccpay .ccpay-opt:hover { border-color: #c7d7fe; }
.ccpay .ccpay-opt.is-selected { border-color: #1264ff; background: #eef4ff; box-shadow: 0 0 0 3px rgba(18,100,255,.08); }
.ccpay-opt__dot { grid-row: span 3; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #d1d5db; margin-top: 2px; background: #fff; }
.ccpay-opt.is-selected .ccpay-opt__dot { border: 5px solid #1264ff; }
.ccpay-opt__name { font-size: 15px; font-weight: 600; }
.ccpay-opt__meta { font-size: 12px; color: #6b7280; }
.ccpay-weeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ccpay .ccpay-week { display: block; width: 100%; margin: 0; padding: 11px 12px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; color: #111827; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.ccpay .ccpay-week b { display: block; font-size: 14px; font-weight: 600; }
.ccpay .ccpay-week span { display: block; font-size: 12px; color: #16a34a; margin-top: 2px; }
.ccpay .ccpay-week:hover:not(:disabled) { border-color: #c7d7fe; }
.ccpay .ccpay-week.is-selected { border-color: #1264ff; background: #eef4ff; box-shadow: 0 0 0 3px rgba(18,100,255,.08); }
.ccpay .ccpay-week:disabled { cursor: not-allowed; background: #f9fafb; color: #9ca3af; }
.ccpay .ccpay-week:disabled span { color: #9ca3af; }

/* booking wizard: one step at a time, wider card */
.ccpay--wide .ccpay-wrap { width: min(860px, calc(100% - 40px)); }
.ccpay-dialog:has(.ccpay--wide) { width: min(860px, calc(100% - 28px)); }
.ccpay--wide .ccpay-pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ccpay--wide .ccpay-weeks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ccpay--wide .ccpay .ccpay-opt, .ccpay--wide .ccpay-opt { padding: 18px 16px; }
.ccpay-wizbar { list-style: none; display: flex; gap: 6px; margin: 0 0 30px; padding: 0; }
.ccpay-wizbar li { flex: 1; margin: 0; }
.ccpay .ccpay-wizbar button { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; padding: 0 0 12px; border: 0; border-bottom: 2px solid #e5e7eb; border-radius: 0; background: none; color: #9ca3af; font: 600 13px/1.2 'Inter', -apple-system, system-ui, sans-serif; text-transform: none; letter-spacing: 0; text-align: left; cursor: pointer; transition: color .15s, border-color .2s; }
.ccpay .ccpay-wizbar button:disabled { cursor: default; }
.ccpay-wizbar i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d1d5db; font-size: 11px; font-style: normal; transition: background .2s, border-color .2s, color .2s; }
.ccpay .ccpay-wizbar li.is-done button { color: #111827; border-bottom-color: #bcd0ff; }
.ccpay-wizbar li.is-done i { background: #eef4ff; border-color: #eef4ff; color: #1264ff; }
.ccpay .ccpay-wizbar li.is-current button { color: #1264ff; border-bottom-color: #1264ff; }
.ccpay-wizbar li.is-current i { background: #1264ff; border-color: #1264ff; color: #fff; }
.ccpay .ccpay-wizh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; font: 700 20px/1.3 'Inter', -apple-system, system-ui, sans-serif; letter-spacing: -.01em; color: #111827; text-transform: none; }
.ccpay-wizh:focus { outline: none; }
.ccpay-wizh .ccpay-hint { font-size: 12px; font-weight: 500; letter-spacing: 0; }
.ccpay-wiznav { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #f0f1f3; }
/* Back: a real (secondary) button on the left, only when there's a step to go back to. Continue: compact, on the right. */
.ccpay .ccpay-wiznav .ccpay-wiznext { width: auto; min-width: 140px; margin: 0 0 0 auto; padding: 12px 22px; font-size: 14.5px; }
.ccpay .ccpay-wiznav .ccpay-wiznext:disabled { background: #f3f4f6; color: #a1a7b0; }
.ccpay .ccpay-wizback { display: inline-flex; align-items: center; margin: 0; padding: 11px 18px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; color: #374151; font: 600 14px/1.2 'Inter', -apple-system, system-ui, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; transition: border-color .15s, color .15s; }
.ccpay .ccpay-wizback:hover { border-color: #c7d7fe; color: #1264ff; }
.ccpay .ccpay-wizh .ccpay-wizback { padding: 7px 14px; font-size: 13px; }

/* What's been picked so far */
.ccpay-picked { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; margin: -10px 0 24px; padding: 12px 16px; border: 1px solid #e3ebff; border-radius: 12px; background: #f6f8ff; }
.ccpay-picked span { display: flex; flex-direction: column; }
.ccpay-picked small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b93a1; }
.ccpay-picked b { font-size: 14px; font-weight: 600; color: #111827; }
.ccpay .ccpay-picked .ccpay-linkbtn { margin-left: auto; }

/* Weeks as a calendar: one row per month */
.ccpay .ccpay-weeks.ccpay-cal { display: grid; grid-template-columns: 1fr; gap: 0; }
.ccpay-month { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid #f0f1f3; }
.ccpay-month:first-child { border-top: 0; padding-top: 2px; }
.ccpay-month__name { padding-top: 10px; font-size: 14px; font-weight: 700; color: #111827; }
.ccpay-month__name span { display: block; font-size: 12px; font-weight: 500; color: #9ca3af; }
.ccpay-month__weeks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ccpay .ccpay-cal .ccpay-week { padding: 12px 12px 10px; border-radius: 12px; transition: border-color .15s, background .15s, box-shadow .2s, transform .2s; }
.ccpay .ccpay-cal .ccpay-week:hover:not(:disabled) { border-color: #1264ff; transform: translateY(-1px); }
.ccpay .ccpay-cal .ccpay-week .ccpay-week__days { display: block; margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.01em; color: #111827; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ccpay .ccpay-cal .ccpay-week .ccpay-week__spots { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11.5px; color: #6b7280; }
.ccpay-week__spots i { width: 6px; height: 6px; border-radius: 50%; background: #e5e7eb; }
.ccpay-week__spots i.on { background: #16a34a; }
.ccpay-week__spots em { margin-left: 3px; font-style: normal; }
.ccpay .ccpay-cal .ccpay-week.is-selected { background: #1264ff; border-color: #1264ff; box-shadow: 0 8px 18px rgba(18,100,255,.22); }
.ccpay .ccpay-cal .ccpay-week.is-selected .ccpay-week__days { color: #fff; }
.ccpay .ccpay-cal .ccpay-week.is-selected .ccpay-week__spots { color: rgba(255,255,255,.85); }
.ccpay-week.is-selected .ccpay-week__spots i { background: rgba(255,255,255,.35); }
.ccpay-week.is-selected .ccpay-week__spots i.on { background: #fff; }
.ccpay .ccpay-cal .ccpay-week:disabled .ccpay-week__days { color: #c4c8cf; text-decoration: line-through; }
@media (prefers-reduced-motion: reduce) { .ccpay .ccpay-cal .ccpay-week { transition: none; } .ccpay .ccpay-cal .ccpay-week:hover:not(:disabled) { transform: none; } }
.ccpay .ccpay-wizbar button:focus-visible, .ccpay .ccpay-wizback:focus-visible { outline: 2px solid #1264ff; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .ccpay [data-wiz]:not([hidden]) { animation: ccpay-step .25s ease-out; } }
@keyframes ccpay-step { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* summary */
.ccpay-billto { margin-bottom: 18px; }
.ccpay-billto strong { display: block; font-size: 15px; }
.ccpay-billto span { font-size: 13px; color: #6b7280; }
.ccpay-items { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.ccpay-items th { text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; padding: 10px 0; border-bottom: 2px solid #e5e7eb; }
.ccpay-items th:last-child, .ccpay-items td:last-child { text-align: right; }
.ccpay-items td { padding: 12px 0; font-size: 14px; border-bottom: 1px solid #f3f4f6; vertical-align: top; }
.ccpay-items td span { display: block; font-size: 12px; color: #6b7280; }
.ccpay-totals { margin-left: auto; width: 260px; }
.ccpay-totals--wide { width: 100%; background: #f7faff; border: 1px solid #e6efff; border-radius: 12px; padding: 12px 16px; }
.ccpay-totals__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; color: #6b7280; }
.ccpay-totals__row--total { border-top: 2px solid #e5e7eb; padding-top: 10px; margin-top: 4px; font-size: 16px; font-weight: 700; color: #111827; }

/* payment method */
.ccpay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.ccpay .ccpay-tab { margin: 0; padding: 10px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; color: #6b7280; font-size: 14px; font-weight: 600; cursor: pointer; }
.ccpay .ccpay-tab.is-active { border-color: #1264ff; background: #eef4ff; color: #1264ff; }
.ccpay .ccpay-tab small { font-size: 12px; font-weight: 500; opacity: .75; }
.ccpay .ccpay-feenote { margin: 0 0 10px; font-size: 13px; color: #4b5563; background: #f7faff; border: 1px solid #e6efff; border-radius: 8px; padding: 9px 12px; }
.ccpay .ccpay-linkbtn { all: unset; color: #1264ff; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ccpay-error { padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; font-size: 13px; color: #991b1b; margin-top: 10px; }
.ccpay .ccpay-btn { display: block; width: 100%; margin: 16px 0 0; padding: 14px; border: 0; border-radius: 10px; background: #1264ff; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s; box-shadow: none; }
.ccpay .ccpay-btn:hover { background: #0e4fd6; color: #fff; }
.ccpay .ccpay-btn:disabled { background: #d1d5db; color: #fff; cursor: not-allowed; }
.ccpay .ccpay-btn--ghost { background: #eef4ff; color: #1264ff; }
.ccpay .ccpay-btn--ghost:hover { background: #dbeafe; color: #1264ff; }
.ccpay .ccpay-help { margin-top: 8px; text-align: center; font-size: 12px; color: #6b7280; }
.ccpay .ccpay-help a { color: #1264ff; text-decoration: none; font-weight: 500; }
.ccpay-secure { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #9ca3af; }
.ccpay :focus-visible { outline: 2px solid #1264ff; outline-offset: 2px; }

/* done, empty, footer */
.ccpay-done { padding: 40px 36px 34px; text-align: center; }
.ccpay-done__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #f0fdf4; border: 1px solid #d1fae5; color: #16a34a; display: grid; place-items: center; }
.ccpay-done p { color: #4b5563; font-size: 15px; max-width: 46ch; margin: 0 auto; }
.ccpay-done dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 0; padding: 16px; background: #f7faff; border-radius: 12px; text-align: left; }
.ccpay .ccpay-processor a { color: #1264ff; text-decoration: none; }
.ccpay .ccpay-processor { margin: 14px auto 0; max-width: 52ch; font-size: 11.5px; line-height: 1.5; color: #9ca3af; }
.ccpay-done .ccpay-btn { margin-top: 22px; }
.ccpay-done dt { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; }
.ccpay-done dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; word-break: break-all; }
.ccpay-empty { text-align: center; padding: 20px 0 10px; }
.ccpay-empty p { color: #6b7280; }
.ccpay-foot { padding: 22px 0 40px; text-align: center; font-size: 11px; color: #9ca3af; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ccpay-foot img { height: 14px; width: auto; display: block; }

/* the modal on other pages */
.ccpay-dialog { width: min(610px, calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 0; border-radius: 18px; background: #f7f8fa; overflow: auto; }
.ccpay-dialog .ccpay-band { padding: 32px 0 96px; }
.ccpay-dialog .ccpay-wrap { width: calc(100% - 40px); }
.ccpay-dialog .ccpay-foot { padding-bottom: 22px; }
.ccpay-dialog::backdrop { background: rgba(17,24,39,.55); backdrop-filter: blur(3px); }
.ccpay-dialog[open] { animation: ccpay-in .2s ease-out; }
.ccpay-dialog .ccpay-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ccpay-dialog .ccpay-close:hover { background: rgba(255,255,255,.22); }
@keyframes ccpay-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .ccpay-dialog[open] { animation: none; } }

/* Booking in a modal on circlesco.com: part of the page, not a separate checkout. No dark band or logo, just a small title and the step bar. */
.ccpay-dialog:has(.ccpay--wide) { background: #fff; }
.ccpay-dialog .ccpay--wide .ccpay-wrap { width: 100%; }
.ccpay-dialog .ccpay--wide .ccpay-band { background: #fff; color: #111827; padding: 30px 40px 0; }
.ccpay-dialog .ccpay--wide .ccpay-brand { display: none; }
.ccpay-dialog .ccpay--wide .ccpay-title { margin: 0; padding-right: 48px; font: 600 26px/1.2 var(--display, 'Inter'), 'Inter', -apple-system, system-ui, sans-serif; letter-spacing: -.01em; color: #111827; }
.ccpay-dialog .ccpay--wide .ccpay-meta { margin-top: 6px; font-size: 14px; color: #6b7280; }
.ccpay-dialog .ccpay--wide .ccpay-testbar { background: #fef3c7; color: #92400e; }
.ccpay-dialog .ccpay--wide .ccpay-card { margin-top: 0; border-radius: 0; box-shadow: none; }
.ccpay-dialog .ccpay--wide .ccpay-body { padding: 24px 40px 36px; }
.ccpay-dialog .ccpay--wide .ccpay-foot { display: none; }
.ccpay-dialog:has(.ccpay--wide) .ccpay-close { top: 22px; right: 22px; background: #f3f4f6; color: #111827; }
.ccpay-dialog:has(.ccpay--wide) .ccpay-close:hover { background: #e5e7eb; }
@media (max-width: 640px) {
	.ccpay-dialog .ccpay--wide .ccpay-band { padding: 22px 20px 0; }
	.ccpay-dialog .ccpay--wide .ccpay-title { font-size: 22px; }
	.ccpay-dialog .ccpay--wide .ccpay-body { padding: 20px 20px 28px; }
	.ccpay-dialog:has(.ccpay--wide) .ccpay-close { top: 16px; right: 14px; }
}

@media (max-width: 640px) {
	.ccpay-wrap { width: calc(100% - 28px); }
	.ccpay-band { padding: 28px 0 92px; }
	.ccpay .ccpay-title { margin-top: 22px; font-size: 30px; }
	.ccpay-brand img { height: 26px; }
	.ccpay-body { padding: 24px 20px 26px; }
	.ccpay-grid2, .ccpay-pkgs { grid-template-columns: 1fr; }
	.ccpay-weeks, .ccpay--wide .ccpay-weeks { grid-template-columns: 1fr 1fr; }
	.ccpay--wide .ccpay-pkgs { grid-template-columns: 1fr; }
	.ccpay--wide .ccpay-wrap { width: calc(100% - 28px); }
	.ccpay-dialog:has(.ccpay--wide) { width: 100%; }
	.ccpay-wizbar span { display: none; }
	.ccpay-wizbar li.is-current span { display: inline; }
	.ccpay .ccpay-wiznav .ccpay-wiznext { min-width: 0; flex: 1; }
	.ccpay .ccpay-wizh:has(.ccpay-hint) { flex-direction: column; gap: 2px; }
	.ccpay-month { grid-template-columns: 1fr; gap: 8px; }
	.ccpay-month__name { padding-top: 0; }
	.ccpay-month__name span { display: inline; }
	.ccpay-month__weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ccpay .ccpay-cal .ccpay-week .ccpay-week__days { font-size: 16px; }
	.ccpay-totals { width: 100%; }
	.ccpay-amount { font-size: 30px; }
	.ccpay .ccpay-amountbox input, .ccpay-amountbox__num { font-size: 46px; }
	.ccpay-amountbox__row b { font-size: 22px; margin-top: 6px; }
	.ccpay-done { padding: 30px 18px 26px; }
	.ccpay-dialog { width: 100%; max-width: 100%; max-height: 100dvh; margin: 0; border-radius: 0; }
	.ccpay-dialog:has(.ccpay--wide) { min-height: 100dvh; }
}
