:root {
    --rz-primary: #06284A;
    --rz-accent: #D95B00;
    --rz-accent-hover: #BD4E00;
    --rz-accent-active: #AA4600;
    --bs-primary: #D95B00;
    --bs-primary-rgb: 217, 91, 0;
    --bs-link-color: #D95B00;
    --bs-link-color-rgb: 217, 91, 0;
    --bs-link-hover-color: #BD4E00;
    --bs-link-hover-color-rgb: 189, 78, 0;
    --rz-bg: #F8FAFC;
    --rz-card: #FFFFFF;
    --rz-border: #E5E7EB;
    --rz-text: #1F2937;
    --rz-muted: #6B7280;
}

body {
    background: var(--rz-bg);
    color: var(--rz-text);
}

.rz-sidebar {
    background: var(--rz-primary);
    color: #fff;
}

.rz-sidebar .nav-link {
    color: rgba(255, 255, 255, .82);
    border-radius: .6rem;
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}

.rz-sidebar .nav-link > i {
    width: 1.1rem;
    flex: 0 0 1.1rem;
    text-align: center;
    color: rgba(255, 255, 255, .58);
}

.rz-sidebar .nav-link:hover > i,
.rz-sidebar .nav-link:focus > i,
.rz-sidebar .nav-link.active > i {
    color: inherit;
}

.rz-sidebar .rz-nav-label {
    margin: 1.15rem .85rem .4rem;
    color: rgba(255, 255, 255, .42);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rz-sidebar .rz-nav-label:first-child {
    margin-top: .25rem;
}

.rz-sidebar .nav-link:hover,
.rz-sidebar .nav-link:focus {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.rz-logo {
    max-height: 100px;
    object-fit: contain;
}

.rz-main {
    min-height: 100vh;
}

.card {
    border: 1px solid var(--rz-border);
    border-radius: 1rem;
}

.rz-stat-card {
    border-top: 4px solid var(--rz-accent);
}

.btn-rezzer {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--rz-accent);
    --bs-btn-border-color: var(--rz-accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rz-accent-hover);
    --bs-btn-hover-border-color: var(--rz-accent-hover);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rz-accent-active);
    --bs-btn-active-border-color: var(--rz-accent-active);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--rz-accent);
    --bs-btn-disabled-border-color: var(--rz-accent);
    --bs-btn-focus-shadow-rgb: 217, 91, 0;
}

.rz-login-logo,
.rz-install-logo {
    max-width: 180px;
}

.rz-login-card {
    border-top: 5px solid var(--rz-accent);
}


.table td {
    vertical-align: middle;
}

.rz-stat-card .h4 {
    color: var(--rz-primary);
    font-weight: 800;
}


.rz-preview-frame {
    background: #eef2f7;
    border-radius: 1rem;
    padding: 1.25rem;
    min-height: 620px;
}

.rz-preview-browser {
    background: #fff;
    border: 1px solid var(--rz-border);
    border-radius: 1rem;
    overflow: hidden;
    min-height: 560px;
    position: relative;
}

.rz-preview-browser-bar {
    height: 42px;
    background: #f3f4f6;
    border-bottom: 1px solid var(--rz-border);
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: 0 1rem;
}

.rz-preview-browser-bar span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #d1d5db;
}

.rz-preview-content {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(6, 40, 74, .08), rgba(217, 91, 0, .08)),
        #fff;
}

.rz-preview-hero {
    max-width: 520px;
    padding: 4rem 3rem;
}

.rz-preview-hero h3 {
    color: var(--rz-primary);
    font-weight: 900;
    font-size: 2.2rem;
}

.rz-preview-hero p {
    color: var(--rz-muted);
    font-size: 1.1rem;
}

#rezzer-widget-preview .rz-floating-button,
#rezzer-widget-preview .rz-widget-panel,
#rezzer-widget-preview .rz-widget-backdrop {
    position: absolute;
}

#rezzer-widget-preview .rz-widget-backdrop {
    inset: 42px 0 0 0;
}


.badge.text-bg-warning {
    color: #111 !important;
}


.rz-reservations-table > :not(caption) > * > * {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


/* Rezzer orange interaction states */
a {
    color: var(--rz-accent);
}

a:hover,
a:focus {
    color: var(--rz-accent-hover);
}

.btn-link {
    color: var(--rz-accent);
}

.btn-link:hover,
.btn-link:focus {
    color: var(--rz-accent-hover);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--rz-accent);
    box-shadow: 0 0 0 .25rem rgba(217, 91, 0, .18);
}

.form-check-input:checked {
    background-color: var(--rz-accent);
    border-color: var(--rz-accent);
}

.form-check-input:focus {
    border-color: var(--rz-accent);
}

.form-switch .form-check-input:checked {
    background-color: var(--rz-accent);
    border-color: var(--rz-accent);
}

.form-select option:checked {
    background-color: var(--rz-accent);
    color: #fff;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--rz-accent);
    color: #fff;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(217, 91, 0, .12);
    color: var(--rz-text);
}

.list-group-item.active {
    background-color: var(--rz-accent);
    border-color: var(--rz-accent);
}

.page-link {
    color: var(--rz-accent);
}

.page-link:hover,
.page-link:focus {
    color: var(--rz-accent-hover);
}

.active > .page-link,
.page-link.active {
    background-color: var(--rz-accent);
    border-color: var(--rz-accent);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--rz-accent);
}

.rz-sidebar .nav-link.active,
.rz-sidebar .nav-link[aria-current="page"] {
    background: var(--rz-accent);
    color: #fff;
}

.rz-sidebar .nav-link:hover,
.rz-sidebar .nav-link:focus {
    background: rgba(217, 91, 0, .22);
    color: #fff;
}

.table a {
    color: var(--rz-accent);
    font-weight: 600;
}

.table a:hover,
.table a:focus {
    color: var(--rz-accent-hover);
}

.table a[href*="/admin/guest?email="] {
    font-weight: 400;
}

.accordion-button:not(.collapsed) {
    color: var(--rz-accent);
    background-color: rgba(217, 91, 0, .08);
}

.accordion-button:focus {
    border-color: var(--rz-accent);
    box-shadow: 0 0 0 .25rem rgba(217, 91, 0, .18);
}

