/* Reservation controls use the site's configured theme palette. */
.rm-page .rm-book { display:flex; align-items:center; justify-content:flex-start; gap:10px; padding:11px 13px; min-height:56px; border:1px solid var(--primary-color-dark,var(--primary-color)); border-radius:12px; background:var(--primary-color-dark,var(--primary-color)); color:var(--white,#fff); text-align:left; box-shadow:0 4px 12px rgba(var(--primary-color-rgb),.1); cursor:pointer; transition:background-color .18s,border-color .18s,box-shadow .18s; }
.rm-page .rm-book:hover { color:var(--white,#fff); border-color:var(--primary-color); background:var(--primary-color); box-shadow:0 5px 16px rgba(var(--primary-color-rgb),.18); }
.rm-book-icon { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:9px; background:#ffffff24; font-size:16px; flex-shrink:0; }
.rm-book-label { flex:1; font-size:12px; font-weight:650; line-height:1.6; white-space:nowrap; }
.rm-book-label small { display:block; font-size:9px; font-weight:400; opacity:.8; }
.rm-book-arrow { font-size:11px; margin-left:3px; }
.rb-modal { --rb-accent:var(--primary-color); --rb-action:var(--primary-color-dark,var(--primary-color)); --rb-ink:#20252b; --rb-line:#e7eaee; color:var(--rb-ink); }
.rb-modal [hidden] { display:none !important; }
.rb-modal .modal-dialog { max-width:540px; width:calc(100% - 32px); margin:24px auto; min-height:calc(100% - 48px); }
.rb-modal .modal-content { display:flex; flex-direction:column; overflow:hidden; max-height:calc(100dvh - 48px); border:0; border-radius:20px; box-shadow:0 24px 80px #17213030; background:#fff; }
.rb-header { display:flex; align-items:center; gap:12px; padding:24px 24px 18px; flex-shrink:0; border-bottom:1px solid var(--rb-line); }
.rb-header-icon { display:inline-flex; justify-content:center; align-items:center; width:44px; height:44px; border-radius:13px; flex-shrink:0; color:var(--rb-action); background:rgba(var(--primary-color-rgb),.1); font-size:21px; }
.rb-header > div { flex:1; min-width:0; }
.rb-header h2 { margin:0 0 5px; color:var(--rb-ink); font-size:19px; font-weight:750; line-height:1.4; letter-spacing:-.4px; }
.rb-header p { font-size:10px; color:#858c96; line-height:1.6; margin:0; }
.rb-close { display:inline-flex; justify-content:center; align-items:center; width:32px; height:32px; border-radius:50%; flex-shrink:0; color:#66707c; background:#f4f5f7; font-size:14px; cursor:pointer; }
.rb-modal .bookForm { display:flex; flex-direction:column; min-height:0; overflow:hidden; }
.rb-body { padding:20px 24px 24px; overflow-y:auto; overscroll-behavior:contain; min-height:0; scrollbar-width:thin; }
.rb-intro { margin:0 0 18px; color:#7c838e; font-size:12px; line-height:1.8; }
.rb-fields { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:14px; }
.rb-fields label { display:block; color:#505b69; font-size:11px; font-weight:650; margin-bottom:8px; }
.rb-fields input[type="date"] { display:block; width:100%; min-width:0; height:44px; padding:0 11px; border:1px solid #dfe4eb; border-radius:10px; background:#fafbfc; color:var(--rb-ink); font-size:12px; }
.rb-guests { display:flex; align-items:center; justify-content:space-between; height:44px; border:1px solid #dfe4eb; border-radius:10px; overflow:hidden; background:#fafbfc; }
.rb-guests button { width:36px; height:100%; flex-shrink:0; background:transparent; color:var(--rb-ink); font-size:11px; cursor:pointer; }
.rb-guests input { height:100%; width:100%; min-width:0; padding:0; text-align:center; color:var(--rb-ink); background:#fff; font-size:14px; font-weight:650; appearance:textfield; -moz-appearance:textfield; }
.rb-guests input::-webkit-inner-spin-button,.rb-guests input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.rb-section { border-top:1px solid var(--rb-line); margin-top:22px; padding-top:20px; }
.rb-section h3 { display:flex; align-items:center; gap:8px; color:var(--rb-ink); font-size:13px; font-weight:700; margin:0 0 13px; }
.rb-section h3 i { color:var(--rb-accent); font-size:12px; }
.rb-tables { display:flex; flex-direction:column; gap:8px; }
.rb-modal .table-card { display:flex; align-items:center; gap:10px; width:100%; padding:11px; border:1px solid #e2e7ed; border-radius:11px; color:var(--rb-ink); background:#fff; text-align:left; cursor:pointer; }
.rb-table-icon { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:10px; background:#f5f6f8; color:#8c95a1; font-size:14px; flex-shrink:0; }
.rb-table-info { flex:1; min-width:0; }
.rb-table-info strong { display:block; color:var(--rb-ink); font-size:12px; font-weight:650; }
.rb-table-info small { display:block; color:#8c939d; font-size:10px; line-height:1.7; margin-top:3px; }
.rb-table-info small span { white-space:nowrap; }
.rb-table-fee { font-size:10px; color:#6a7381; flex-shrink:0; }
.rb-modal .table-card.table-selected { border-color:rgba(var(--primary-color-rgb),.5); background:rgba(var(--primary-color-rgb),.04); }
.rb-modal .table-selected .rb-table-icon { background:rgba(var(--primary-color-rgb),.1); color:var(--rb-action); }
.rb-modal .table-check-icon { color:var(--rb-action); font-size:15px; }
.rb-modal .table-card:disabled { opacity:.5; cursor:default; }
.rb-modal .booking-modal-time { border:0; border-top:1px solid var(--rb-line); border-radius:0; padding:20px 0 0; }
.rb-slots { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:0; margin:0; list-style:none; }
.rb-modal .rb-slots li { padding:0; border:0; width:auto; position:relative; font-size:11px; text-transform:none; }
.rb-slot-input { position:absolute; opacity:0; width:1px; height:1px; }
.rb-slots label { display:block; padding:11px 5px; border:1px solid #e1e5eb; border-radius:8px; background:#fafbfc; text-align:center; color:#56616f; font-weight:500; cursor:pointer; }
.rb-slot-input:checked + label { border-color:var(--rb-action); color:#fff; background:var(--rb-action); }
.rb-slot-input:focus-visible + label { outline:2px solid var(--rb-accent); outline-offset:2px; }
.rb-empty { padding:18px 12px !important; color:#85909e; background:#f7f8fa; border-radius:9px; font-size:11px !important; line-height:1.8; text-align:center; }
.rb-slots .rb-empty { grid-column:1 / -1; }
.rb-error { color:#ac3f35; font-size:11px; margin:15px 0 0; line-height:1.7; }
.rb-footer { padding:16px 24px 20px; border-top:1px solid var(--rb-line); background:#fff; flex-shrink:0; }
.rb-fee { display:flex; align-items:flex-start; gap:8px; font-size:11px; line-height:1.7; color:#687382; margin:0 0 12px; }
.rb-fee i { margin-top:3px; color:var(--rb-accent); }
.rb-login-note { text-align:center; color:#939ba6; font-size:10px; line-height:1.7; margin:0 0 10px; }
.rb-submit { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:46px; padding:12px 16px; border-radius:999px; color:var(--white,#fff); background:var(--rb-action); font-size:12px; font-weight:650; cursor:pointer; }
.rb-submit:hover { background:var(--rb-accent); }
.rb-submit:disabled { opacity:.35; cursor:default; }
.rb-modal :is(button,input):focus-visible { outline:2px solid var(--rb-accent); outline-offset:3px; }
@media (max-width:991px) { .rm-page .rm-hero-actions { flex-wrap:wrap; } .rm-page .rm-book { flex:1; } }
@media (max-width:575px) {
    .rm-page .rm-book { padding:10px 12px; min-height:48px; flex-basis:100%; }
    .rm-book-label { font-size:12px; } .rm-book-label small { display:none; }
    .rm-book-icon { width:28px; height:28px; font-size:14px; }
    .rb-modal .modal-dialog { margin:12px auto; width:calc(100% - 24px); min-height:calc(100% - 24px); }
    .rb-modal .modal-content { max-height:calc(100dvh - 24px); border-radius:16px; }
    .rb-header { padding:18px 16px 14px; gap:10px; } .rb-header h2 { font-size:16px; }
    .rb-header-icon { width:36px; height:36px; border-radius:10px; font-size:17px; }
    .rb-body { padding:16px; } .rb-footer { padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px)); }
    .rb-slots { grid-template-columns:repeat(2,minmax(0,1fr)); } .rb-table-info small span { display:block; }
}
@media (prefers-reduced-motion:reduce) { .rm-page .rm-book { transition:none; } }
