/* All In One Booking Core: front-end styles. Logical properties so RTL works. */
.jbm-box,.jbm-checkout,.jbm-voucher,.jbm-account,.jbm-dashboard{--jbm-accent:#0f766e;--jbm-border:#e5e7eb;--jbm-muted:#6b7280;box-sizing:border-box}
.jbm-box *,.jbm-checkout *,.jbm-voucher *,.jbm-account *,.jbm-dashboard *{box-sizing:border-box}
.jbm-box{border:1px solid var(--jbm-border);border-radius:12px;padding:16px;background:#fff;display:grid;gap:12px}
.jbm-box label,.jbm-form label{display:grid;gap:4px;font-size:14px;font-weight:600}
.jbm-box input,.jbm-box select,.jbm-form input,.jbm-form select,.jbm-form textarea{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:8px;font:inherit;background:#fff;color:inherit}
.jbm-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.jbm-button{display:inline-block;background:var(--jbm-accent);color:#fff;border:0;border-radius:8px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer;text-align:center;text-decoration:none}
.jbm-button:hover{filter:brightness(1.1)}
.jbm-button[disabled]{opacity:.5;cursor:not-allowed}
.jbm-button-secondary{background:#374151}
.jbm-button-danger{background:#b91c1c}
.jbm-note{color:var(--jbm-muted);font-size:13px;margin:0;font-weight:400}
.jbm-quote{font-size:14px;border-block:1px dashed var(--jbm-border);padding-block:10px;min-height:2.4em}
.jbm-quote.is-error{color:#b91c1c}
.jbm-lines{width:100%;border-collapse:collapse;margin-block:12px}
.jbm-lines td,.jbm-lines th{padding:8px 6px;border-bottom:1px solid var(--jbm-border);text-align:start;vertical-align:top}
.jbm-lines td:last-child,.jbm-lines th:last-child{text-align:end;white-space:nowrap}
.jbm-bookings td:last-child,.jbm-bookings th:last-child{text-align:start}
.jbm-table-wrap{overflow-x:auto}
.jbm-checkout{display:grid;gap:24px}
@media(min-width:900px){.jbm-checkout{grid-template-columns:1fr 1fr;align-items:start}}
.jbm-summary,.jbm-form,.jbm-voucher{border:1px solid var(--jbm-border);border-radius:12px;padding:16px;background:#fff}
.jbm-form{display:grid;gap:12px}
.jbm-check{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important}
.jbm-check input{width:auto;margin-block-start:4px}
.jbm-hp{position:absolute;inset-inline-start:-9999px;height:0;overflow:hidden}
.jbm-notice{padding:12px 14px;border-radius:8px;margin-block:12px;border:1px solid var(--jbm-border);background:#f9fafb}
.jbm-notice-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.jbm-notice-success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.jbm-badge{display:inline-block;background:#e5e7eb;border-radius:999px;padding:3px 10px;font-size:13px;font-weight:700;margin-inline-end:6px}
.jbm-badge-confirmed,.jbm-badge-completed{background:#d1fae5;color:#065f46}
.jbm-badge-pending,.jbm-badge-requested{background:#fef3c7;color:#92400e}
.jbm-badge-cancelled,.jbm-badge-expired,.jbm-badge-refunded{background:#fee2e2;color:#991b1b}
.jbm-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-block:16px}
.jbm-inline{display:inline-flex;gap:10px;align-items:center;flex-wrap:wrap}
.jbm-account-grid{display:grid;gap:24px}
@media(min-width:800px){.jbm-account-grid{grid-template-columns:1fr 1fr}}
.jbm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-block:12px}
.jbm-card{border:1px solid var(--jbm-border);border-radius:10px;padding:12px;background:#fff}
.jbm-card strong{display:block;font-size:22px}
.jbm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}
.jbm-tabs a{padding:8px 14px;border-radius:999px;border:1px solid var(--jbm-border);text-decoration:none;color:inherit}
.jbm-tabs a.is-active{background:var(--jbm-accent);color:#fff;border-color:var(--jbm-accent)}
@media print{
 body *{visibility:hidden}
 .jbm-voucher,.jbm-voucher *{visibility:visible}
 .jbm-voucher{position:absolute;inset:0;border:0}
 .jbm-actions{display:none}
}

/* ---------- v0.8.1: alignment fixes + modern look ---------- */
.jbm-box,.jbm-checkout,.jbm-voucher,.jbm-account,.jbm-dashboard,.jbm-form{--jbm-accent:var(--jbt-brand,#0f766e);--jbm-accent-dark:var(--jbt-brand-dark,#0a5157)}
/* Fields never push out of their box (the date fields were wider than the column). */
.jbm-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.jbm-row>*,.jbm-box>*,.jbm-form>*,.jbm-box label,.jbm-form label{min-width:0}
.jbm-box input,.jbm-box select,.jbm-form input,.jbm-form select,.jbm-form textarea{display:block;max-width:100%;min-width:0;min-height:46px;border-color:#cfd8dc;border-radius:10px;transition:border-color .15s,box-shadow .15s}
.jbm-form textarea{min-height:96px}
.jbm-box input:focus,.jbm-box select:focus,.jbm-form input:focus,.jbm-form select:focus,.jbm-form textarea:focus{outline:0;border-color:var(--jbm-accent);box-shadow:0 0 0 3px rgba(14,107,114,.18)}
.jbm-box label,.jbm-form label{color:#1b2a2f}
.jbm-box{border-radius:16px}
.jbm-quote{background:linear-gradient(135deg,#f0fafa,#fff8ec);border:1px solid #e3eef0;border-radius:12px;padding:12px 14px;text-align:center;font-weight:600}
.jbm-button{background:linear-gradient(135deg,var(--jbm-accent),var(--jbm-accent-dark));border-radius:12px;min-height:48px;padding:12px 20px;box-shadow:0 6px 16px rgba(14,107,114,.25);transition:transform .15s,box-shadow .15s,filter .15s}
.jbm-button:hover{filter:none;transform:translateY(-1px);box-shadow:0 10px 22px rgba(14,107,114,.32);color:#fff}
.jbm-button-secondary{background:linear-gradient(135deg,#475569,#334155);box-shadow:0 6px 16px rgba(51,65,85,.22)}
.jbm-button-danger{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 6px 16px rgba(185,28,28,.22)}
.jbm-box .jbm-button,.jbm-form>.jbm-button,.jbm-form>button.jbm-button{width:100%}
.jbm-summary,.jbm-form,.jbm-voucher{border-radius:16px;box-shadow:0 6px 22px rgba(20,40,45,.07)}
.jbm-notice{border-radius:12px}
.jbm-notice-success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.jbm-notice-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.jbm-notice-info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}
.jbm-card{border-radius:14px;border-top:3px solid var(--jbm-accent);box-shadow:0 4px 14px rgba(20,40,45,.06)}
.jbm-tabs a{transition:background .15s,color .15s}
.jbm-tabs a:hover{background:#f0fafa}
.jbm-tabs a.is-active{background:linear-gradient(135deg,var(--jbm-accent),var(--jbm-accent-dark))}
.jbm-wa-wrap .jbm-whatsapp{width:100%;justify-content:center;box-sizing:border-box}
@media (prefers-reduced-motion:reduce){.jbm-button,.jbm-box input,.jbm-box select{transition:none}.jbm-button:hover{transform:none}}
/* Show / hide password (v0.10.0) */
.jbm-pw{position:relative;display:block}
.jbm-pw input{padding-inline-end:72px!important}
.jbm-pw-toggle{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);background:#eef6f6;border:0;border-radius:8px;padding:6px 10px;font:inherit;font-size:13px;font-weight:700;color:var(--jbm-accent,#0f766e);cursor:pointer}
.jbm-pw-toggle:hover{background:#dcefef}
.jbm-form input[type="file"]{padding:9px;background:#fbfdfd;border-style:dashed}

/* v0.12.1: a button used outside the plugin boxes (for example "Sign in" on the Become a host page) must still be visible */
.jbm-button{--jbm-accent:var(--jbt-brand,#0f766e);--jbm-accent-dark:var(--jbt-brand-dark,#0a5157);background:linear-gradient(135deg,var(--jbm-accent),var(--jbm-accent-dark));color:#fff}
.jbm-button:hover,.jbm-button:focus{color:#fff}

/* v0.12.2: modern host "add property" form (fieldset cards, amenity chips, photo drop area, button row) */
.jbm-form .jbm-fs{border:1px solid var(--jbm-border,#e5e7eb);border-radius:16px;background:#f7fbfb;padding:18px 18px 16px;margin:6px 0;min-width:0}
.jbm-form .jbm-fs>legend{font-weight:800;font-size:15px;color:var(--jbm-accent-dark,#0a5157);background:#fff;border:1px solid var(--jbm-border,#e5e7eb);border-radius:999px;padding:5px 14px;margin-inline-start:2px}
.jbm-form .jbm-chips{display:flex;flex-wrap:wrap;gap:10px;margin-block-start:4px}
.jbm-form label.jbm-chip{display:inline-flex!important;position:relative;font-weight:600;cursor:pointer;margin:0}
.jbm-form .jbm-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;min-height:0;margin:0;cursor:pointer}
.jbm-form .jbm-chip span{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px solid #cfdcde;border-radius:999px;background:#fff;color:#1b2a2f;font-size:14px;line-height:1.2;transition:all .15s}
.jbm-form .jbm-chip span::before{content:"";width:16px;height:16px;border-radius:50%;border:2px solid #b7c8ca;background:#fff;flex:none;transition:all .15s}
.jbm-form .jbm-chip:hover span{border-color:var(--jbm-accent,#0f766e);transform:translateY(-1px)}
.jbm-form .jbm-chip input:checked+span{background:linear-gradient(135deg,var(--jbm-accent,#0f766e),var(--jbm-accent-dark,#0a5157));border-color:transparent;color:#fff;box-shadow:0 6px 14px rgba(14,107,114,.25)}
.jbm-form .jbm-chip input:checked+span::before{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a5157' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;border-color:#fff}
.jbm-form .jbm-chip input:focus-visible+span{outline:3px solid rgba(14,107,114,.35);outline-offset:2px}
.jbm-form .jbm-fs input[type="file"]{background:#fff;border:2px dashed #b8cfd2;border-radius:14px;padding:22px 16px;text-align:center;cursor:pointer}
.jbm-form .jbm-fs input[type="file"]:hover{border-color:var(--jbm-accent,#0f766e);background:#f2fafa}
.jbm-form .jbm-photos{display:flex;flex-wrap:wrap;gap:12px;margin-block-end:12px}
.jbm-form .jbm-photo{display:block!important;text-align:center;font-weight:500;font-size:13px}
.jbm-form .jbm-photo img{border-radius:12px;display:block}
.jbm-form .jbm-actions{display:flex;flex-wrap:wrap;gap:12px;margin-block-start:8px}
.jbm-form .jbm-actions .jbm-button{flex:1 1 220px;width:auto}
.jbm-form .jbm-actions .jbm-button-secondary,.jbm-form .jbm-actions a.jbm-button{flex:0 1 160px;background:#fff;color:var(--jbm-accent-dark,#0a5157);border:1.5px solid #cfdcde;box-shadow:none}
.jbm-form .jbm-actions a.jbm-button:hover{background:#f2fafa;border-color:var(--jbm-accent,#0f766e);color:var(--jbm-accent-dark,#0a5157);transform:none;box-shadow:none}
.jbm-form textarea{resize:vertical}
/* v0.12.3: "Remove" checkbox under each photo was stretched to a big square */
.jbm-form .jbm-photo{display:flex!important;flex-direction:column;align-items:center;gap:8px;width:150px}
.jbm-form .jbm-photo img{width:150px;height:110px;object-fit:cover}
.jbm-form .jbm-photo br{display:none}
.jbm-form .jbm-photo input[type="checkbox"]{display:inline-block;width:18px;min-width:18px;height:18px;min-height:0;padding:0;margin:0 6px 0 0;vertical-align:middle;accent-color:#b91c1c}
.jbm-form .jbm-photo{border:1px solid var(--jbm-border,#e5e7eb);border-radius:14px;padding:8px;background:#fff}

/* v0.12.4: modern checkout - ID box, tick boxes, payment cards */
.jbm-form label.jbm-check{display:flex!important;flex-direction:row;align-items:flex-start;gap:12px;font-weight:500!important;font-size:14px;line-height:1.5;padding:12px 14px;border:1px solid var(--jbm-border,#e5e7eb);border-radius:12px;background:#f9fcfc;cursor:pointer}
.jbm-form label.jbm-check input[type="checkbox"],.jbm-form label.jbm-check input[type="radio"]{flex:none;width:20px;min-width:20px;height:20px;min-height:0;padding:0;margin:2px 0 0;accent-color:var(--jbm-accent,#0f766e);cursor:pointer}
.jbm-form label.jbm-check:hover{border-color:var(--jbm-accent,#0f766e);background:#f2fafa}
.jbm-form .jbm-idbox{border:1px solid #cfe3e5;border-radius:16px;background:linear-gradient(180deg,#f2fafa,#fff);padding:18px;display:grid;gap:12px;margin-block:6px}
.jbm-form .jbm-idbox h3{margin:0;display:flex;align-items:center;gap:10px}
.jbm-form .jbm-idbox h3::before{content:"";filter:none;flex:none;width:34px;height:34px;border-radius:10px;background:var(--jbm-accent,#0f766e) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.jbm-form .jbm-idbox>.jbm-note{margin:0}
.jbm-form .jbm-idbox label.jbm-check{background:#fff}
.jbm-form label.jbm-pay{display:flex!important;flex-direction:row;align-items:center;gap:14px;padding:14px 16px;border:1.5px solid #cfdcde;border-radius:14px;background:#fff;cursor:pointer;font-weight:500;transition:all .15s}
.jbm-form label.jbm-pay input[type="radio"]{flex:none;width:20px;min-width:20px;height:20px;min-height:0;margin:0;padding:0;accent-color:var(--jbm-accent,#0f766e)}
.jbm-form label.jbm-pay .jbm-pay-text{display:grid;gap:2px}
.jbm-form label.jbm-pay .jbm-pay-text strong{font-size:15px;color:#1b2a2f}
.jbm-form label.jbm-pay:hover{border-color:var(--jbm-accent,#0f766e)}
.jbm-form label.jbm-pay:has(input:checked){border-color:var(--jbm-accent,#0f766e);background:#f2fafa;box-shadow:0 0 0 3px rgba(14,107,114,.14)}
.jbm-form h3{margin-block:14px 2px;font-size:17px}

/* v0.12.5: review form with tap-a-star rating */
.jbm-review-form .jbm-stars{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px;margin-block:4px 12px}
.jbm-review-form .jbm-stars input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.jbm-review-form .jbm-stars label{display:block;font-size:42px;line-height:1;color:#d5dde0;cursor:pointer;transition:color .12s,transform .12s;padding:0 2px;font-weight:400}
.jbm-review-form .jbm-stars label:hover,.jbm-review-form .jbm-stars label:hover~label,.jbm-review-form .jbm-stars input:checked~label{color:#f2a93b}
.jbm-review-form .jbm-stars label:hover{transform:scale(1.12)}
.jbm-review-form .jbm-stars input:focus-visible+label{outline:3px solid rgba(14,107,114,.4);border-radius:6px}

/* v0.13.5 voucher header (also printed) */
.jbm-voucher-brand{display:flex;flex-direction:column;gap:2px;padding-bottom:12px;margin-bottom:12px;border-bottom:2px solid var(--jbm-accent,#0f766e)}.jbm-voucher-brand strong{font-size:20px;color:var(--jbm-accent,#0f766e)}.jbm-voucher-brand span{font-size:15px;color:#374151}

/* v0.21.0 one-month date picker, total nights, security deposit line */
.jbm-datebtn{display:flex;align-items:center;gap:8px;width:100%;min-height:46px;margin:0;padding:10px;border:1px solid #cfd8dc;border-radius:10px;background:#fff;color:inherit;font:inherit;font-weight:500;text-align:start;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.jbm-datebtn svg{flex:none;color:var(--jbm-accent)}
.jbm-datebtn.is-empty{color:#6b7280}
.jbm-datebtn.is-active,.jbm-datebtn:focus-visible{outline:0;border-color:var(--jbm-accent);box-shadow:0 0 0 3px rgba(14,107,114,.18)}
.jbm-cal{border:1px solid var(--jbm-border,#e5e7eb);border-radius:14px;padding:10px;background:#fff;box-shadow:0 6px 22px rgba(20,40,45,.08)}
.jbm-cal[hidden],.jbm-nights[hidden]{display:none}
.jbm-cal-head{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.jbm-box .jbm-cal-head select{flex:1 1 0;width:auto;min-height:38px;padding:6px 8px;font-size:14px}
.jbm-cal-nav{flex:none;width:38px;height:38px;margin:0;padding:0;border:1px solid #cfd8dc;border-radius:10px;background:#fff;color:#1b2a2f;font:inherit;font-size:22px;line-height:1;cursor:pointer;box-shadow:none}
.jbm-cal-nav:disabled{opacity:.35;cursor:default}
[dir="rtl"] .jbm-cal-nav{transform:scaleX(-1)}
.jbm-cal-week,.jbm-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.jbm-cal-week span{text-align:center;font-size:12px;color:#6b7280;padding:4px 0}
.jbm-day{width:100%;min-height:40px;margin:0;padding:0;border:0;border-radius:8px;background:#fff;color:#111827;font:inherit;font-size:14px;line-height:1;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none}
.jbm-day:hover:not(:disabled){background:#e3f3f0}
.jbm-day:focus-visible{outline:2px solid var(--jbm-accent);outline-offset:-2px}
.jbm-day:disabled{cursor:default}
.jbm-day.is-past,.jbm-day.is-off{color:#cbd5e1}
.jbm-day.is-booked{color:#9ca3af;background:#f3f4f6;text-decoration:line-through}
.jbm-day.is-start{background:linear-gradient(135deg,#fff 50%,#e5e7eb 50%)}
.jbm-day.is-end{background:linear-gradient(135deg,#e5e7eb 50%,#fff 50%)}
.jbm-day.is-range{background:#d9efec}
.jbm-day.is-in,.jbm-day.is-out{background:var(--jbm-accent);color:#fff;font-weight:700}
.jbm-cal-hint{margin:8px 0 0;font-size:13px;color:#4b5563;text-align:center}
.jbm-cal-hint.is-error{color:#b91c1c}
.jbm-cal-foot{display:flex;justify-content:center;margin-top:6px}
.jbm-cal-clear{margin:0;padding:6px 10px;border:0;background:none;color:var(--jbm-accent);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;box-shadow:none}
.jbm-nights{background:#f0fafa;border:1px solid #d6ebe9;border-radius:10px;padding:8px 12px;text-align:center;font-size:14px;color:#0a5157}
.jbm-deposit{margin:0;padding:8px 12px;background:#fff8ec;border:1px solid #f1e0bd;border-radius:10px;font-size:13px;color:#5b4a1f}
.jbm-deposit span{display:block;opacity:.8}

/* v0.22.0 Rooms & options (room cards with their own photos) */
.jbm-room-list{display:grid;gap:16px}
.jbm-room{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #e3e8ea;border-radius:16px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s}
.jbm-room.is-selected{border-color:var(--jbt-brand,#0f766e);box-shadow:0 0 0 2px rgba(14,107,114,.18)}
@media (min-width:700px){.jbm-room{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}}
.jbm-room-media{display:grid;gap:6px;padding:8px;background:#f7f9fa;min-width:0}
.jbm-room-main{position:relative;display:block;border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:#e5e7eb}
.jbm-room-main img{display:block;width:100%;height:100%;object-fit:cover}
.jbm-room-count{position:absolute;right:8px;bottom:8px;padding:3px 9px;border-radius:999px;background:rgba(17,24,39,.72);color:#fff;font-size:12px;font-weight:600}
.jbm-room-thumbs{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.jbm-room-thumb{flex:none;width:56px;height:56px;margin:0;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:none;cursor:pointer;box-shadow:none;opacity:.75}
.jbm-room-thumb.is-on,.jbm-room-thumb:hover{border-color:var(--jbt-brand,#0f766e);opacity:1}
.jbm-room-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.jbm-room-body{display:flex;flex-direction:column;gap:8px;padding:14px 16px;min-width:0}
.jbm-room-body h3{margin:0;font-size:1.1rem}
.jbm-room-desc{margin:0;color:#4b5563;font-size:14px;line-height:1.55}
.jbm-room-facts{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.jbm-room-facts li{padding:3px 10px;border-radius:999px;background:#f0fafa;color:#0a5157;font-size:13px}
.jbm-room-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:6px}
.jbm-room-price{margin:0;font-size:14px;color:#374151}
.jbm-room-price strong{font-size:1.05rem;color:#111827}
.jbm-room .jbm-room-pick{width:auto;min-height:42px;padding:9px 16px}
.jbm-room.is-selected .jbm-room-pick{background:#fff;color:var(--jbt-brand,#0f766e);border:2px solid var(--jbt-brand,#0f766e);box-shadow:none}
.jbm-box.jbm-flash{animation:jbmFlash 1.6s ease-out}
@keyframes jbmFlash{0%{box-shadow:0 0 0 4px rgba(14,107,114,.45)}100%{box-shadow:0 0 0 0 rgba(14,107,114,0)}}
@media (prefers-reduced-motion:reduce){.jbm-box.jbm-flash{animation:none}}

/* v0.23.0 More at <property> */
.jbm-more-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.jbm-more-card{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #e3e8ea;border-radius:14px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.jbm-more-card:hover{border-color:var(--jbt-brand,#0f766e);box-shadow:0 4px 14px rgba(20,40,45,.08)}
.jbm-more-card img,.jbm-more-noimg{flex:none;width:96px;height:72px;border-radius:10px;object-fit:cover;background:#e5e7eb;display:block}
.jbm-more-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.jbm-more-text strong{font-size:15px}
.jbm-more-text span{font-size:13px;color:#4b5563}

/* v0.25.0 Find my booking */
.jbm-find{display:grid;gap:14px;max-width:720px;margin-inline:auto}
.jbm-find,.jbm-find *{box-sizing:border-box}
.jbm-find-form h2{margin:0;font-size:1.35rem}
.jbm-find-form .jbm-note{margin:0}
.jbm-find-links{border:1px solid #e3e8ea;border-radius:14px;padding:12px 16px;background:#fff}
.jbm-find-links summary{cursor:pointer;font-weight:600;color:var(--jbt-brand,#0f766e)}
.jbm-find-links[open] summary{margin-bottom:10px}
.jbm-find-links .jbm-form{box-shadow:none;border:0;padding:0}
@media (max-width:600px){.jbm-find .jbm-row{grid-template-columns:minmax(0,1fr)}}

/* ---------- 0.27.0 checkout and booking page redesign ---------- */
.jbm-ic{flex:none;display:inline-block;vertical-align:middle}
.jbm-co2{display:grid;gap:22px;align-items:start}
@media(min-width:900px){.jbm-co2{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}.jbm-co-sum{position:sticky;top:96px}}
.jbm-co2 .jbm-summary{padding:0;overflow:hidden;border-radius:20px;border:1px solid #e3e8ea;box-shadow:0 10px 30px rgba(20,40,45,.08)}
.jbm-co-top{display:block}
.jbm-co-media{aspect-ratio:16/9;background:#e5e7eb;overflow:hidden}
.jbm-co-media img{display:block;width:100%;height:100%;object-fit:cover}
.jbm-co-head{padding:16px 18px 6px}
.jbm-co-head h2{margin:0 0 6px;font-size:20px;line-height:1.25}
.jbm-co-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0;color:#4b5563;font-size:14px;font-weight:600}
.jbm-co-meta span{display:inline-flex;align-items:center;gap:5px}
.jbm-co-meta .jbm-ic{width:15px;height:15px;color:#e0245e}
.jbm-co-rate .jbm-ic{color:#f59e0b!important;fill:#f59e0b}
.jbm-co-room{margin:6px 0 0;font-size:14px;color:#374151}
.jbm-co-dates{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:12px 18px;padding:12px;border-radius:16px;background:#f2f8f8;border:1px solid #d9eceb}
.jbm-co-date{display:flex;flex-direction:column;gap:2px;min-width:0}
.jbm-co-date:last-child{text-align:end}
.jbm-co-date small{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--jbm-accent,#0f766e)}
.jbm-co-date strong{font-size:15px;color:#1b2a2f}
.jbm-co-date span{font-size:13px;color:#4b5563}
.jbm-co-nights{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:#fff;border:1px solid #cfe5e3;font-size:12px;font-weight:800;color:var(--jbm-accent-dark,#0a5157);white-space:nowrap}
.jbm-co-nights .jbm-ic{width:13px;height:13px}
.jbm-co-who{display:flex;align-items:center;gap:8px;margin:0 18px 6px;font-weight:700;color:#1b2a2f;font-size:14px}
.jbm-co-who .jbm-ic{color:var(--jbm-accent,#0f766e)}
.jbm-co-price{margin:0 18px}
.jbm-co-price>summary{cursor:pointer;list-style:none;font-weight:800;font-size:14px;padding:10px 0;color:#1b2a2f;display:flex;justify-content:space-between;align-items:center}
.jbm-co-price>summary::-webkit-details-marker{display:none}
.jbm-co-total{margin-inline-start:auto;margin-inline-end:10px;color:var(--jbm-accent-dark,#0a5157);font-size:15px}
.jbm-co-price[open] .jbm-co-total{display:none}
.jbm-co-price>summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s;margin-inline-end:4px}
.jbm-co-price[open]>summary::after{transform:rotate(-135deg)}
.jbm-co2 .jbm-lines{margin-block:0 6px}
.jbm-co2 .jbm-lines tfoot th,.jbm-vc2 .jbm-lines tfoot th{font-size:17px;padding-top:12px;border-bottom:0}
.jbm-co2 .jbm-lines tfoot th:last-child{color:var(--jbm-accent-dark,#0a5157)}
.jbm-co-info{display:flex;align-items:flex-start;gap:10px;margin:8px 18px;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.45}
.jbm-co-info .jbm-ic{margin-top:1px}
.jbm-co-deposit{background:#fff8ec;border:1px solid #f6dfb3;color:#6b4a0f}
.jbm-co-deposit .jbm-ic{color:#d97706}
.jbm-co-policy{background:#f6f7f9;border:1px solid #e5e7eb;color:#374151}
.jbm-co-policy .jbm-ic{color:var(--jbm-accent,#0f766e)}
.jbm-co-sum>.jbm-co-info:last-child{margin-bottom:18px}

/* Steps */
.jbm-co2 .jbm-co-form{counter-reset:jbmstep;display:grid;gap:16px;padding:0;border:0;background:none;box-shadow:none}
.jbm-co-step{counter-increment:jbmstep;display:grid;gap:12px;padding:20px;border:1px solid #e3e8ea;border-radius:20px;background:#fff;box-shadow:0 6px 22px rgba(20,40,45,.06)}
.jbm-co-step>h3,.jbm-co-step-id .jbm-idbox>h3{display:flex;align-items:center;gap:12px;margin:0 0 2px;font-size:18px}
.jbm-co-step>h3::before,.jbm-co-step-id .jbm-idbox>h3::before{content:counter(jbmstep);flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--jbm-accent,#0f766e),#18909a);background-image:linear-gradient(135deg,var(--jbm-accent,#0f766e),#18909a);color:#fff;font-size:15px;font-weight:800;box-shadow:0 4px 10px rgba(14,107,114,.25)}
.jbm-co-step-id .jbm-idbox{border:0;padding:0;background:none;margin:0}
.jbm-co-row{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.jbm-co-row{grid-template-columns:minmax(0,1fr)}}
.jbm-co-step label>.jbm-note{display:block;margin-top:4px;font-weight:400}
.jbm-co-addons{display:grid;gap:8px}
.jbm-form label.jbm-co-addon{display:flex!important;flex-direction:row;align-items:center;gap:10px;padding:12px 14px;border:1.5px solid #cfdcde;border-radius:14px;cursor:pointer}
.jbm-form label.jbm-co-addon span{flex:1}
.jbm-form label.jbm-co-addon:has(input:checked){border-color:var(--jbm-accent,#0f766e);background:#f2fafa}
.jbm-co-pays{display:grid;gap:10px}
.jbm-pay-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#e6f4f3;color:#0e9488}
.jbm-form label.jbm-pay:has(input:checked) .jbm-pay-ic{background:var(--jbm-accent,#0f766e);color:#fff}
.jbm-co-submit{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;font-size:17px!important;border-radius:14px!important}
.jbm-co-trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:#374151}
.jbm-co-trust li{display:inline-flex;align-items:center;gap:6px}
.jbm-co-trust .jbm-ic{width:16px;height:16px;color:#16a34a}
@media(max-width:899px){.jbm-co-media{aspect-ratio:21/9}}

/* Booking page / voucher */
.jbm-vc2{padding:0!important;overflow:hidden;border-radius:20px!important;border:1px solid #e3e8ea!important;box-shadow:0 10px 30px rgba(20,40,45,.08)}
.jbm-vc-banner{display:flex;align-items:center;flex-wrap:wrap;gap:12px 14px;padding:18px 20px;color:#fff}
.jbm-vc-ok{background:linear-gradient(135deg,#15803d,#16a34a 60%,#22c55e)}
.jbm-vc-wait{background:linear-gradient(135deg,#b45309,#d97706 60%,#f59e0b)}
.jbm-vc-bad{background:linear-gradient(135deg,#991b1b,#dc2626)}
.jbm-vc-banner-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.22)}
.jbm-vc-banner-ic .jbm-ic{width:24px;height:24px;stroke-width:2.6}
.jbm-vc-banner-text{flex:1 1 220px;display:flex;flex-direction:column;gap:2px}
.jbm-vc-banner-text strong{font-size:20px;line-height:1.2}
.jbm-vc-banner-text span{opacity:.95;font-size:14px}
.jbm-vc-pills .jbm-badge{background:rgba(255,255,255,.95);color:#1b2a2f;margin:2px}
.jbm-vc-top{display:flex;gap:16px;align-items:center;padding:18px 20px}
.jbm-vc-media{flex:none;width:130px;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#e5e7eb}
.jbm-vc-media img{display:block;width:100%;height:100%;object-fit:cover}
.jbm-vc-head{min-width:0;display:flex;flex-direction:column;gap:4px}
.jbm-vc-brand{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--jbm-accent,#0f766e)}
.jbm-vc-head h2{margin:0;font-size:21px;line-height:1.25}
.jbm-vc-head h2 a{color:inherit;text-decoration:none}
.jbm-vc-addr{display:flex;align-items:center;gap:6px;margin:0;color:#4b5563;font-size:14px}
.jbm-vc-addr .jbm-ic{width:15px;height:15px;color:#e0245e}
.jbm-vc-ref{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 0 0;font-size:13px;color:#4b5563}
.jbm-vc-ref code{font-size:15px;font-weight:800;letter-spacing:.04em;padding:4px 10px;border-radius:8px;background:#f2f8f8;border:1px dashed #9fcfcc;color:#0a5157}
.jbm-vc-copy{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:0 10px;border-radius:999px;border:1px solid #cfdcde;background:#fff;color:#1b2a2f;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.jbm-vc-copy .jbm-ic{width:14px;height:14px}
.jbm-vc-copy.is-done{border-color:#16a34a;color:#15803d}
.jbm-vc2>.jbm-notice,.jbm-vc2>.jbm-howtopay,.jbm-vc2>.jbm-vc-docs{margin:0 20px 12px}
.jbm-vc-docs{padding:14px 16px;border-radius:14px;border:1px solid #cfe3e5;background:#f7fbfb}.jbm-vc-docs h3{margin:0 0 6px;font-size:16px}.jbm-vc-docs p{margin:4px 0}
.jbm-vc2 .jbm-howtopay{padding:14px 16px;border-radius:14px;background:#fff8ec;border:1px solid #f6dfb3}
.jbm-vc2 .jbm-co-dates{margin:6px 20px 12px}
.jbm-vc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 20px 12px}
.jbm-vc-facts>div{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;border:1px solid #e3e8ea;background:#fff;min-width:0}
.jbm-vc-facts span{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}
.jbm-vc-facts span .jbm-ic{width:15px;height:15px;color:var(--jbm-accent,#0f766e)}
.jbm-vc-facts strong{font-size:15px;color:#1b2a2f}
.jbm-vc-facts small{font-size:13px;color:#4b5563;overflow-wrap:anywhere}
.jbm-vc-pay{margin:0 20px 12px;padding:16px;border-radius:16px;border:1px solid #e3e8ea;background:#fff}
.jbm-vc-money{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}
.jbm-vc-money>div{display:flex;flex-direction:column;gap:2px}
.jbm-vc-money span{font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}
.jbm-vc-money strong{font-size:19px;color:#1b2a2f}
.jbm-vc-money strong.is-paid{color:#15803d}
.jbm-vc-money strong.is-due{color:#c2410c}
.jbm-vc-bar{height:10px;margin-top:14px;border-radius:999px;background:#eef2f3;overflow:hidden}
.jbm-vc-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#16a34a,#22c55e)}
.jbm-vc-bar-text{margin:6px 0 0;font-size:12px;font-weight:700;color:#4b5563}
.jbm-vc-lines{margin-top:10px}
.jbm-vc-lines>summary{cursor:pointer;font-weight:700;font-size:14px;color:var(--jbm-accent-dark,#0a5157)}
.jbm-vc-pay .jbm-co-info{margin:10px 0 0}
.jbm-vc-contact{display:flex;flex-wrap:wrap;gap:10px;margin:0 20px 12px}
.jbm-vc-btn{flex:1 1 170px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border-radius:14px;border:1.5px solid #cfdcde;background:#fff;color:#1b2a2f;font-weight:700;text-decoration:none;transition:border-color .15s,transform .15s}
.jbm-vc-btn:hover{border-color:var(--jbm-accent,#0f766e);transform:translateY(-1px);text-decoration:none}
.jbm-vc-btn .jbm-ic{color:var(--jbm-accent,#0f766e)}
.jbm-vc-wa{background:#1a8f4c;border-color:#1a8f4c;color:#fff}
.jbm-vc-wa .jbm-ic{color:#fff}
.jbm-vc-wa:hover{border-color:#157a40;color:#fff}
.jbm-vc-next{margin:0 20px 20px;padding:16px;border-radius:16px;background:linear-gradient(90deg,#f0fafa,#fff8ec);border:1px solid #d9eceb}
.jbm-vc-next h3{margin:0 0 10px;font-size:17px}
.jbm-vc-next ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.jbm-vc-next li{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45}
.jbm-vc-next-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#fff;border:1px solid #cfe5e3;color:var(--jbm-accent,#0f766e)}
.jbm-vc-next-ic .jbm-ic{width:16px;height:16px}
.jbm-vc-after{margin-top:12px}
.jbm-vc-after>.jbm-note a{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.jbm-vc-actions{gap:10px}
.jbm-vc-actions .jbm-button{display:inline-flex;align-items:center;gap:8px}
.jbm-vc-cancel{margin-inline-start:auto}
@media(max-width:600px){
 .jbm-vc-top{flex-direction:column;align-items:stretch}
 .jbm-vc-media{width:100%;aspect-ratio:21/9}
 .jbm-vc-facts{grid-template-columns:minmax(0,1fr)}
 .jbm-co-dates{grid-template-columns:1fr 1fr}
 .jbm-co-nights{grid-column:1/-1;grid-row:2;justify-self:center}
 .jbm-vc-cancel{margin-inline-start:0}
}
@media print{
 .jbm-vc2{box-shadow:none!important;border:0!important}
 .jbm-vc-contact,.jbm-vc-copy{display:none!important}
 .jbm-vc-lines{display:block}
 .jbm-vc-banner{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
.jbm-vc-actions .jbm-button-secondary{background:#fff!important;color:var(--jbm-accent-dark,#0a5157)!important;border:1.5px solid #cfdcde!important;box-shadow:none!important}
.jbm-vc-actions .jbm-button-danger{background:#fff!important;color:#b91c1c!important;border:1.5px solid #fecaca!important;box-shadow:none!important}
.jbm-vc-actions .jbm-button-danger:hover{background:#fef2f2!important;border-color:#f87171!important}

.jbm-vc-head h2::before,.jbm-co-head h2::before,.jbm-vc-next h3::before,.jbm-co-step>h3::after{content:none!important;display:none!important}
.jbm-vc-head h2,.jbm-co-head h2{padding:0!important;border:0!important}
.jbm-co-row{align-items:start}
.jbm-co-hint{margin:-6px 0 0!important}

/* 0.29.0 host shared space */
.jbm-places{display:grid;gap:16px}
.jbm-places-card{padding:18px!important;border-radius:16px!important}
.jbm-places-card h3{margin:0 0 12px}
.jbm-places-groups{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.jbm-places-groups li{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.jbm-places-groups .jbm-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.jbm-places-groups input[type=text]{min-width:220px}
.jbm-places-new{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.jbm-places-new label{display:grid;gap:4px;flex:1 1 260px}
.jbm-places-table td{vertical-align:top}
.jbm-places-table select{min-width:180px}
.jbm-places-links{display:flex;flex-wrap:wrap;gap:6px 14px}
.jbm-places-links .jbm-check{display:inline-flex;align-items:center;gap:6px;font-weight:500}
.jbm-places-table th:last-child,.jbm-places-table td:last-child{text-align:start!important;white-space:normal!important}

/* 0.30.0 brand logo on the voucher page */


/* Email check at checkout */
.jbm-ev{margin:4px 0 10px;padding:12px;border:1px dashed #b9c4c6;border-radius:10px;background:#f8fbfb}
.jbm-ev-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:6px}
.jbm-ev-row input{max-width:170px;letter-spacing:.2em;font-size:18px;text-align:center}
.jbm-ev-ok{color:#0a7a3d;font-weight:700}
.jbm-ev [hidden]{display:none !important}
.jbm-ev .jbm-note{margin:4px 0 0}
/* Time slot booking box */
.jbm-slotlist{display:grid;gap:8px}
.jbm-slot{display:flex !important;align-items:center;gap:10px;border:1px solid var(--jbm-border,#e5e7eb);border-radius:10px;padding:10px 12px;cursor:pointer;font-weight:400 !important}
.jbm-slot input{width:18px !important;height:18px;padding:0 !important;border:0 !important;margin:0;flex:none;accent-color:var(--jbm-accent,#0f766e)}
.jbm-slot:has(input:checked){border-color:var(--jbm-accent,#0f766e);background:#f0fdfa}
.jbm-slot.is-off{opacity:.55;cursor:not-allowed}
.jbm-slot-txt{display:grid;flex:1;line-height:1.3}
.jbm-slot-txt small{color:var(--jbm-muted,#6b7280)}
.jbm-slot-price{font-weight:700;white-space:nowrap}
.jbm-slotlist .is-error{color:#b91c1c}
.jbm-modetabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 10px;background:#f3f4f6;border-radius:12px}
.jbm-modetabs button{border:0;background:transparent;border-radius:9px;padding:10px;font:inherit;font-weight:700;color:#4b5563;cursor:pointer}
.jbm-modetabs button.is-on{background:#fff;color:var(--jbm-accent,#0f766e);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.jbm-modes [hidden]{display:none !important}
/* Price per hour box */
.jbm-hr-price{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px}
.jbm-hr-price strong{font-size:1.35em}
.jbm-hr-price span{color:var(--jbm-muted,#6b7280)}
.jbm-hr-price small{flex-basis:100%;color:var(--jbm-muted,#6b7280)}
.jbm-hlabel{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.jbm-hgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.jbm-hgrid .jbm-note{grid-column:1/-1;margin:0}
.jbm-h{padding:8px 2px;border:1px solid var(--jbm-border,#e5e7eb);border-radius:8px;background:#fff;color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer;font-variant-numeric:tabular-nums}
.jbm-h.is-busy{background:#f3f4f6;color:#9ca3af;border-color:transparent;text-decoration:line-through;cursor:not-allowed}
.jbm-h.is-start{background:var(--jbm-accent,#0f766e);border-color:var(--jbm-accent,#0f766e);color:#fff}
.jbm-h.is-in{background:#ccfbf1;border-color:var(--jbm-accent,#0f766e);color:#115e59}
.jbm-h.is-bad{background:#fee2e2;border-color:#fca5a5;color:#991b1b}
.jbm-stepper{display:grid;grid-template-columns:44px 1fr 44px;border:1px solid #d1d5db;border-radius:8px;overflow:hidden}
.jbm-stepper button{border:0;background:#f3f4f6;font-size:20px;font-weight:700;cursor:pointer;color:inherit}
.jbm-stepper button[disabled]{opacity:.4;cursor:not-allowed}
.jbm-stepper output{display:grid;place-items:center;font-weight:700;padding:8px}
.jbm-hwhen{background:#f0fdfa;color:#115e59;border-radius:8px;padding:8px 10px;font-weight:600}
@media (max-width:380px){.jbm-hgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Brand bar on the booking details page */
.jbm-vc-brandbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--jbm-border,#e5e7eb)}
.jbm-vc-brandlink{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit;min-width:0}
.jbm-vc-logobox{flex:none;display:flex;align-items:center;padding-right:12px;border-right:1px solid var(--jbm-border,#e5e7eb)}
.jbm-vc-brandbar .jbm-vc-logo{display:block;height:40px;width:auto;max-width:150px;object-fit:contain;margin:0}
.jbm-vc-brandname{font-weight:800;font-size:18px;letter-spacing:-.01em;color:var(--jbm-accent,#0f766e);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jbm-vc-doc{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--jbm-muted,#6b7280);white-space:nowrap}
@media (max-width:480px){.jbm-vc-doc{display:none}}