::selection {
    background: rgba(217, 91, 0, .28);
}


.rz-toast-container {
    z-index: 1080;
}

.rz-toast {
    border-radius: .85rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.rz-toast.text-bg-warning {
    color: #111 !important;
}


.rz-icon-btn {
    width: 2.1rem;
    height: 2.1rem;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rz-icon-btn i {
    pointer-events: none;
}

.btn-sm.rz-icon-btn {
    border-radius: .55rem;
}


/* Icon buttons: always Rezzer orange */
.rz-icon-btn,
.btn.rz-icon-btn,
.btn-sm.rz-icon-btn,
a.rz-icon-btn,
button.rz-icon-btn {
    border-color: var(--rz-accent) !important;
    color: var(--rz-accent) !important;
    background-color: transparent !important;
}

.rz-icon-btn:hover,
.rz-icon-btn:focus,
.btn.rz-icon-btn:hover,
.btn.rz-icon-btn:focus,
a.rz-icon-btn:hover,
a.rz-icon-btn:focus,
button.rz-icon-btn:hover,
button.rz-icon-btn:focus {
    border-color: var(--rz-accent) !important;
    background-color: var(--rz-accent) !important;
    color: #fff !important;
}

.rz-icon-btn:active,
.btn.rz-icon-btn:active {
    border-color: var(--rz-accent-hover) !important;
    background-color: var(--rz-accent-hover) !important;
    color: #fff !important;
}

.rz-icon-btn:disabled,
.btn.rz-icon-btn:disabled,
button.rz-icon-btn:disabled {
    border-color: rgba(217, 91, 0, .4) !important;
    color: rgba(217, 91, 0, .45) !important;
    background-color: transparent !important;
    opacity: .65;
}


/* Force hover for delete/action icon buttons inside forms */
form .rz-icon-btn:not(:disabled):hover,
form .rz-icon-btn:not(:disabled):focus,
form button.rz-icon-btn:not(:disabled):hover,
form button.rz-icon-btn:not(:disabled):focus,
.table form .btn-outline-danger.rz-icon-btn:not(:disabled):hover,
.table form .btn-outline-danger.rz-icon-btn:not(:disabled):focus {
    border-color: var(--rz-accent) !important;
    background-color: var(--rz-accent) !important;
    color: #fff !important;
    box-shadow: 0 0 0 .2rem rgba(217, 91, 0, .18) !important;
}

.table form .btn-outline-danger.rz-icon-btn:not(:disabled):hover i,
.table form .btn-outline-danger.rz-icon-btn:not(:disabled):focus i {
    color: #fff !important;
}


/* Widget live preview should not clip the popup */
.rz-preview-frame,
.rz-preview-browser,
.rz-preview-content {
    overflow: visible !important;
}

.rz-preview-frame {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    min-height: 760px;
}

.rz-preview-browser {
    min-height: 640px;
}

.rz-preview-content {
    min-height: 600px;
}

#rezzer-widget-preview {
    position: relative;
    z-index: 5;
}

#rezzer-widget-preview .rz-floating-button,
#rezzer-widget-preview .rz-widget-panel,
#rezzer-widget-preview .rz-widget-backdrop {
    position: absolute !important;
}

#rezzer-widget-preview .rz-pos-top-right {
    top: 24px;
    right: 24px;
}

#rezzer-widget-preview .rz-pos-top-left {
    top: 24px;
    left: 24px;
}

#rezzer-widget-preview .rz-widget-panel.rz-pos-top-right {
    top: 88px;
    right: 24px;
}

#rezzer-widget-preview .rz-widget-panel.rz-pos-top-left {
    top: 88px;
    left: 24px;
}


/* Keep the widget preview trigger button at the bottom of the preview container */
.rz-preview-content {
    position: relative;
}

#rezzer-widget-preview .rz-floating-button.rz-pos-top-right,
#rezzer-widget-preview .rz-floating-button.rz-pos-bottom-right {
    top: auto !important;
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
}

#rezzer-widget-preview .rz-floating-button.rz-pos-top-left,
#rezzer-widget-preview .rz-floating-button.rz-pos-bottom-left {
    top: auto !important;
    left: 24px !important;
    bottom: 24px !important;
    right: auto !important;
}

#rezzer-widget-preview .rz-widget-panel.rz-pos-top-right,
#rezzer-widget-preview .rz-widget-panel.rz-pos-bottom-right {
    top: auto !important;
    right: 24px !important;
    bottom: 88px !important;
    left: auto !important;
}

#rezzer-widget-preview .rz-widget-panel.rz-pos-top-left,
#rezzer-widget-preview .rz-widget-panel.rz-pos-bottom-left {
    top: auto !important;
    left: 24px !important;
    bottom: 88px !important;
    right: auto !important;
}


/* Widget preview overlay: make positioning relative to the full preview content */
.rz-preview-browser,
.rz-preview-content {
    position: relative !important;
}

#rezzer-widget-preview {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
    z-index: 10;
}

#rezzer-widget-preview .rz-floating-button,
#rezzer-widget-preview .rz-widget-panel,
#rezzer-widget-preview .rz-widget-backdrop {
    pointer-events: auto;
}

#rezzer-widget-preview .rz-widget-backdrop {
    inset: 0 !important;
}

#rezzer-widget-preview .rz-floating-button {
    top: auto !important;
    bottom: 24px !important;
}

#rezzer-widget-preview .rz-floating-button.rz-pos-top-right,
#rezzer-widget-preview .rz-floating-button.rz-pos-bottom-right {
    right: 24px !important;
    left: auto !important;
}

#rezzer-widget-preview .rz-floating-button.rz-pos-top-left,
#rezzer-widget-preview .rz-floating-button.rz-pos-bottom-left {
    left: 24px !important;
    right: auto !important;
}

#rezzer-widget-preview .rz-widget-panel {
    top: auto !important;
    bottom: 88px !important;
}

#rezzer-widget-preview .rz-widget-panel.rz-pos-top-right,
#rezzer-widget-preview .rz-widget-panel.rz-pos-bottom-right {
    right: 24px !important;
    left: auto !important;
}

