/* Booking Settings (booking-settings-page.js). */
.bs-main { box-sizing: border-box; max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; color: #13302f; font-size: 16px; }
.bs-main h1 { margin: 2px 0 6px; font-size: 30px; letter-spacing: -0.8px; }
.bs-eyebrow { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: 2px; color: #0b6e69; }
.bs-lead { margin: 0 0 16px; color: #3d5552; line-height: 1.5; }
.bs-status { font-weight: 700; color: #0b6e69; }
.bs-status.is-error { color: #a3341f; }
.bs-status:empty { display: none; }
.bs-for { display: grid; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.4px; color: #4a605d; }
.bs-for select { min-height: 48px; border: 1px solid #c9d6d3; border-radius: 12px; padding: 0 12px; background: #fff; color: #13302f; font: inherit; font-size: 15px; font-weight: 700; }
.bs-roles { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #e3f2ef; color: #0b4f4b; font-size: 13px; line-height: 1.45; }
.bs-card { display: grid; gap: 14px; margin: 0 0 16px; padding: 18px 16px; border: 1px solid #dbe5ea; border-radius: 20px; background: #fff; }
.bs-card h2 { margin: 0; font-size: 19px; }
.bs-help { margin: -6px 0 0; color: #3d5552; font-size: 14px; line-height: 1.5; }
.bs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 14px; background: #f4f8fa; }
.bs-tab { min-height: 44px; border: 2px solid transparent; border-radius: 11px; background: transparent; color: #3d5552; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.bs-tab.is-on { border-color: #0b6e69; background: #fff; color: #0b6e69; }
.bs-tab:disabled { cursor: default; }
.bs-field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.bs-field small { font-size: 12px; font-weight: 500; color: #4a605d; }
.bs-input { display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; border: 1px solid #c9d6d3; border-radius: 12px; background: #fff; }
.bs-input input { flex: 1; min-width: 0; border: 0; outline: none; padding: 12px 0; font: inherit; font-weight: 700; background: transparent; }
.bs-unit { color: #4a605d; font-weight: 700; }
.bs-note { margin: 0; padding: 12px; border-radius: 12px; background: #f4f8fa; color: #3d5552; font-size: 14px; }
.bs-preview { display: grid; gap: 6px; padding: 14px; border: 1px solid #dbe5ea; border-radius: 14px; font-size: 14px; }
.bs-preview span { padding: 10px 12px; border: 1px solid #c9d6d3; border-radius: 12px; font-weight: 800; }
.bs-preview-title { font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: #4a605d; }
.bs-save { min-height: 50px; border: 0; border-radius: 13px; background: #0b6e69; color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.bs-save:disabled { opacity: .65; cursor: wait; }
.bs-links { gap: 0; padding: 0; overflow: hidden; }
.bs-link { display: grid; gap: 2px; min-height: 64px; padding: 12px 16px; border-bottom: 1px solid #dbe5ea; color: #13302f; text-decoration: none; }
.bs-link:last-child { border-bottom: 0; }
.bs-link span { font-size: 13px; color: #4a605d; }
.bs-link:hover strong { color: #0b6e69; }
.bs-sub { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid #dbe5ea; }
.bs-sub h3 { margin: 0; font-size: 16px; }
.bs-switch { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; cursor: pointer; }
.bs-switch input { width: 22px; height: 22px; margin: 0; accent-color: #0b6e69; }
.bs-field select { min-height: 48px; border: 1px solid #c9d6d3; border-radius: 12px; padding: 0 12px; background: #fff; color: #13302f; font: inherit; font-weight: 700; }

/* The form fields the payment editor uses (also in account.css for the rest of Account settings). */
.bs-money .account-field { display: grid; gap: 6px; margin: 0 0 12px; font-weight: 600; font-size: 14px; }
.bs-money .account-field input, .bs-money .account-field select { width: 100%; max-width: 420px; padding: 11px 12px; border: 1px solid #cad3d5; border-radius: 10px; font: inherit; background: #fff; }
.bs-money .account-verified { color: #16835e; font-weight: 700; }
.bs-money { gap: 10px; }
.bs-money .outline-btn, .bs-money .primary-btn { justify-self: start; }
/* My Teams › Booking Settings (member-pages.js) */
.bs-team { display: grid; gap: 12px; max-width: 640px; }
.bs-team .bs-card, .bs-team .bs-roles { margin: 0; }
/* Where guests pay (booking-settings-panel.js payments): Account settings, Booking Settings and My Teams. */
.pay-groups { display: grid; gap: 18px; }
.pay-group h3 { margin: 0 0 6px; font-size: 17px; }
.pay-group > .muted { margin: 0 0 8px; }
.pay-option { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line, #dbe5ea); }
.pay-option-info { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.pay-option-info strong { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pay-default { background: #e6f4f1; color: #0f6b5c; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 800; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pay-form { display: grid; gap: 2px; margin-top: 10px; padding: 14px; border: 1px solid var(--line, #dbe5ea); border-radius: 14px; background: #f8fbfb; }
.pay-form .primary-btn { justify-self: start; }
.pay-form .text-btn { justify-self: start; }
.account-field select { width: 100%; max-width: 420px; padding: 11px 12px; border: 1px solid #cad3d5; border-radius: 10px; font: inherit; background: #fff; }
.pay-qr-field { justify-items: start; }
.pay-qr-field > small { font-weight: 400; }
.pay-qr-pick { cursor: pointer; position: relative; }
.pay-qr-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.pay-status { margin: 6px 0 0; color: #b42318; font-weight: 700; font-size: 14px; }
.pay-status:empty { display: none; }

/* Refund and cancellation policy (booking-settings-panel.js policy). */
.policy-group { display: grid; gap: 8px; justify-items: start; }
.policy-rows { display: grid; gap: 8px; width: 100%; }
.policy-row { align-items: center; display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line, #dbe5ea); border-radius: 12px; background: #f8fbfb; }
/* Beats the pages' full-width card inputs (member-workspace.css), so a row reads as one sentence. */
.pay-groups .policy-rows .policy-row input:not([type=checkbox]) { width: 64px; flex: 0 0 64px; padding: 8px 4px; border: 1px solid #cad3d5; border-radius: 8px; font: inherit; font-weight: 800; text-align: center; }
.policy-remove { margin-left: auto; }
.policy-label { color: var(--muted, #536b68); font-weight: 700; }
.policy-preview { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }

/* Folding sections (booking-settings-panel.js panel): title and a summary line until opened. */
.bs-fold { display: block; padding: 0; overflow: hidden; }
.bs-fold > summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; cursor: pointer; list-style: none; }
.bs-fold > summary::-webkit-details-marker { display: none; }
.bs-fold > summary:focus-visible { outline: 3px solid #0b6e69; outline-offset: -3px; border-radius: 20px; }
.bs-fold[open] > summary { border-bottom: 1px solid #eef3f5; }
.bs-fold-title { display: grid; gap: 3px; flex: 1; min-width: 0; }
.bs-fold-title h2 { margin: 0; font-size: 17px; }
.bs-fold-line { font-size: 13px; line-height: 1.4; color: #4a605d; overflow-wrap: anywhere; }
.bs-fold-caret { flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2.5px solid #0b6e69; border-bottom: 2.5px solid #0b6e69; transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.bs-fold[open] .bs-fold-caret { transform: rotate(-135deg) translateY(-3px); }
.bs-fold-body { display: grid; gap: 14px; padding: 16px 16px 18px; }
.bs-money .bs-fold-body { gap: 10px; }
.bs-fold-body .bs-help { margin: 0; }
.bs-fold-sub { margin: 0; font-size: 16px; }

/* Fixed policies (booking-settings-panel.js presetGroup): one card per choice and the check-in time.
   The selectors beat the pages' card labels and inputs (member-workspace.css). */
.pay-groups .policy-for { margin: 6px 0 0; font-size: 14px; color: #3d5552; }
.pay-groups .policy-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; width: 100%; }
.pay-groups .policy-cards .policy-card { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px; border: 2px solid #dbe5ea; border-radius: 14px; background: #fff; color: #3d5552; font-size: 13px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.pay-groups .policy-cards .policy-card.is-on { border-color: #0b6e69; background: #f2faf8; }
.pay-groups .policy-cards .policy-card:focus-within { outline: 3px solid #0b6e69; outline-offset: 2px; }
.pay-groups .policy-cards .policy-card:has(input:disabled) { cursor: default; }
.pay-groups .policy-cards .policy-card input[type] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: #0b6e69; }
.policy-card-text { display: grid; gap: 3px; min-width: 0; }
.policy-card-text strong { font-size: 15px; color: #13302f; }
.pay-groups .policy-time { width: 100%; max-width: 280px; }
.pay-groups .policy-time input { min-height: 48px; border: 1px solid #c9d6d3; border-radius: 12px; padding: 0 12px; background: #fff; color: #13302f; font: inherit; font-weight: 700; }
.bs-note.bs-warn { background: #fff6e5; color: #7a4b00; }
