/* Chenies Manor Bookings - Wizard Styles */
:root { --chb:#5D6D6B; --chb2:#91A19F; --r:3px; }

.chb-wizard { max-width:540px; margin:0 auto; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; color:#fff; }

/* Progress & step label (bottom position) */
.chb-step-label { text-align:center; font-size:15px; font-weight:600; color:#fff; margin:24px 0 8px; }
.chb-progress { height:6px; background:rgba(255,255,255,.2); border-radius:var(--r); margin-bottom:16px; overflow:hidden; }
.chb-progress-bar { height:100%; background:#fff; border-radius:var(--r); transition:width .4s ease; }

/* Steps */
.chb-step { display:none; animation:chbFadeIn .3s ease; }
.chb-step.active { display:block; }
@keyframes chbFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.chb-step h2 { font-size:24px; font-weight:700; margin:0 0 8px; color:#fff; }
.chb-hint { color:rgba(255,255,255,.75); font-size:15px; margin:0 0 20px; }

/* Date picker */
.chb-datepick { background:rgba(255,255,255,.08); border-radius:var(--r); overflow:hidden; margin-bottom:20px; }
.chb-dp-header { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; background:var(--chb); }
.chb-dp-nav { background:rgba(255,255,255,.15); border:none; color:#fff; font-size:15px; font-weight:700; cursor:pointer; padding:10px 18px; border-radius:var(--r); transition:background .2s; }
.chb-dp-nav:hover { background:rgba(255,255,255,.3); }
.chb-dp-title { font-size:18px; font-weight:600; color:#fff; }
.chb-dp-list { display:flex; flex-direction:column; gap:6px; padding:12px; }
.chb-dp-item { display:flex; justify-content:space-between; align-items:center; padding:16px 18px; background:rgba(255,255,255,.12); border-radius:var(--r); cursor:pointer; transition:background .15s; }
.chb-dp-item:hover { background:rgba(255,255,255,.22); }
.chb-dp-item-sel { background:#fff !important; }
.chb-dp-item-sel .chb-dp-date { color:var(--chb) !important; }
.chb-dp-item-sel .chb-dp-tag { background:var(--chb); color:#fff; }
.chb-dp-item-sel .chb-dp-tag-no { background:var(--chb2); }
.chb-dp-date { font-size:16px; color:#fff; }
.chb-dp-date strong { font-weight:700; }
.chb-dp-tags { display:flex; gap:6px; flex-wrap:wrap; }
.chb-dp-tag { font-size:12px; padding:4px 8px; background:rgba(255,255,255,.15); color:rgba(255,255,255,.8); border-radius:var(--r); font-weight:600; }
.chb-dp-tag-event { background:rgba(255,255,255,.25); color:#fff; }
.chb-dp-tag-no { background:rgba(255,255,255,.2); color:#fff; font-weight:500; }
.chb-dp-empty { text-align:center; padding:40px 20px; font-size:16px; color:rgba(255,255,255,.6); line-height:1.6; }

/* Cards (visit type, discounts) */
.chb-cards { display:flex; flex-direction:column; gap:8px; }
.chb-card { display:flex; align-items:center; gap:14px; padding:16px 18px; background:rgba(255,255,255,.1); border:none; border-radius:var(--r); cursor:pointer; transition:background .15s; }
.chb-card:hover { background:rgba(255,255,255,.18); }
.chb-card-active { background:#fff !important; }
.chb-card-active .chb-card-body strong { color:var(--chb); }
.chb-card-active .chb-card-body span { color:#666; }
.chb-card-active .chb-card-price { color:var(--chb); }
.chb-card input { display:none; }
.chb-card-icon { width:32px; height:32px; flex-shrink:0; filter:brightness(0) invert(1); transition:filter .15s; }
.chb-card-active .chb-card-icon { filter:brightness(0); }
.chb-card-icon-pair { display:flex; gap:4px; flex-shrink:0; }
.chb-card-icon-sm { width:24px; height:24px; filter:brightness(0) invert(1); transition:filter .15s; }
.chb-card-active .chb-card-icon-sm { filter:brightness(0); }
.chb-card-body { display:flex; flex-direction:column; gap:2px; }
.chb-card-body strong { font-size:17px; color:#fff; }
.chb-card-body span { font-size:14px; color:rgba(255,255,255,.7); }
.chb-card-price { font-weight:600; color:rgba(255,255,255,.9); }
.chb-cards-sm .chb-card { padding:14px 16px; }
.chb-cards-sm .chb-card-body strong { font-size:15px; }
.chb-cards-sm { gap:12px; }

/* Stepper (guests/addons) */
.chb-row { display:flex; justify-content:space-between; align-items:center; padding:18px 0; border-bottom:1px solid rgba(255,255,255,.15); }
.chb-row:last-child { border-bottom:none; }
.chb-row strong { font-size:16px; color:#fff; }
.chb-row small { color:rgba(255,255,255,.65); font-size:13px; }
.chb-stepper { display:flex; align-items:center; gap:0; }
.chb-sbtn { width:48px; height:48px; border:none; background:rgba(255,255,255,.15); font-size:22px; font-weight:700; cursor:pointer; color:#fff; transition:background .15s; display:flex; align-items:center; justify-content:center; }
.chb-sbtn:first-child { border-radius:var(--r) 0 0 var(--r); }
.chb-sbtn:last-child { border-radius:0 var(--r) var(--r) 0; }
.chb-sbtn:hover { background:rgba(255,255,255,.3); }
.chb-sbtn:active { transform:scale(.95); }
.chb-sval { width:52px; height:48px; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700; background:rgba(255,255,255,.08); color:#fff; }

/* Form fields */
.chb-field { margin-bottom:16px; }
.chb-field label { display:block; font-size:15px; font-weight:600; margin-bottom:6px; color:#fff; }
.chb-field small { font-weight:400; color:rgba(255,255,255,.5); }
.chb-input { width:100%; padding:14px 16px; border:none; border-radius:var(--r); font-size:16px; background:#fff; color:#333; transition:box-shadow .2s; box-sizing:border-box; }
.chb-input:focus { outline:none; box-shadow:0 0 0 3px rgba(255,255,255,.4); }

/* Validate rows */
.chb-validate-row { background:rgba(255,255,255,.1); border-radius:var(--r); padding:16px; margin-top:12px; }
.chb-validate-row label { display:block; font-size:14px; font-weight:600; margin-bottom:6px; color:#fff; }
.chb-validate-row .chb-input { margin-bottom:8px; }
.chb-check-btn { padding:10px 20px; background:#fff; color:var(--chb); border:none; border-radius:var(--r); font-size:15px; font-weight:600; cursor:pointer; transition:background .2s; }
.chb-check-btn:hover { background:#e8edec; }

/* Voucher toggle */
.chb-voucher-toggle { margin-top:16px; }
.chb-voucher-toggle .chb-card { padding:14px 16px; }
.chb-voucher-toggle .chb-card-body strong { font-size:15px; }
.chb-voucher-help { margin:12px 0 0; font-size:13px; color:rgba(255,255,255,0.75); line-height:1.5; }
.chb-voucher-help a { color:#fff; text-decoration:underline; }

/* Consents */
.chb-consents { margin-top:20px; }
.chb-consent { display:flex; align-items:flex-start; gap:10px; padding:12px 0; font-size:15px; cursor:pointer; border-bottom:1px solid rgba(255,255,255,.15); color:#fff; }
.chb-consent:last-child { border-bottom:none; }
.chb-consent input { width:20px; height:20px; margin-top:2px; flex-shrink:0; cursor:pointer; }
.chb-consent a { color:#c8e6c9; }

/* Summary */
.chb-summary { background:rgba(255,255,255,.1); border-radius:var(--r); padding:20px; margin-bottom:16px; }
.chb-sr { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.1); font-size:15px; }
.chb-sr:last-child { border-bottom:none; }
.chb-sr span:last-child { font-weight:600; }
.chb-total-box { display:flex; justify-content:space-between; align-items:center; padding:20px; background:#fff; color:var(--chb); border-radius:var(--r); font-size:18px; margin-bottom:20px; }
.chb-total { font-size:26px; font-weight:700; }
.chb-tour-notice { background:rgba(255,255,255,.12); padding:14px 18px; border-radius:var(--r); font-size:15px; text-align:center; margin-bottom:16px; }

/* Navigation */
.chb-nav { display:flex; justify-content:space-between; gap:12px; margin-top:4px; }
.chb-btn { padding:16px 32px; border:none; border-radius:var(--r); font-size:18px; font-weight:600; cursor:pointer; transition:all .2s; flex:1; text-align:center; }
.chb-btn-back { background:rgba(255,255,255,.15); color:#fff; flex:0.4; }
.chb-btn-back:hover { background:rgba(255,255,255,.25); }
.chb-btn-next { background:#fff; color:var(--chb); }
.chb-btn-next:hover { background:#e8edec; transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,.15); }
.chb-btn-pay { background:#fff; color:var(--chb); font-weight:700; }
.chb-btn-pay:hover { background:#e8edec; }
.chb-btn:disabled { opacity:.6; cursor:not-allowed; transform:none !important; }

/* Errors */
.chb-err { background:rgba(200,80,80,.2); color:#ffcccc; border:none; padding:14px 18px; border-radius:var(--r); font-size:15px; margin-top:12px; text-align:center; }
.chb-err-inline { color:#ffaaaa; font-size:14px; }
.chb-ok-inline { color:#c8e6c9; font-size:14px; font-weight:600; }

/* Confirmation */
.chb-done { text-align:center; padding:40px 20px; }
.chb-done-tick { width:72px; height:72px; background:rgba(255,255,255,.15); color:#fff; font-size:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.chb-done h2 { color:#c8e6c9; }
.chb-done-ref { font-size:24px; font-weight:700; color:#fff; background:rgba(255,255,255,.12); padding:12px 24px; border-radius:var(--r); display:inline-block; margin:8px 0; }

/* Responsive */
@media (max-width:540px) {
    .chb-wizard { padding:0 12px; }
    .chb-step h2 { font-size:20px; }
    .chb-btn { padding:14px 20px; font-size:16px; }
    .chb-sbtn { width:44px; height:44px; }
    .chb-sval { width:48px; height:44px; }
    .chb-card { padding:14px 16px; }
}

/* ==========================================================================
   Shared form styles (Membership & Voucher forms)
   ========================================================================== */

.chb-membership-form-wrapper,
.chb-voucher-form-wrapper { max-width:720px; margin:0 auto; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; color:#fff; }

.chb-booking-form h2 { font-size:24px; font-weight:700; margin:0 0 8px; color:#fff; }
.chb-booking-form > p { color:rgba(255,255,255,.75); font-size:15px; margin:0 0 24px; }
.chb-booking-form h3 { font-size:18px; font-weight:700; color:#fff; margin:28px 0 12px; border-bottom:1px solid rgba(255,255,255,.15); padding-bottom:10px; }
.chb-booking-form h3:first-of-type { margin-top:0; }
.chb-booking-form p small { color:rgba(255,255,255,.6); font-size:13px; }

/* Form groups & rows */
.chb-form-group { margin-bottom:14px; }
.chb-form-group > label { display:block; font-size:15px; font-weight:600; margin-bottom:6px; color:#fff; }
.chb-form-group small { display:block; color:rgba(255,255,255,.5); font-size:13px; margin-top:4px; }
.chb-form-row { display:flex; gap:14px; }
.chb-form-row .chb-form-group { flex:1; }

/* Inputs & textareas */
.chb-booking-form input[type="text"],
.chb-booking-form input[type="email"],
.chb-booking-form input[type="tel"],
.chb-booking-form textarea { width:100%; padding:14px 16px; border:none; border-radius:var(--r); font-size:16px; background:#fff; color:#333; transition:box-shadow .2s; box-sizing:border-box; font-family:inherit; }
.chb-booking-form input[type="text"]:focus,
.chb-booking-form input[type="email"]:focus,
.chb-booking-form input[type="tel"]:focus,
.chb-booking-form textarea:focus { outline:none; box-shadow:0 0 0 3px rgba(255,255,255,.4); }
.chb-booking-form textarea { resize:vertical; }

/* Radio option cards */
.chb-membership-options,
.chb-voucher-options { display:flex; flex-direction:row; gap:8px; }
.chb-membership-option,
.chb-voucher-option { display:flex; align-items:flex-start; gap:14px; padding:16px 18px; background:rgba(255,255,255,.1); border-radius:var(--r); cursor:pointer; transition:background .15s; flex:1; }
.chb-membership-option:hover,
.chb-voucher-option:hover { background:rgba(255,255,255,.18); }
.chb-membership-option input,
.chb-voucher-option input { flex-shrink:0; width:18px; height:18px; cursor:pointer; }
.chb-membership-option input:checked ~ .chb-option-content,
.chb-voucher-option input:checked ~ .chb-option-content { /* active state handled by parent */ }
.chb-membership-option:has(input:checked),
.chb-voucher-option:has(input:checked) { background:#fff; }
.chb-membership-option:has(input:checked) .chb-option-content strong,
.chb-voucher-option:has(input:checked) .chb-option-content strong { color:var(--chb); }
.chb-membership-option:has(input:checked) .chb-option-desc,
.chb-voucher-option:has(input:checked) .chb-option-desc { color:#666; }
.chb-membership-option:has(input:checked) .chb-option-price,
.chb-voucher-option:has(input:checked) .chb-option-price { color:var(--chb); }

.chb-option-content { display:flex; flex-direction:column; gap:2px; }
.chb-option-content strong { font-size:17px; color:#fff; }
.chb-option-desc { font-size:14px; color:rgba(255,255,255,.7); }
.chb-option-price { font-size:15px; font-weight:700; color:rgba(255,255,255,.9); margin-top:2px; }

/* Checkboxes */
.chb-checkbox-group { margin-bottom:10px; }
.chb-checkbox-group label { display:flex; align-items:center; gap:10px; font-size:15px; color:#fff; cursor:pointer; }
.chb-checkbox-group input[type="checkbox"] { width:20px; height:20px; flex-shrink:0; cursor:pointer; }
.chb-checkbox-group + small { color:rgba(255,255,255,.5); font-size:13px; margin-top:-4px; display:block; padding-left:30px; }
.chb-checkbox-group a { color:#c8e6c9; }

/* Price summary */
.chb-price-summary { background:rgba(255,255,255,.1); border-radius:var(--r); padding:16px 20px; margin:24px 0; }
.chb-price-line { display:flex; justify-content:space-between; padding:6px 0; font-size:15px; color:rgba(255,255,255,.8); }
.chb-price-total { border-top:1px solid rgba(255,255,255,.15); padding-top:10px; margin-top:6px; font-size:17px; font-weight:700; color:#fff; }
.chb-validity { font-size:14px; color:rgba(255,255,255,.6); margin:8px 0 0; }

/* Submit button */
.chb-submit-btn { display:block; width:100%; padding:16px 32px; border:none; border-radius:var(--r); font-size:18px; font-weight:600; cursor:pointer; background:#fff; color:var(--chb); transition:all .2s; margin-top:20px; }
.chb-submit-btn:hover { background:#e8edec; transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,.15); }
.chb-submit-btn:disabled { opacity:.6; cursor:not-allowed; transform:none !important; }

/* Payment section */
.chb-payment-section { margin-top:20px; }
.chb-payment-section h3 { font-size:18px; font-weight:700; color:#fff; margin:0 0 16px; }
.chb-payment-loading { color:rgba(255,255,255,.6); font-size:15px; padding:20px 0; text-align:center; }

/* Confirmation */
.chb-confirmation-section { text-align:center; padding:40px 20px; }
.chb-message-success { background:rgba(255,255,255,.1); border-radius:var(--r); padding:30px; }
.chb-message-success h3 { color:#c8e6c9; font-size:22px; margin:0 0 12px; border:none; }
.chb-message-success p { color:rgba(255,255,255,.8); font-size:16px; margin:8px 0; }
.chb-message-success strong { color:#fff; }
.chb-confirmation-ref { font-size:24px; font-weight:700; color:#fff; background:rgba(255,255,255,.12); padding:8px 20px; border-radius:var(--r); display:inline-block; }
.chb-message-error { background:rgba(200,80,80,.2); color:#ffcccc; padding:14px 18px; border-radius:var(--r); font-size:15px; text-align:center; margin-top:12px; }

/* Responsive - forms */
@media (max-width:720px) {
    .chb-form-row { flex-direction:column; gap:0; }
    .chb-membership-options, .chb-voucher-options { flex-direction:column; }
    .chb-membership-option, .chb-voucher-option { padding:14px 16px; }
    .chb-option-content strong { font-size:15px; }
    .chb-submit-btn { padding:14px 20px; font-size:16px; }
}

/* Payment timer */
.chb-timer-bar { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:var(--r); padding:12px 16px; margin:0 0 20px; text-align:center; color:rgba(255,255,255,.85); font-size:14px; }
.chb-timer-bar strong { color:#fff; font-size:16px; font-variant-numeric:tabular-nums; }
.chb-timer-icon { margin-right:6px; }
.chb-timer-bar.chb-timer-urgent { background:rgba(200,80,80,.25); border-color:rgba(200,80,80,.5); }
.chb-timer-bar.chb-timer-urgent strong { color:#ffaaaa; }
.chb-timer-expired { text-align:center; padding:40px 20px; }
.chb-timer-expired h3 { color:#ffaaaa; font-size:20px; margin:0 0 12px; border:none; }
.chb-timer-expired p { color:rgba(255,255,255,.7); font-size:15px; margin:0 0 20px; }