#rezzer-widget-preview .rz-widget-panel.rz-pos-top-left,
#rezzer-widget-preview .rz-widget-panel.rz-pos-bottom-left {
    left: 24px !important;
    right: auto !important;
}

/* Keep both public widget launchers together inside the admin preview. */
#rezzer-widget-preview .rz-widget-launchers {
    position: absolute !important;
    top: auto !important;
    bottom: 24px !important;
    pointer-events: auto;
}

#rezzer-widget-preview .rz-widget-launchers .rz-floating-button {
    position: static !important;
    inset: auto !important;
}

#rezzer-widget-preview .rz-widget-launchers.rz-pos-top-right,
#rezzer-widget-preview .rz-widget-launchers.rz-pos-bottom-right {
    right: 24px !important;
    left: auto !important;
}

#rezzer-widget-preview .rz-widget-launchers.rz-pos-top-left,
#rezzer-widget-preview .rz-widget-launchers.rz-pos-bottom-left {
    left: 24px !important;
    right: auto !important;
}


.rz-nav-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    border-radius: .6rem;
    padding: .5rem 1rem;
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: inherit;
    text-align: left;
}

.rz-nav-toggle:hover,
.rz-nav-toggle:focus,
.rz-nav-toggle.active {
    background: rgba(217, 91, 0, .22);
    color: #fff;
}

.rz-nav-toggle.active {
    background: var(--rz-accent);
}

.rz-nav-toggle i {
    font-size: .8rem;
    transition: transform .18s ease;
}

.rz-nav-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.rz-subnav {
    padding: .25rem 0 .5rem .75rem;
    border-left: 2px solid rgba(255, 255, 255, .14);
    margin-left: 1rem;
}

.rz-subnav .nav-link {
    font-size: .92rem;
    padding: .45rem .75rem;
}


/* Sidebar nested menu styling */
.rz-sidebar .rz-nav-section {
    margin-bottom: .25rem;
}

.rz-sidebar .rz-nav-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    border-radius: .6rem;
    padding: .55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: inherit;
    text-align: left;
}

.rz-sidebar .rz-nav-toggle > span {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.rz-sidebar .rz-nav-toggle > span > i {
    width: 1.1rem;
    text-align: center;
    color: rgba(255, 255, 255, .58);
}

.rz-sidebar .rz-nav-toggle:hover,
.rz-sidebar .rz-nav-toggle:focus {
    background: rgba(217, 91, 0, .22);
    color: #fff;
    outline: none;
}

.rz-sidebar .rz-nav-toggle.active {
    background: var(--rz-accent);
    color: #fff;
}

.rz-sidebar .rz-nav-toggle .rz-nav-chevron {
    font-size: .78rem;
    transition: transform .18s ease;
}

.rz-sidebar .rz-nav-toggle[aria-expanded="true"] .rz-nav-chevron {
    transform: rotate(180deg);
}

.rz-sidebar .rz-subnav {
    margin: .35rem 0 .55rem 1rem;
    padding: .15rem 0 .15rem .75rem;
    border-left: 2px solid rgba(255, 255, 255, .16);
}

.rz-sidebar .rz-settings-nav {
    margin-left: .65rem;
    padding-left: .5rem;
}

.rz-sidebar .rz-settings-nav > .rz-nav-subtoggle {
    padding: .42rem .7rem;
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
}

.rz-sidebar .rz-settings-nav > .rz-nav-subtoggle.active {
    background: rgba(217, 91, 0, .22);
}

.rz-sidebar .rz-settings-nav .rz-subnav {
    margin-left: .7rem;
}

.rz-sidebar .rz-logout-link {
    margin-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    padding-top: 1rem;
}

.rz-sidebar .rz-subnav .nav-link {
    font-size: .92rem;
    padding: .45rem .75rem;
    margin-bottom: .15rem;
    color: rgba(255, 255, 255, .72);
    border-radius: .5rem;
}

.rz-sidebar .rz-subnav .nav-link:hover,
.rz-sidebar .rz-subnav .nav-link:focus {
    color: #fff;
    background: rgba(217, 91, 0, .18);
}

.rz-sidebar .rz-subnav .nav-link.active {
    color: #fff;
    background: rgba(217, 91, 0, .9);
}

.rz-sidebar .nav-link.active {
    background: var(--rz-accent);
    color: #fff;
}


.rz-dashboard-card {
    border-top: 4px solid var(--rz-accent);
    transition: transform .15s ease, box-shadow .15s ease;
}

.rz-dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(6, 40, 74, .1);
}

.rz-dashboard-card .stretched-link {
    color: var(--rz-accent);
    font-weight: 400;
    text-decoration: none;
}

.rz-dashboard-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .85rem;
    background: rgba(217, 91, 0, .12);
    color: var(--rz-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.rz-dashboard-card .display-6 {
    color: var(--rz-primary);
}


/* Bootstrap default toast result colors */
.rz-toast.text-bg-success,
.rz-toast.text-bg-danger,
.rz-toast.text-bg-info,
.rz-toast.text-bg-primary,
.rz-toast.text-bg-secondary,
.rz-toast.text-bg-dark {
    color: #fff;
}

.rz-toast.text-bg-warning,
.rz-toast.text-bg-light {
    color: #111 !important;
}


.rz-status-badge {
    cursor: pointer;
    font-size: .82rem;
    padding: .45rem .65rem;
}

.rz-status-badge:hover,
.rz-status-badge:focus {
    box-shadow: 0 0 0 .2rem rgba(217, 91, 0, .18);
}

.dropdown-menu form {
    margin: 0;
}


.rz-cancel-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(217, 91, 0, .12), transparent 34rem),
        linear-gradient(135deg, rgba(6, 40, 74, .06), rgba(255, 255, 255, 1));
}

.rz-cancel-card {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(6, 40, 74, .12);
}

.rz-cancel-summary {
    background: #f8fafc;
    border: 1px solid var(--rz-border);
    border-radius: 1rem;
    padding: 1.25rem;
}

.rz-cancel-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: var(--bs-success);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.rz-cancel-icon-warning {
    background: var(--bs-warning);
    color: #111;
}


.rz-agenda-wrap {
    width: 100%;
    overflow: auto;
}

.rz-agenda-grid {
    display: grid;
    grid-template-columns: 88px repeat(auto-fit, minmax(230px, 1fr));
    min-width: 920px;
}

.rz-agenda-time-column,
.rz-agenda-room-column {
    border-right: 1px solid var(--rz-border);
}

.rz-agenda-room-head {
    height: 72px;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--rz-border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 3;
}

.rz-agenda-room-head small {
    color: var(--rz-muted);
}

.rz-agenda-corner {
    left: 0;
    z-index: 4;
}

.rz-agenda-time {
    height: var(--rz-slot-height);
    padding: .4rem .65rem;
    color: var(--rz-muted);
    font-size: .85rem;
    border-bottom: 1px solid var(--rz-border);
    background: #fff;
}

.rz-agenda-room-body {
    position: relative;
    min-height: calc(var(--rz-agenda-hours) * var(--rz-slot-height));
    background:
        linear-gradient(to bottom, transparent calc(var(--rz-slot-height) - 1px), var(--rz-border) calc(var(--rz-slot-height) - 1px), var(--rz-border) var(--rz-slot-height));
    background-size: 100% var(--rz-slot-height);
}

.rz-agenda-hour-line {
    height: var(--rz-slot-height);
}

.rz-agenda-reservation {
    position: absolute;
    left: .5rem;
    right: .5rem;
    border-radius: .75rem;
    padding: .55rem .65rem;
    text-decoration: none;
    color: #111;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(6, 40, 74, .12);
    border-left: 4px solid var(--rz-accent);
    background: #fff;
}

.rz-agenda-reservation:hover,
.rz-agenda-reservation:focus {
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(6, 40, 74, .18);
}

.rz-agenda-name {
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-agenda-meta {
    font-size: .82rem;
    opacity: .75;
}

.rz-agenda-status-pending {
    border-left-color: var(--bs-warning);
    background: #fff8e1;
}

.rz-agenda-status-confirmed {
    border-left-color: var(--bs-success);
    background: #ecfdf3;
}

.rz-agenda-status-seated {
    border-left-color: var(--bs-primary);
    background: #edf5ff;
}

.rz-agenda-status-completed {
    border-left-color: var(--bs-secondary);
    background: #f8f9fa;
}

.rz-agenda-status-cancelled {
    border-left-color: var(--bs-danger);
    background: #fff1f1;
    opacity: .65;
}

.rz-agenda-status-noshow {
    border-left-color: var(--bs-dark);
    background: #f1f3f5;
    opacity: .65;
}

@media (max-width: 991.98px) {
    .rz-agenda-grid {
        grid-template-columns: 76px repeat(auto-fit, minmax(210px, 1fr));
    }
}


.rz-agenda-table > :not(caption) > * > * {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.rz-agenda-table tbody tr {
    border-left: 4px solid transparent;
}

.rz-agenda-table tbody tr:hover {
    border-left-color: var(--rz-accent);
}


.rz-timeline-scroll {
    overflow: auto;
    background: #fff;
}

.rz-timeline {
    display: grid;
    grid-template-columns: 170px calc(var(--rz-hours) * var(--rz-hour-width));
    min-width: calc(170px + (var(--rz-hours) * var(--rz-hour-width)));
}

.rz-timeline-top-left {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 5;
    background: #fff;
    border-right: 1px solid var(--rz-border);
    border-bottom: 1px solid var(--rz-border);
    height: 58px;
}

.rz-timeline-time-header {
    display: grid;
    grid-template-columns: repeat(var(--rz-hours), var(--rz-hour-width));
    height: 58px;
    position: sticky;
    top: 0;
    z-index: 4;
    background: #fff;
    border-bottom: 1px solid var(--rz-border);
}

.rz-timeline-hour {
    padding: 1rem .75rem;
    font-weight: 800;
    color: var(--rz-text);
    border-right: 1px solid var(--rz-border);
}

.rz-timeline-room-label {
    position: sticky;
    left: 0;
    z-index: 3;
    height: var(--rz-row-height);
    background: #fff;
    border-right: 1px solid var(--rz-border);
    border-bottom: 1px solid var(--rz-border);
    padding: 1rem;
}

.rz-timeline-room-label small {
    color: var(--rz-muted);
}

.rz-timeline-room-row {
    position: relative;
    height: var(--rz-row-height);
    display: grid;
    grid-template-columns: repeat(var(--rz-hours), var(--rz-hour-width));
    border-bottom: 1px solid var(--rz-border);
    background: #fff;
}

.rz-timeline-hour-bg {
    border-right: 1px solid rgba(15, 23, 42, .06);
    background-image: linear-gradient(to right, transparent 49.5%, rgba(15, 23, 42, .04) 50%, transparent 50.5%);
    background-size: calc(var(--rz-hour-width) / 2) 100%;
}

.rz-timeline-block {
    position: absolute;
    top: 15px;
    height: 62px;
    border-radius: .8rem;
    padding: .55rem .7rem;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(6, 40, 74, .18);
    transition: transform .12s ease, box-shadow .12s ease;
}

.rz-timeline-block:hover,
.rz-timeline-block:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(6, 40, 74, .24);
}

.rz-timeline-block-top {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.rz-timeline-block-top strong {
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-timeline-persons {
    min-width: 1.65rem;
    height: 1.65rem;
    border-radius: .45rem;
    background: rgba(0, 0, 0, .22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.rz-timeline-block-meta i {
    color: #fff3a6;
}

.rz-timeline-block.rz-timeline-has-notes {
    background-image: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18));
}

.rz-timeline-block-meta {
    font-size: .8rem;
    opacity: .9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-timeline-confirmed {
    background: #0ea36a;
}

.rz-timeline-pending {
    background: #f59f00;
    color: #111;
}

.rz-timeline-pending:hover,
.rz-timeline-pending:focus {
    color: #111;
}

.rz-timeline-seated {
    background: #3155ff;
}

.rz-timeline-completed {
    background: #6c757d;
}

.rz-timeline-cancelled {
    background: #dc3545;
    opacity: .72;
}

.rz-timeline-noshow {
    background: #212529;
    opacity: .72;
}

.rz-timeline-default {
    background: var(--rz-accent);
}

.rz-legend {
    font-size: .75rem;
    border-radius: .15rem;
}

.rz-legend-confirmed {
    color: #0ea36a;
}

.rz-legend-pending {
    color: #f59f00;
}

.rz-legend-seated {
    color: #3155ff;
}

.rz-legend-cancelled {
    color: #dc3545;
}

@media (max-width: 991.98px) {
    .rz-timeline {
        grid-template-columns: 130px calc(var(--rz-hours) * var(--rz-hour-width));
        min-width: calc(130px + (var(--rz-hours) * var(--rz-hour-width)));
    }

    .rz-timeline-room-label {
        padding: .8rem;
    }
}


/* Timeline: every reservation on its own row */
.rz-timeline-room-label {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 767.98px) {
    .rz-timeline {
        grid-template-columns: 42px calc(var(--rz-hours) * var(--rz-hour-width));
        min-width: calc(42px + (var(--rz-hours) * var(--rz-hour-width)));
    }

    .rz-timeline-room-label {
        padding: .5rem .25rem;
        align-items: center;
        min-width: 0;
    }

    .rz-timeline-room-label > .fw-semibold {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 100%;
        font-size: .8rem;
        flex-shrink: 1;
    }

    .rz-timeline-room-label > small,
    .rz-timeline-room-label > .small {
        display: none;
    }
}

.rz-timeline-room-row {
    min-height: var(--rz-row-height);
    background:
        linear-gradient(to right, transparent calc(var(--rz-hour-width) - 1px), rgba(15, 23, 42, .08) calc(var(--rz-hour-width) - 1px), rgba(15, 23, 42, .08) var(--rz-hour-width)),
        #fff;
    background-size: var(--rz-hour-width) 100%;
}

.rz-timeline-room-row-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    padding: .7rem .85rem;
    border-bottom: 1px solid var(--rz-border);
    background: rgba(248, 250, 252, .92);
    color: var(--rz-muted);
    font-size: .85rem;
    font-weight: 700;
    z-index: 1;
}

.rz-timeline-hour-bg {
    min-height: 100%;
}

.rz-timeline-block {
    top: auto;
    height: 40px;
    padding: .4rem .7rem;
    z-index: 2;
}

.rz-timeline-time {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: .8rem;
}

.rz-timeline-persons { flex-shrink: 0; }

.rz-timeline-block-top {
    gap: .5rem;
}

.rz-timeline-block .badge {
    flex: 0 0 auto;
}


.rz-agenda-filter-card {
    border: 1px solid rgba(15, 23, 42, .08);
}

.rz-agenda-filter-form {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.rz-agenda-filter-left {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .75rem;
    width: 100%;
}

.rz-filter-field {
    min-width: 190px;
}

.rz-filter-field .form-label {
    font-size: .78rem;
    font-weight: 800;
    color: var(--rz-muted);
    margin-bottom: .3rem;
}

.rz-filter-date {
    min-width: 210px;
}

.rz-date-control {
    position: relative;
}

.rz-date-control i {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rz-accent);
    pointer-events: none;
    z-index: 2;
}

.rz-date-control .form-control {
    padding-left: 2.45rem;
    border-radius: .8rem;
    font-weight: 700;
    min-height: 42px;
}

.rz-agenda-filter-left .form-select {
    border-radius: .8rem;
    min-height: 42px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .rz-filter-field,
    .rz-filter-date {
        width: 100%;
        min-width: 100%;
    }

    .rz-agenda-filter-left .btn-rezzer {
        width: 100%;
    }
}


.rz-agenda-filter-left .rz-icon-btn {
    align-self: end;
}


/* Global styled date fields */
.rz-date-control {
    position: relative;
}

.rz-date-control i {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rz-accent);
    pointer-events: none;
    z-index: 2;
}

.rz-date-control input[type="date"],
.rz-date-control .form-control[type="date"] {
    padding-left: 2.45rem;
    border-radius: .8rem;
    font-weight: 700;
    min-height: 42px;
}

.rz-date-control input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}


/* Custom admin date picker */
.rz-admin-date-picker {
    position: relative;
    min-width: 210px;
}

.rz-admin-date-native {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
}

.rz-admin-date-display {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--rz-border);
    border-radius: .8rem;
    background: #fff;
    color: var(--rz-text);
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .85rem;
    font-weight: 700;
    text-align: left;
}

.rz-admin-date-display i {
    color: var(--rz-accent);
}

.rz-admin-date-display:hover,
.rz-admin-date-display:focus {
    border-color: var(--rz-accent);
    box-shadow: 0 0 0 .25rem rgba(217, 91, 0, .18);
    outline: none;
}

.rz-admin-date-display.is-invalid {
    border-color: var(--bs-form-invalid-border-color, #dc3545);
}

.rz-admin-date-display.is-invalid:focus {
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .16);
}

[data-special-date-row] > .rz-admin-date-picker {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

[data-special-date-row] .rz-admin-date-display {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

[data-special-date-row] > [data-remove-special-date] {
    border-color: var(--rz-border);
    color: var(--rz-muted);
}

[data-special-date-row] > [data-remove-special-date]:hover,
[data-special-date-row] > [data-remove-special-date]:focus {
    border-color: var(--rz-accent);
    background: rgba(217, 91, 0, .1);
    color: var(--rz-accent);
    box-shadow: none;
}

.rz-admin-date-panel {
    display: none;
    position: absolute;
    top: calc(100% + .45rem);
    left: 0;
    width: 320px;
    background: #fff;
    border: 1px solid var(--rz-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 18px 45px rgba(6, 40, 74, .18);
    z-index: 1085;
}

.rz-admin-date-picker.is-open .rz-admin-date-panel {
    display: block;
}

.rz-admin-date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}

.rz-admin-date-title {
    color: var(--rz-primary);
    text-transform: capitalize;
}

.rz-admin-date-prev,
.rz-admin-date-next {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--rz-accent);
    border-radius: .55rem;
    background: #fff;
    color: var(--rz-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rz-admin-date-prev:hover,
.rz-admin-date-next:hover,
.rz-admin-date-prev:focus,
.rz-admin-date-next:focus {
    background: var(--rz-accent);
    color: #fff;
}

.rz-admin-date-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(34px, 1fr));
    gap: .35rem;
}

.rz-admin-date-weekday {
    text-align: center;
    color: var(--rz-muted);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding-bottom: .25rem;
}

.rz-admin-date-empty,
.rz-admin-date-day {
    aspect-ratio: 1 / 1;
}

.rz-admin-date-day {
    border: 0;
    border-radius: .7rem;
    background: #f8fafc;
    color: var(--rz-text);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.rz-admin-date-day:hover,
.rz-admin-date-day:focus {
    background: rgba(217, 91, 0, .14);
    color: var(--rz-accent);
}

.rz-admin-date-day.is-today {
    outline: 2px solid rgba(217, 91, 0, .35);
}

.rz-admin-date-day.is-selected {
    background: var(--rz-accent);
    color: #fff;
}

@media (max-width: 575.98px) {
    .rz-admin-date-panel {
        width: 290px;
    }
}


.rz-special-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: .75rem;
    flex: 0 0 auto;
}

.rz-special-thumb-empty {
    background: #f3f4f6;
    color: var(--rz-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rz-special-preview-img {
    max-width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: .85rem;
    border: 1px solid var(--rz-border);
}


/* Black/white replacement for blue/white buttons */
.btn-outline-primary:not(.rz-icon-btn) {
    color: #111 !important;
    border-color: #111 !important;
    background-color: #fff !important;
}

.btn-outline-primary:not(.rz-icon-btn):hover,
.btn-outline-primary:not(.rz-icon-btn):focus,
.btn-outline-primary:not(.rz-icon-btn):active,
.btn-outline-primary:not(.rz-icon-btn).active {
    color: #fff !important;
    border-color: #111 !important;
    background-color: #111 !important;
    box-shadow: 0 0 0 .25rem rgba(17, 17, 17, .16) !important;
}

.btn-primary:not(.rz-icon-btn) {
    color: #fff !important;
    border-color: #111 !important;
    background-color: #111 !important;
}

.btn-primary:not(.rz-icon-btn):hover,
.btn-primary:not(.rz-icon-btn):focus,
.btn-primary:not(.rz-icon-btn):active,
.btn-primary:not(.rz-icon-btn).active {
    color: #fff !important;
    border-color: #000 !important;
    background-color: #000 !important;
    box-shadow: 0 0 0 .25rem rgba(17, 17, 17, .16) !important;
}

.btn-check:checked + .btn-outline-primary:not(.rz-icon-btn),
.btn-check:active + .btn-outline-primary:not(.rz-icon-btn) {
    color: #fff !important;
    border-color: #111 !important;
    background-color: #111 !important;
}


.rz-preview-specials-fallback {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 100px;
    z-index: 9;
    max-width: 420px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--rz-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 16px 40px rgba(6, 40, 74, .14);
}

.rz-preview-specials-fallback .rz-widget-specials-title {
    font-weight: 900;
    margin-bottom: .65rem;
}

.rz-preview-specials-fallback .rz-specials-list {
    display: grid;
    gap: .65rem;
}

.rz-preview-specials-fallback .rz-special-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .75rem;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .9rem;
    padding: .6rem;
    background: #fff;
}

.rz-preview-specials-fallback .rz-special-card img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: .7rem;
}

.rz-preview-specials-fallback .rz-special-card strong {
    display: block;
    font-size: .92rem;
}

.rz-preview-specials-fallback .rz-special-card p {
    margin: .15rem 0 0;
    font-size: .82rem;
    line-height: 1.25;
    opacity: .78;
}

.rz-preview-specials-fallback .rz-special-card small {
    display: block;
    margin-top: .2rem;
    font-size: .76rem;
    opacity: .68;
}


.rz-preview-specials-inline {
    margin: 1rem 24px 0;
    max-width: 420px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--rz-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 16px 40px rgba(6, 40, 74, .14);
    position: relative;
    z-index: 12;
}

.rz-preview-specials-inline .rz-widget-specials-title {
    font-weight: 900;
    margin-bottom: .65rem;
}

.rz-preview-specials-inline .rz-specials-list {
    display: grid;
    gap: .65rem;
}

.rz-preview-specials-inline .rz-special-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .75rem;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .9rem;
    padding: .6rem;
    background: #fff;
}

.rz-preview-specials-inline .rz-special-card img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: .7rem;
}

.rz-preview-specials-inline .rz-special-card strong {
    display: block;
    font-size: .92rem;
}

.rz-preview-specials-inline .rz-special-card p {
    margin: .15rem 0 0;
    font-size: .82rem;
    line-height: 1.25;
    opacity: .78;
}

.rz-preview-specials-inline .rz-special-card small {
    display: block;
    margin-top: .2rem;
    font-size: .76rem;
    opacity: .68;
}


/* Specials preview should never sit behind the widget overlay */
.rz-preview-specials-inline,
.rz-preview-specials-fallback {
    position: relative !important;
    z-index: 30 !important;
    pointer-events: auto !important;
    margin: 1rem 24px 7rem !important;
}

#rezzer-widget-preview {
    z-index: 10;
}

#rezzer-widget-preview .rz-widget-panel {
    z-index: 20;
}


/* Specials are shown inside the widget panel, not as preview overlay */
.rz-preview-specials-inline,
.rz-preview-specials-fallback {
    display: none !important;
}


.rz-preview-specials-inline,
.rz-preview-specials-fallback {
    display: none !important;
}


/* Admin widget preview: no grey overlay over the preview */
#rezzer-widget-preview .rz-widget-backdrop {
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}

.rz-preview-browser,
.rz-preview-content {
    background-color: #f8fafc;
}

/* Agenda filter layout fix */
.rz-agenda-date-nav {
    display: inline-flex;
    align-items: flex-end;
    gap: .5rem;
    flex: 0 0 auto;
}

.rz-agenda-date-nav .rz-icon-btn {
    margin-bottom: 0;
    min-width: 2.1rem;
    height: 2.75rem;
}

.rz-agenda-date-nav .rz-admin-date-display,
.rz-agenda-date-nav .form-control[type="date"] {
    height: 2.75rem;
}

.rz-agenda-date-nav .rz-filter-date {
    min-width: 210px;
}

.rz-agenda-filter-left {
    align-items: flex-end;
}

.rz-agenda-filter-left .rz-date-control {
    position: static;
}

.rz-agenda-filter-left .rz-date-control .input-group-text {
    border-radius: .8rem 0 0 .8rem;
    background: #fff;
    color: var(--rz-accent);
    border-color: var(--rz-border);
}

.rz-agenda-filter-left .rz-date-control .input-group-text i {
    position: static;
    transform: none;
    pointer-events: none;
    z-index: auto;
}

.rz-agenda-filter-left .rz-date-control .form-control[type="date"] {
    padding-left: .85rem;
    border-radius: 0 .8rem .8rem 0;
}

@media (max-width: 767.98px) {
    .rz-agenda-date-nav {
        width: 100%;
    }

    .rz-agenda-date-nav .rz-filter-date {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }
}


/* Agenda date input: keep Bootstrap input-group connected and prevent icon overlap */
.rz-agenda-date-input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.rz-agenda-date-input-group .input-group-text {
    border-radius: .8rem 0 0 .8rem;
    background: #fff;
    color: var(--rz-accent);
    border-color: var(--rz-border);
    min-height: 42px;
}

.rz-agenda-date-input-group .input-group-text i {
    position: static !important;
    transform: none !important;
    pointer-events: none;
    z-index: auto;
}

.rz-agenda-date-input-group .form-control[type="date"] {
    min-height: 42px;
    padding-left: .85rem !important;
    border-radius: 0 .8rem .8rem 0 !important;
    font-weight: 700;
}


.rz-floorplan-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.rz-floorplan-canvas {
    position: relative;
    min-height: 520px;
    border: 2px dashed var(--rz-border);
    border-radius: 1rem;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(6, 40, 74, .05) 1px, transparent 1px),
        linear-gradient(rgba(6, 40, 74, .05) 1px, transparent 1px),
        #fff;
    background-size: 24px 24px;
}

.rz-floorplan-table {
    position: absolute;
    border: 2px solid var(--rz-primary);
    background: #fff;
    color: var(--rz-primary);
    border-radius: .8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    cursor: move;
    user-select: none;
    box-shadow: 0 8px 22px rgba(6, 40, 74, .12);
    transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}

.rz-floorplan-table-label {
    display: grid;
    place-items: center;
    line-height: 1.15;
    text-align: center;
    font-weight: 400;
    transform-origin: center;
}


.rz-floorplan-table small {
    font-size: .72rem;
}

.rz-floorplan-table.rz-floorplan-table-round,
.rz-floorplan-live-table.rz-floorplan-table-round {
    border-radius: 999px;
}

.rz-floorplan-table.rz-floorplan-table-square,
.rz-floorplan-live-table.rz-floorplan-table-square,
.rz-floorplan-table.rz-floorplan-table-rectangle,
.rz-floorplan-live-table.rz-floorplan-table-rectangle {
    border-radius: 0;
}

.rz-floorplan-table.is-selected {
    border-color: var(--rz-accent);
    background: rgba(217, 91, 0, .08);
    box-shadow: 0 0 0 .25rem rgba(217, 91, 0, .18);
}

.rz-floorplan-table.is-dragging {
    z-index: 5;
    box-shadow: 0 14px 34px rgba(6, 40, 74, .22);
}

@media (max-width: 767.98px) {
    .rz-floorplan-canvas {
        min-height: 420px;
    }
}


/* Daily floorplan planning */
.rz-floorplan-live-canvas {
    position: relative;
    min-height: 620px;
    border: 2px dashed var(--rz-border);
    border-radius: 1rem;
    overflow: auto;
    background:
        linear-gradient(90deg, rgba(6, 40, 74, .05) 1px, transparent 1px),
        linear-gradient(rgba(6, 40, 74, .05) 1px, transparent 1px),
        #fff;
    background-size: 24px 24px;
}

.rz-floorplan-live-table {
    position: absolute;
    box-sizing: border-box;
    border: 2px solid var(--rz-primary);
    background: rgba(255, 255, 255, .96);
    color: var(--rz-primary);
    border-radius: .8rem;
    padding: .45rem;
    box-shadow: 0 8px 22px rgba(6, 40, 74, .12);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    overflow: visible;
}

.rz-floorplan-live-table-content {
    position: absolute;
    left: 50%;
    top: 56%;
    width: calc(100% - .7rem);
    max-width: none;
    transform: translate(-50%, -50%) rotate(var(--rz-table-content-rotation, 0deg));
    transform-origin: center;
    z-index: 2;
}

.rz-floorplan-live-table.has-reservations {
    border-color: var(--rz-accent);
    background: rgba(217, 91, 0, .08);
}

.rz-floorplan-live-table.has-reservations .rz-floorplan-live-table-title {
    top: .3rem;
    transform: translate(-50%, 0) rotate(var(--rz-table-content-rotation, 0deg));
    font-size: .68rem;
}

.rz-floorplan-live-table.has-reservations .rz-floorplan-live-table-title small {
    display: none;
}

.rz-floorplan-live-table.has-reservations .rz-floorplan-live-table-content {
    max-height: calc(100% - 1.35rem);
    overflow: visible;
}

.rz-floorplan-live-table.has-multiple-reservations .rz-floorplan-live-table-content {
    top: 56%;
    bottom: auto;
    width: calc(100% - .7rem);
    max-height: none;
    transform: translate(-50%, -50%) rotate(var(--rz-table-content-rotation, 0deg));
    transform-origin: center;
    overflow: visible;
    z-index: 10;
}

.rz-floorplan-live-table.has-multiple-reservations {
    z-index: 5;
    overflow: visible;
}

.rz-floorplan-reservation-count {
    display: inline-block;
    margin-left: .25rem;
    padding: .08rem .25rem;
    border-radius: 999px;
    background: var(--rz-accent);
    color: #fff;
    font-size: .58rem;
    line-height: 1.2;
}

.rz-floorplan-live-table.has-multiple-reservations .rz-floorplan-live-table-reservations {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.rz-floorplan-live-table.has-multiple-reservations .rz-floorplan-reservation-card {
    grid-area: 1 / 1;
    width: calc(100% - var(--rz-card-max-offset, 0px));
    transform: translate(var(--rz-card-offset, 0px), var(--rz-card-offset, 0px));
    z-index: var(--rz-card-layer, 1);
    transition: transform .15s ease, box-shadow .15s ease;
}

.rz-floorplan-live-table.has-multiple-reservations .rz-floorplan-reservation-card.is-front {
    transform: translate(0, 0);
    z-index: 20;
    box-shadow: 0 5px 14px rgba(6, 40, 74, .18);
}

.rz-floorplan-live-table .rz-floorplan-reservation-card {
    box-sizing: border-box;
    width: 100%;
    padding: .22rem 1.65rem .22rem .3rem;
    border-radius: .45rem;
    box-shadow: none;
    font-size: .66rem;
}

.rz-floorplan-live-table .rz-floorplan-reservation-card .small,
.rz-floorplan-live-table .rz-floorplan-combination-label {
    font-size: .6rem;
}

.rz-floorplan-table-nonbookable,
.rz-floorplan-live-table-nonbookable {
    border-style: solid;
    border-color: #667580;
    color: #26343e;
    background: repeating-linear-gradient(
        135deg,
        #edf0f2 0,
        #edf0f2 7px,
        #b7c1c9 7px,
        #b7c1c9 9px
    );
}

.rz-floorplan-table-nonbookable .rz-floorplan-table-label,
.rz-floorplan-live-table-nonbookable .rz-floorplan-live-table-title {
    background: #fff;
    padding: .15rem .3rem;
    border-radius: .25rem;
    opacity: 0;
    pointer-events: none;
}

.rz-floorplan-table-nonbookable:is(:hover, :focus-visible) .rz-floorplan-table-label,
.rz-floorplan-live-table-nonbookable:is(:hover, :focus-visible) .rz-floorplan-live-table-title {
    opacity: 1;
}

.rz-floorplan-live-table.is-drop-target,
.rz-floorplan-dropzone.is-drop-target {
    border-color: var(--rz-accent);
    box-shadow: 0 0 0 .25rem rgba(217, 91, 0, .18);
}

.rz-floorplan-live-table-title {
    position: absolute;
    left: 50%;
    top: 50%;
    min-width: 3.8rem;
    max-width: calc(100% - .7rem);
    transform: translate(-50%, -50%) rotate(var(--rz-table-content-rotation, 0deg));
    transform-origin: center;
    display: grid;
    place-items: center;
    gap: .08rem;
    line-height: 1.05;
    text-align: center;
    font-weight: 400;
    z-index: 3;
    white-space: nowrap;
}

.rz-floorplan-live-table-title span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-floorplan-live-table-title small {
    display: block;
    font-size: .62rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.rz-floorplan-live-table-reservations {
    display: grid;
    gap: .25rem;
}

.rz-floorplan-reservation-card {
    position: relative;
    border: 1px solid rgba(6, 40, 74, .14);
    border-radius: .7rem;
    padding: .35rem 2rem .35rem .45rem;
    background: #fff;
    color: var(--rz-primary);
    cursor: grab;
    box-shadow: 0 4px 12px rgba(6, 40, 74, .08);
    font-size: .78rem;
    line-height: 1.2;
    font-weight: 400;
}

.rz-floorplan-person-count {
    position: absolute;
    top: -.55rem;
    right: -.55rem;
    display: inline-grid;
    place-items: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 .25rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--rz-accent);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(6, 40, 74, .22);
    z-index: 2;
}

.rz-floorplan-live-table .rz-floorplan-reservation-card .d-flex > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-floorplan-reservation-card:active {
    cursor: grabbing;
}

.rz-floorplan-reservation-card.is-dragging {
    opacity: .55;
}

.rz-floorplan-combination-label {
    margin-top: .3rem;
    color: var(--rz-accent);
    font-size: .67rem;
    font-weight: 700;
}

.rz-table-combination-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 58px;
    padding: .65rem .75rem;
    border: 1px solid var(--rz-border);
    border-radius: .75rem;
    background: #fff;
    cursor: pointer;
}

.rz-table-combination-option:has(input:checked) {
    border-color: var(--rz-accent);
    background: rgba(217, 91, 0, .07);
}

.rz-table-combination-option span,
.rz-table-combination-option small {
    display: block;
}

.rz-table-combination-option small {
    color: var(--rz-muted);
    font-size: .72rem;
}

.rz-floorplan-dropzone {
    min-height: 180px;
    border: 2px dashed transparent;
    border-radius: .9rem;
    padding: .35rem;
    display: grid;
    align-content: start;
    gap: .5rem;
}

.rz-floorplan-unassigned {
    background: rgba(6, 40, 74, .03);
}

@media (max-width: 1199.98px) {
    .rz-floorplan-live-canvas {
        min-height: 520px;
    }
}

.rz-floorplan-reservation-card .badge {
    font-size: .68rem;
    font-weight: 400;
}

.rz-floorplan-reservation-card .small {
    font-size: .72rem;
}
.rz-code-credit {
    position: fixed;
    right: .75rem;
    bottom: .5rem;
    z-index: 1020;
    color: var(--rz-muted, #5f6b78);
    font-size: .75rem;
    text-decoration: none;
}
.rz-legal-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem 0;overflow-wrap:anywhere;padding:.6rem 1rem;text-align:center;background:#03192e}.rz-legal-footer-links a{margin:0 .55rem;color:rgba(255,255,255,.8);font-size:.78rem;text-decoration:none}.rz-legal-footer-links a:hover,.rz-legal-footer-links a:focus{color:#fff}

.rz-code-credit.rz-code-credit-inline {
    position: static;
    display: block;
    width: fit-content;
    margin: .5rem .75rem .5rem auto;
}

.rz-code-credit:hover,
.rz-code-credit:focus-visible {
    color: var(--rz-primary, #173f73);
}

.rz-admin-date-display.is-valid { border-color: var(--bs-success); }
.rz-admin-date-day:disabled { opacity: .35; cursor: not-allowed; background: transparent; }
.rz-admin-date-picker:has(.is-invalid) + .invalid-feedback,
.rz-admin-date-picker:has(.is-valid) + .valid-feedback { display: block; }
