/* ============ BOOKING PAGE ================= */
/* Full-height flex layout — no page scroll, only calendar scrolls */
html, body {
    height: 100%;
    margin: 0;
}
.is-boxed {
    background: rgba(4, 78, 39, 0.06);
}
.body-wrap {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: rgba(4, 78, 39, 0.03);
}
.site-header {
    flex-shrink: 0;
    padding: 8px 0;
}
.site-header::before {
    display: none;
}
main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.site-footer {
    display: none;
}
.booking-host {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.booking-layout {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: row;
    padding: 12px;
    gap: 12px;
}
.booking-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* ========== LEFT SIDEBAR ============== */
.booking-sidebar {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    border-radius: 14px;
    border: 1px solid var(--c-border);
    padding: 16px;
    gap: 20px;
    overflow-y: auto;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
}
.sidebar-brand i {
    font-size: 22px;
}
.sidebar-nav {
    /* display: flex; */
    flex-direction: column;
    gap: 4px;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-body-text);
    text-decoration: none;
    transition: background 0.15s;
}
.sidebar-item:hover {
    background: rgba(4, 78, 39, 0.06);
}
.sidebar-item.active {
    background: rgba(4, 78, 39, 0.1);
    color: var(--c-primary);
    font-weight: 600;
}
/* ========== MAIN CONTENT ============== */
.booking-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* ========== BOOKING TOOLBAR ============== */
.booking-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    gap: 16px;
}
.toolbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.toolbar-nav .sims-btn-secondary {
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
}
.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.toolbar-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-primary);
    min-width: 130px;
    margin-left: 8px;
}
.toolbar-view {
    display: flex;
    align-items: center;
    gap: 4px;
}
.toolbar-view .sims-btn-secondary,
.toolbar-view .sims-btn-primary {
    padding: 4px 12px;
    font-size: 13px;
    cursor: pointer;
}
/* ==========================================================
   BOOKING CALENDAR
   ========================================================== */
/* ================= CALENDAR WORKSPACE ================= */
.calendar-workspace {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
/* ================= CARD ================= */
.calendar-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 8px 28px rgba(15, 23, 42, .06),
        0 2px 8px rgba(15, 23, 42, .04);
}
/* ================= HEADER ================= */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    border-bottom: 1px solid var(--c-border);
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfd 100%
        );
}
.calendar-header-left {
    flex: 1;
}
.calendar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .08);
    color: var(--c-primary);
    font-size: 13px;
    font-weight: 600;
}
.calendar-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--c-heading);
}
.calendar-subtitle {
    margin-top: 10px;
    max-width: 700px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-body-text);
}
/* ================= STATUS ================= */
.calendar-header-right {
    display: flex;
    align-items: center;
}
.calendar-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-body-text);
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 0 4px rgba(34,197,94,.15);
}
/* ================= CONTENT ================= */
.calendar-content {
    flex: 1;
    min-height: 0;
    display: flex;
    padding: 24px;
    background: #fbfcfe;
}
/* ================= CALENDAR ================= */
#booking-calendar {
    flex: 1;
    min-height: 600px;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
}
/* ================= LOADING ================= */
#booking-calendar.loading {
    opacity: .6;
    pointer-events: none;
}
/* ================= ANIMATION ================= */
.calendar-card {
    transition:
        box-shadow .25s ease,
        transform .25s ease;
}
.calendar-card:hover {
    box-shadow:
        0 14px 40px rgba(15,23,42,.08),
        0 6px 14px rgba(15,23,42,.05);
}
/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .calendar-header {
        padding: 24px;
    }
    .calendar-content {
        padding: 20px;
    }
}
@media (max-width: 992px) {
    .booking-layout {
        flex-direction: column;
        padding: 8px;
    }
    .booking-sidebar {
        width: 100%;
        flex-shrink: 1;
    }
    .calendar-header {
        flex-direction: column;
        gap: 18px;
    }
    .calendar-header-right {
        width: 100%;
        justify-content: flex-start;
    }
    .calendar-title {
        font-size: 26px;
    }
    .calendar-subtitle {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .calendar-workspace {
        margin-top: 16px;
    }
    .calendar-card {
        border-radius: 16px;
    }
    .calendar-header {
        padding: 20px;
    }
    .calendar-content {
        padding: 14px;
    }
    .calendar-title {
        font-size: 22px;
    }
    .calendar-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }
    .calendar-status {
        width: 100%;
        justify-content: center;
    }
    #booking-calendar {
        min-height: 600px;
        border-radius: 14px;
    }
}
@media (max-width: 576px) {
    .calendar-header {
        padding: 18px;
    }
    .calendar-content {
        padding: 10px;
    }
    .calendar-title {
        font-size: 20px;
    }
    .calendar-badge {
        font-size: 12px;
    }
    .calendar-status {
        font-size: 13px;
        padding: 10px 14px;
    }
    #booking-calendar {
        min-height: 520px;
        border-radius: 12px;
    }
    .booking-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 12px;
    }
    .toolbar-nav {
        justify-content: space-between;
        width: 100%;
    }
    .toolbar-actions {
        justify-content: space-between;
        width: 100%;
    }
    .toolbar-view {
        display: flex;
        width: 100%;
    }
    .toolbar-view button {
        flex: 1;
        text-align: center;
        padding: 6px 8px;
        font-size: 13px;
    }
}
/* ================== TIMEZONE DROPDOWN ===================*/
.timezone-dropdown {
    position: relative;
    min-width: 240px;
}
.timezone-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    height: 32px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-white);
    cursor: pointer;
    font-size: 13px;
    transition: border-color 0.2s;
}
.timezone-trigger:hover {
    border-color: var(--c-primary);
}
.timezone-trigger-label {
    flex: 1;
    font-weight: 500;
    color: var(--c-body-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.timezone-chevron {
    font-size: 10px;
    color: var(--c-caption);
    transition: transform 0.2s;
}
.timezone-dropdown.open .timezone-chevron {
    transform: rotate(180deg);
}
.timezone-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 300px;
    max-height: 240px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    z-index: 3100;
    overflow: hidden;
}
.timezone-panel.open {
    display: flex;
    flex-direction: column;
}
.timezone-search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-caption);
    flex-shrink: 0;
}
.timezone-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: var(--font-base);
    background: transparent;
    color: var(--c-body-text);
}
.timezone-list {
    list-style: none;
    margin: 0;
    padding: 4px 6px;
    overflow-y: auto;
    flex: 1;
}
.timezone-option {
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
}
.timezone-option:hover,
.timezone-option.active {
    background: rgba(4, 78, 39, 0.08);
}
.timezone-option.selected {
    background: rgba(4, 78, 39, 0.12);
    font-weight: 600;
    color: var(--c-primary);
}
.timezone-option.hidden {
    display: none;
}
.timezone-no-results {
    padding: 16px 10px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}
/* =====================================================
   SIDEBAR
===================================================== */
.booking-sidebar {
    width: 320px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
/* ---------- Card ---------- */
.sidebar-card,
.sidebar-brand {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow:
        0 10px 25px rgba(15, 23, 42, .06);
}
.sidebar-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.sidebar-card:last-child {
    flex: 1;
}
/* ---------- Sidebar Header ---------- */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}
.sidebar-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d9d74, #15795a);
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.sidebar-brand-content h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #143d2e;
}
.sidebar-brand-content p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}
/* ---------- Card Title ---------- */
.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #1d9d74;
    font-size: 15px;
    font-weight: 600;
}
.sidebar-card-header i {
    width: 18px;
    text-align: center;
}
/* =====================================================
   MINI CALENDAR
===================================================== */
.mini-calendar {
    min-height: 240px;
    border-radius: 14px;
    background: #f7f9fb;
    color: #9aa3af;
    font-size: 14px;
}
/* =====================================================
   SELECTED DATE
===================================================== */
.selected-date {
    text-align: center;
}
.selected-date h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #143d2e;
}
.selected-date p {
    margin-top: 8px;
    color: #7b8a86;
    font-size: 15px;
}
/* =====================================================
   SUMMARY
===================================================== */
.summary-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.summary-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 14px;
}
.summary-value {
    font-weight: 700;
    color: #143d2e;
}
/* =====================================================
   STATUS
===================================================== */
.status-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 14px;
}
.status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.available {
    background: #22c55e;
}
.status-dot.booked {
    background: #3b82f6;
}
.status-dot.blocked {
    background: #ef4444;
}
/* =====================================================
   QUICK ACTIONS
===================================================== */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}
.sidebar-btn i {
    font-size: 13px;
}
.sidebar-btn.primary {
    background: #1d9d74;
    color: #fff;
}
.sidebar-btn.primary:hover {
    background: #15795a;
}
.sidebar-btn.secondary {
    background: #eef3f6;
    color: #374151;
}
.sidebar-btn.secondary:hover {
    background: #dde6eb;
}
/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1200px) {
    .booking-sidebar {
        width: 100%;
        min-width: unset;
    }
}
/* ================== MINI CALENDAR ===================*/
.mini-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.mini-cal-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-body-text);
}
.mini-cal-nav {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 10px;
    color: var(--c-caption);
    border-radius: 4px;
}
.mini-cal-nav:hover {
    background: rgba(4, 78, 39, 0.08);
    color: var(--c-primary);
}
.mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 2px;
}
.mini-cal-day-header {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-caption);
    padding: 4px 0;
}
.mini-cal-cell {
    font-size: 12px;
    padding: 4px 0;
    cursor: pointer;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    margin: 1px auto;
    color: var(--c-body-text);
}
.mini-cal-cell:hover {
    background: rgba(4, 78, 39, 0.08);
}
.mini-cal-cell.empty {
    cursor: default;
}
.mini-cal-cell.past {
    color: #d1d5db;
    cursor: default;
    pointer-events: none;
}
.mini-cal-cell.today {
    font-weight: 700;
    color: var(--c-primary);
    border: 1px solid var(--c-primary);
}
.mini-cal-cell.selected {
    background: var(--c-primary);
    color: #fff;
    font-weight: 600;
}
.mini-cal-cell.has-avail::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #22c55e;
    margin: -2px auto 0;
}
/* ================== SIDEBAR CARD ===================*/
.sidebar-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px;
}
.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-caption);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.selected-date h3 {
    font-size: 18px;
    margin: 0 0 2px;
    color: var(--c-body-text);
}
.selected-date p {
    font-size: 13px;
    margin: 0;
    color: var(--c-caption);
}
/* ================== SUMMARY ===================*/
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.summary-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--c-body-text);
}
.summary-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-body-text);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.status-dot.available { background: #22c55e; }
.status-dot.booked    { background: #FAA31B; }
.status-dot.blocked   { background: #EF4444; }
/* ================== STATUS LIST ===================*/
.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: var(--c-body-text);
}
/* ================== SIDEBAR BUTTONS ===================*/
.sidebar-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.sidebar-btn.primary {
    background: var(--c-primary);
    color: #fff;
}
.sidebar-btn.primary:hover {
    background: #056633;
}
.sidebar-btn.secondary {
    background: #f1f5f9;
    color: var(--c-body-text);
}
.sidebar-btn.secondary:hover {
    background: #e2e8f0;
}
/* ================= AVAILABILITY PANEL ================= */
.availability-panel {
    position: fixed;
    top: 0;
    right: -460px;
    width: 430px;
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    border-left: 1px solid var(--c-border);
    box-shadow:
        -10px 0 40px rgba(15, 23, 42, .08),
        -2px 0 12px rgba(15, 23, 42, .06);
    transition: right .35s ease;
    z-index: 1000;
}
.availability-panel.open {
    right: 0;
}
/* ================= HEADER ================= */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 24px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-white);
}
.panel-header-content h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--c-text);
}
.panel-header-content p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--c-text-light);
}
.panel-close {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 12px;
    background: #f5f7fa;
    cursor: pointer;
    transition: .2s;
}
.panel-close:hover {
    background: #ebedf2;
}
.panel-close i {
    font-size: 18px;
}
/* ================= BODY ================= */
.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.panel-group {
    display: flex;
    flex-direction: column;
}
.panel-group label {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: .3px;
}
/* ================= INPUT ================= */
.sims-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    background: var(--c-white);
    transition:
        border-color .2s,
        box-shadow .2s;
}
textarea.sims-input {
    min-height: 130px;
    resize: vertical;
}
.sims-input:hover {
    border-color: #cbd5e1;
}
.sims-input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, .12);
}
.sims-input[readonly] {
    background: #f8fafc;
    color: #475569;
}
/* ================= FOOTER ================= */
.panel-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--c-border);
    background: var(--c-white);
}
.panel-footer button {
    min-width: 120px;
}
/* ================= SCROLLBAR ================= */
.panel-body::-webkit-scrollbar {
    width: 8px;
}
.panel-body::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 10px;
}
.panel-body::-webkit-scrollbar-track {
    background: transparent;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .availability-panel {
        width: 100%;
        right: -100%;
    }
    .panel-header,
    .panel-body,
    .panel-footer {
        padding: 18px;
    }
    .panel-header-content h3 {
        font-size: 20px;
    }
    .panel-footer {
        flex-direction: column-reverse;
    }
    .panel-footer button {
        width: 100%;
    }
}
/* ================== ERROR =================== */
.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .12);
}
.error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #ef4444;
}
/* ================== PANEL HIDDEN =================== */
.availability-panel.hidden {
    right: -460px;
}
/* ================== RESPONSIVE =================== */
@media (max-width: 992px) {
    .booking-toolbar {
        flex-wrap: wrap;
    }
    .availability-panel {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    .availability-panel.open {
        right: 0;
    }
}
@media (max-width: 576px) {
    .panel-header,
    .panel-body,
    .panel-footer {
        padding: 18px;
    }
    .panel-footer {
        flex-direction: column-reverse;
    }
    .panel-footer button {
        width: 100%;
    }
}
/* ================== CONFIRM BOOKING PANEL ENHANCEMENTS ===================*/
.booking-time-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(4, 78, 39, 0.05);
    border: 1px solid rgba(4, 78, 39, 0.12);
    border-radius: 12px;
    margin-bottom: 24px;
}
.booking-time-card-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: rgba(4, 78, 39, 0.03);
    border: 1px solid rgba(4, 78, 39, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
}
.time-input-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.time-input-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.time-input-field i {
    font-size: 14px;
    color: var(--c-primary);
}
.booking-time-card-vertical .sims-input {
    border: 1px solid var(--c-border);
    background: var(--c-white);
    font-weight: 500;
    color: #0f172a;
    font-size: 14px;
    padding: 10px 14px;
    min-height: 44px;
    cursor: pointer;
    border-radius: 10px;
    width: 100%;
}
.booking-time-card-vertical .sims-input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(4, 78, 39, 0.15);
}
.booking-time-card i {
    font-size: 20px;
    color: var(--c-primary);
    flex-shrink: 0;
}
.booking-time-card .sims-input {
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--c-primary);
    font-size: 15px;
    padding: 0;
    min-height: auto;
    cursor: default;
}
.time-range-display {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.time-range-display .sims-input {
    flex: 1;
    min-width: 0;
}
.time-range-separator {
    font-size: 13px;
    color: var(--c-caption);
    font-weight: 500;
    flex-shrink: 0;
}
.required {
    color: #ef4444;
    font-weight: 700;
}
.optional {
    color: var(--c-caption);
    font-weight: 400;
    font-size: 12px;
}
/* =========================================================
   BOOKING MODAL OVERLAY (shared host + guest)
   ========================================================= */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}
.booking-modal-overlay[hidden] {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}
.booking-modal {
    font-family: var(--font-base);
    width: 520px;
    max-width: 95%;
    background: var(--c-white);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--c-border);
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg-light);
}
.booking-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--c-primary);
}
.booking-modal-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: var(--c-caption);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.booking-modal-close:hover {
    background: var(--c-border);
    color: var(--c-black);
}
.booking-modal-body {
    padding: 24px;
}
.booking-modal-info {
    background: rgba(4, 78, 39, 0.06);
    border: 1px solid rgba(4, 78, 39, 0.15);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-primary);
}
.booking-modal-info p {
    margin: 0;
    font-weight: 600;
}
.booking-modal-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 32px;
    gap: 12px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-bg-light);
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-caption);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.detail-value {
    font-size: 15px;
    color: var(--c-body-text);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}
.guest-booking-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
.booking-list-empty {
    text-align: center;
    color: var(--c-caption);
    font-size: 13px;
    padding: 16px 0;
    margin: 0;
}
.guest-booking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    cursor: pointer;
    transition: all 0.15s ease;
}
.guest-booking-item:hover {
    border-color: var(--c-primary);
    background: rgba(4, 78, 39, 0.04);
}
.guest-booking-item-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary);
    white-space: nowrap;
}
.guest-booking-item-name {
    font-size: 13px;
    color: var(--c-body-text);
    font-weight: 500;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}
/* ================== SIDEBAR STATS =================== */
.sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}
.stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.stat-available .stat-dot { background: #34C759; }
.stat-booked .stat-dot { background: #044e27; }
.stat-blocked .stat-dot { background: #94a3b8; }
.stat-label {
    flex: 1;
    font-size: 12px;
    color: #64748b;
}
.stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
/* ================== COMPACT VALIDATION ALERT =================== */
.booking-swal-compact {
    width: 360px !important;
    padding: 18px 22px !important;
    border-radius: 14px;
    background: #ffffff !important;
    font-family: var(--font-base, "Poppins"), sans-serif;
    box-shadow:
        0 12px 36px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.04);
}
.booking-swal-compact .swal2-icon {
    margin: 0 auto 4px !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px;
    line-height: 1;
}
.booking-swal-compact-icon-error {
    color: #ef4444 !important;
}
.booking-swal-compact-icon-success {
    color: #22c55e !important;
}
.booking-swal-compact-icon-warning {
    color: #f59e0b !important;
}
.booking-swal-compact .swal2-html-container {
    margin: 2px 0 0 !important;
}
.booking-swal-compact .swal2-actions,
.booking-swal-compact-actions {
    margin-top: 12px !important;
}
.booking-swal-compact-title {
    margin: 0 0 2px !important;
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
    line-height: 1.3;
}
.booking-swal-compact-text {
    margin-top: 0 !important;
    font-size: 14px !important;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.5;
}
.booking-swal-compact-btn {
    padding: 5px 16px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: #044e27 !important;
    color: #fff !important;
    border: none !important;
    transition: background 0.15s;
}
.booking-swal-compact-btn:hover {
    background: #033a1d !important;
}
.booking-swal-compact-btn-cancel {
    padding: 5px 16px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    transition: background 0.15s;
}
.booking-swal-compact-btn-cancel:hover {
    background: #e2e8f0 !important;
}
.booking-swal-compact-btn-danger {
    padding: 5px 16px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: #ef4444 !important;
    color: #fff !important;
    border: none !important;
    transition: background 0.15s;
}
.booking-swal-compact-btn-danger:hover {
    background: #dc2626 !important;
}
/* =========================================================
   BOOKING PAGES SIDEBAR
   ========================================================= */
.sidebar-card-add-btn {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: rgba(4, 78, 39, 0.1);
    color: var(--c-primary);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}
.sidebar-card-add-btn:hover {
    background: var(--c-primary);
    color: #fff;
}
.booking-pages-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
}
.booking-page-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}
.booking-page-item:hover {
    background: rgba(4, 78, 39, 0.06);
}
.booking-page-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(4, 78, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    font-size: 13px;
    flex-shrink: 0;
}
.booking-page-item-info {
    flex: 1;
    min-width: 0;
}
.booking-page-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.booking-page-item-slug {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.booking-page-item-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.bp-action-btn {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #94a3b8;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    opacity: 0;
}
.booking-page-item:hover .bp-action-btn {
    opacity: 1;
}
.bp-action-btn:hover {
    background: rgba(4, 78, 39, 0.1);
    color: var(--c-primary);
}
.bp-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.bp-copy-feedback {
    font-size: 11px;
    color: #16a34a;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
}
.bp-copy-feedback.show {
    opacity: 1;
}
/* =========================================================
   BOOKING PAGE MODAL
   ========================================================= */
.booking-page-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.booking-page-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.booking-page-form-group .sims-input {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 14px;
    border-radius: 10px;
}
.booking-page-form-group textarea.sims-input {
    min-height: 80px;
}
.booking-page-error {
    font-size: 13px;
    color: #ef4444;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    margin-top: 4px;
}
.booking-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--c-border);
    background: var(--c-bg-light);
}
.booking-modal-footer .sims-btn-secondary {
    font-size: 13px;
    padding: 8px 16px;
}
.booking-modal-footer .sims-btn-primary {
    font-size: 13px;
    padding: 8px 20px;
}
/* ════════════════════════════════════════════════════════════
   BOOKING PAGE EDITOR — In-Place Sidebar Layout
   Replaces the full-screen overlay with a layout transformation.
   Active when body has .bp-editor-mode class.
   ════════════════════════════════════════════════════════════ */
/* ── Booking Page Editor sidebar ── */
.bp-editor {
    width: 430px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.bp-editor[hidden] {
    display: none !important;
}
/* ── Editor header ── */
.bp-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #044e27;
    flex-shrink: 0;
    gap: 10px;
}
.bp-editor-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
    font-size: 13px;
}
.bp-editor-close-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}
.bp-editor-heading {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-base, 'Poppins', sans-serif);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bp-save-btn {
    display: inline-block;
    padding: 7px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font-family: var(--font-base, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.bp-save-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}
/* ── Editor body (scrollable form) ── */
.bp-editor-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bp-editor-body::-webkit-scrollbar { width: 4px; }
.bp-editor-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }
/* ============================================================
   Preview mode: transform layout
   Uses both body.bp-editor-mode (set by enterBookingPreviewMode)
   and .booking-layout.bp-preview-mode (added for scoping)
   ============================================================ */
/* Sidebar hidden, editor shown in preview mode */
body.bp-editor-mode .booking-sidebar {
    display: none !important;
}
body.bp-editor-mode #bookingPageEditor {
    display: flex !important;
}
body.bp-editor-mode .booking-main {
    gap: 12px;
}
/* Slot min/max收紧 in preview so slots are clearly visible */
body.bp-editor-mode .booking-main .fc {
    font-family: var(--font-base, 'Poppins', sans-serif);
    font-size: 13px;
}
body.bp-editor-mode .booking-main .fc-theme-standard {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
body.bp-editor-mode .booking-main .fc .fc-toolbar {
    margin-bottom: 0 !important;
    padding: 6px 10px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 6px;
}
body.bp-editor-mode .booking-main .fc .fc-toolbar-title {
    font-size: 14px !important;
    font-weight: 600;
    color: #111827;
    margin: 0 !important;
}
body.bp-editor-mode .booking-main .fc .fc-button {
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    min-width: unset !important;
    border: 1px solid #d1d5db !important;
    background: #fff !important;
    color: #374151 !important;
    line-height: 1.4 !important;
    cursor: pointer;
}
body.bp-editor-mode .booking-main .fc .fc-button:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
}
body.bp-editor-mode .booking-main .fc .fc-button-primary:not(:disabled).fc-button-active,
body.bp-editor-mode .booking-main .fc .fc-button-primary:not(:disabled):focus {
    background: #044e27 !important;
    border-color: #044e27 !important;
    color: #fff !important;
}
body.bp-editor-mode .booking-main .fc .fc-button:focus {
    box-shadow: 0 0 0 2px rgba(4, 78, 39, 0.3) !important;
    outline: none !important;
}
body.bp-editor-mode .booking-main .fc .fc-col-header-cell {
    background: #fafafa;
}
body.bp-editor-mode .booking-main .fc .fc-col-header-cell-cushion {
    font-size: 11px !important;
    font-weight: 600;
    color: #374151;
    padding: 5px 3px;
    text-decoration: none;
}
body.bp-editor-mode .booking-main .fc .fc-timegrid-slot-label {
    font-size: 10px;
    color: #9ca3af;
}
body.bp-editor-mode .booking-main .fc .fc-timegrid-slot-minor {
    border-top: 1px solid #f0f0f0;
}
body.bp-editor-mode .booking-main .fc .fc-scrollgrid {
    border-color: #e5e7eb;
}
body.bp-editor-mode .booking-main .fc-theme-standard td,
body.bp-editor-mode .booking-main .fc-theme-standard th {
    border-color: #f0f0f0;
}
body.bp-editor-mode .booking-main .fc .fc-timegrid-now-indicator-line {
    border-color: #ef4444;
    border-width: 1.5px;
}
body.bp-editor-mode .booking-main .fc .fc-timegrid-now-indicator-arrow {
    border-color: #ef4444;
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
}
/* ── Preview slot events (on main calendar) ── */
body.bp-editor-mode .booking-main .fc .fc-event {
    border-radius: 5px !important;
    border-width: 1px !important;
    padding: 0 !important;
    cursor: default !important;
    background: #dcfce7 !important;
    border-color: #16a34a !important;
    box-shadow: none !important;
}
body.bp-editor-mode .booking-main .fc .fc-event-title,
body.bp-editor-mode .booking-main .fc .fc-event-time {
    display: none !important;
}
body.bp-editor-mode .booking-main .fc-event-main {
    padding: 0 !important;
}
.bp-preview-slot {
    background: #dcfce7 !important;
    border-color: #16a34a !important;
    border-radius: 5px !important;
    color: transparent !important;
}
.bp-preview-slot:hover { opacity: 0.8; }
/* ── Responsive: tablet / mobile ── */
@media (max-width: 900px) {
    body.bp-editor-mode .booking-layout {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }
    body.bp-editor-mode .bp-editor {
        width: 100%;
        max-height: 45vh;
    }
    body.bp-editor-mode .booking-main {
        min-height: 400px;
    }
    body.bp-editor-mode .booking-main .fc {
        height: 400px !important;
    }
}
@media (max-width: 520px) {
    body.bp-editor-mode .booking-layout {
        padding: 4px;
        gap: 4px;
    }
    body.bp-editor-mode .bp-editor {
        max-height: 40vh;
    }
    body.bp-editor-mode .booking-main {
        min-height: 300px;
    }
    body.bp-editor-mode .booking-main .fc {
        height: 300px !important;
    }
}
/* ============================================================
   Booking Page Preview Mode
   Active when .bp-preview-mode is on .booking-layout
   (used in conjunction with body.bp-editor-mode)
   ============================================================ */
/* Layout transform for preview mode: editor takes left column */
.booking-layout.bp-preview-mode {
    padding: 12px;
    gap: 12px;
}
/* Live Preview label in toolbar */
.bp-live-preview-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(4, 78, 39, 0.08);
    border: 1px solid rgba(4, 78, 39, 0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-primary, #044e27);
    font-family: var(--font-base, 'Poppins', sans-serif);
    white-space: nowrap;
    cursor: default;
    animation: bp-fade-in 0.2s ease;
}
.bp-live-preview-label i {
    font-size: 10px;
}
@keyframes bp-fade-in {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
/* Live Preview label on the calendar itself */
body.bp-editor-mode .bp-live-preview-calendar-badge {
    display: flex;
}
/* ============================================================
   Subsection (What / When / Where)
   ============================================================ */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 16px 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}
.bp-subsection-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    font-family: var(--font-base, 'Poppins', sans-serif);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}
.bp-subsection-label i {
    font-size: 11px;
    color: #6b7280;
}
/* ── Appointment Duration Section ── */
.bp-duration-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
}
.bp-duration-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.bp-duration-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e6f4ea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #044e27;
    font-size: 15px;
    margin-top: 1px;
}
.bp-duration-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bp-duration-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    font-family: var(--font-base, 'Poppins', sans-serif);
    line-height: 1.4;
}
.bp-duration-description {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    font-family: var(--font-base, 'Poppins', sans-serif);
    line-height: 1.4;
}
.bp-duration-select {
    width: 100%;
    padding: 9px 36px 9px 13px;
    font-size: 13.5px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #1f2937;
    background-color: #fff;
    border: 1.5px solid #e0e4ec;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.bp-duration-select:hover {
    border-color: #bdc1c6;
}
.bp-duration-select:focus {
    border-color: #044e27;
    box-shadow: 0 0 0 2px rgba(4, 78, 39, 0.15);
}
/* ── Fields ── */
.bp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bp-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    font-family: var(--font-base, 'Poppins', sans-serif);
    letter-spacing: 0.02em;
}
.bp-label-optional {
    font-weight: 400;
    color: #9ca3af;
}
.bp-input {
    width: 100%;
    min-height: 40px;
    padding: 9px 13px;
    border: 1.5px solid #e0e4ec;
    border-radius: 8px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    font-size: 13.5px;
    color: #1f2937;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.bp-input:focus {
    border-color: #044e27;
    box-shadow: 0 0 0 3px rgba(4, 78, 39, 0.08);
}
.bp-input::placeholder {
    color: #b0b8c4;
}
.bp-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 32px;
}
.bp-textarea {
    min-height: 72px;
    resize: vertical;
    line-height: 1.5;
}
/* ── Slug ── */
.bp-slug-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e4ec;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
}
.bp-slug-wrapper:focus-within {
    border-color: #044e27;
    box-shadow: 0 0 0 3px rgba(4, 78, 39, 0.08);
}
.bp-slug-prefix {
    padding: 0 10px;
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    border-right: 1.5px solid #f0f0f0;
    min-height: 40px;
    display: flex;
    align-items: center;
    background: #f9fafb;
    flex-shrink: 0;
    font-family: var(--font-base, 'Poppins', sans-serif);
}
.bp-slug-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1;
    min-height: 40px;
}
/* ── Error ── */
.bp-error {
    font-size: 12.5px;
    color: #dc2626;
    font-weight: 500;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    display: none;
}
/* ── Responsive ── */
@media (max-width: 900px) {
    .bp-builder-modal {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
    .bp-builder-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        overflow-y: auto;
    }
    .bp-builder-sidebar {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        max-height: 55vh;
        overflow-y: auto;
    }
    .bp-builder-preview {
        min-height: 500px;
    }
    .bp-preview-calendar-wrap {
        min-height: 500px;
    }
    .bp-preview-calendar-wrap .fc {
        height: 500px !important;
    }
}
@media (max-width: 520px) {
    .bp-builder-overlay {
        align-items: flex-end;
    }
    .bp-builder-modal {
        border-radius: 14px 14px 0 0;
        height: 95vh;
    }
}
.booking-pages-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0;
}
.booking-page-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}
.booking-page-item:hover {
    background: #f0f4f1;
}
.booking-page-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(4, 78, 39, 0.1);
    color: var(--c-primary, #044e27);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.booking-page-item-info {
    flex: 1;
    min-width: 0;
}
.booking-page-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-page-item-slug {
    font-size: 11px;
    color: #999999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-page-item-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s;
}
.booking-page-item:hover .booking-page-item-actions {
    opacity: 1;
}
.bp-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.bp-action-btn:hover {
    background: #e8edf0;
}
.bp-action-btn.delete:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}
.bp-copy-feedback {
    font-size: 11px;
    color: var(--c-primary, #044e27);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.bp-copy-feedback.show {
    opacity: 1;
}
/* ============================================================
   General Availability — bp-availability-* (all classes scoped)
   ============================================================ */
.bp-availability-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
    position: relative;
}
/* Header */
.bp-availability-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.bp-availability-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e6f4ea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #044e27;
    margin-top: 1px;
}
.bp-availability-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bp-availability-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #202124;
    font-family: var(--font-base, 'Poppins', sans-serif);
    line-height: 1.4;
}
.bp-availability-desc {
    margin: 0;
    font-size: 12px;
    color: #5f6368;
    font-family: var(--font-base, 'Poppins', sans-serif);
    line-height: 1.5;
}
.bp-availability-learn {
    color: #044e27;
    text-decoration: underline;
    font-size: 12px;
}
/* Repeat select */
.bp-availability-repeat-row {
    display: flex;
}
.bp-availability-select {
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #202124;
    background: #f1f3f4;
    border: 1.5px solid transparent;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.bp-availability-select:focus {
    border-color: #044e27;
    box-shadow: 0 0 0 2px rgba(4, 78, 39, 0.15);
    background-color: #fff;
}
/* Days list */
.bp-availability-days-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bp-availability-day-row {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.bp-availability-day-row:last-of-type {
    border-bottom: none;
}
.bp-availability-day-name {
    font-size: 12px;
    font-weight: 600;
    color: #202124;
    font-family: var(--font-base, 'Poppins', sans-serif);
    min-width: 90px;
    margin-bottom: 6px;
}
.bp-availability-day-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bp-availability-slot {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}
.bp-availability-time-input {
    padding: 5px 6px;
    font-size: 12.5px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #202124;
    background: #f1f3f4;
    border: 1.5px solid transparent;
    border-radius: 6px;
    outline: none;
    width: 96px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.bp-availability-time-input:hover {
    background: #e8eaed;
}
.bp-availability-time-input:focus {
    background: #fff;
    border-color: #044e27;
    box-shadow: 0 0 0 2px rgba(4, 78, 39, 0.15);
}
.bp-availability-dash {
    color: #5f6368;
    font-size: 14px;
    user-select: none;
}
.bp-availability-unavailable-label {
    font-size: 12.5px;
    color: #5f6368;
    font-family: var(--font-base, 'Poppins', sans-serif);
}
/* Action buttons — now inline with slot row, no separate div needed */
.bp-availability-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5f6368;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
}
.bp-availability-icon-btn:hover {
    background: #f1f3f4;
    color: #202124;
}
.bp-availability-icon-btn svg {
    pointer-events: none;
}
/* Error message per day */
.bp-availability-day-error {
    font-size: 11.5px;
    color: #d93025;
    font-family: var(--font-base, 'Poppins', sans-serif);
    margin-top: 2px;
    display: none;
}
.bp-availability-day-error:not(:empty) {
    display: block;
}
/* Timezone row */
.bp-availability-tz-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
}
.bp-availability-tz-globe {
    color: #5f6368;
    flex-shrink: 0;
}
.bp-availability-tz-label {
    font-size: 12px;
    color: #5f6368;
    font-family: var(--font-base, 'Poppins', sans-serif);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bp-availability-tz-btn {
    font-size: 12px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #044e27;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background 0.15s;
}
.bp-availability-tz-btn:hover {
    background: #e6f4ea;
}
/* Copy popup */
.bp-availability-copy-popup {
    position: absolute;
    right: 16px;
    bottom: 56px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.14);
    padding: 14px 16px;
    z-index: 100;
    min-width: 200px;
}
.bp-availability-copy-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #202124;
    font-family: var(--font-base, 'Poppins', sans-serif);
}
.bp-availability-copy-days {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.bp-availability-copy-day-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #202124;
    font-family: var(--font-base, 'Poppins', sans-serif);
    cursor: pointer;
}
.bp-availability-copy-day-label input[type="checkbox"] {
    accent-color: #044e27;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.bp-availability-copy-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.bp-availability-copy-cancel {
    padding: 6px 14px;
    border: 1.5px solid #dadce0;
    border-radius: 6px;
    background: #fff;
    color: #5f6368;
    font-size: 12.5px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.bp-availability-copy-cancel:hover { background: #f1f3f4; }
.bp-availability-copy-confirm {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background: #044e27;
    color: #fff;
    font-size: 12.5px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.bp-availability-copy-confirm:hover { background: #033b1e; }
    color: #202124;
    font-family: var(--font-base, 'Poppins', sans-serif);
    min-width: 90px;
    margin-bottom: 6px;
}
.bp-availability-day-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bp-availability-slot {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}
.bp-availability-time-input {
    padding: 5px 6px;
    font-size: 12.5px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #202124;
    background: #f1f3f4;
    border: 1.5px solid transparent;
    border-radius: 6px;
    outline: none;
    width: 96px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.bp-availability-time-input:hover {
    background: #e8eaed;
}
.bp-availability-time-input:focus {
    background: #fff;
    border-color: #044e27;
    box-shadow: 0 0 0 2px rgba(4, 78, 39, 0.15);
}
.bp-availability-dash {
    color: #5f6368;
    font-size: 14px;
    user-select: none;
}
.bp-availability-unavailable-label {
    font-size: 12.5px;
    color: #5f6368;
    font-family: var(--font-base, 'Poppins', sans-serif);
}
/* Action buttons — now inline with slot row, no separate div needed */
.bp-availability-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5f6368;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
}
.bp-availability-icon-btn:hover {
    background: #f1f3f4;
    color: #202124;
}
.bp-availability-icon-btn svg {
    pointer-events: none;
}
/* Error message per day */
.bp-availability-day-error {
    font-size: 11.5px;
    color: #d93025;
    font-family: var(--font-base, 'Poppins', sans-serif);
    margin-top: 2px;
    display: none;
}
.bp-availability-day-error:not(:empty) {
    display: block;
}
/* Timezone row */
.bp-availability-tz-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
}
.bp-availability-tz-globe {
    color: #5f6368;
    flex-shrink: 0;
}
.bp-availability-tz-label {
    font-size: 12px;
    color: #5f6368;
    font-family: var(--font-base, 'Poppins', sans-serif);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bp-availability-tz-btn {
    font-size: 12px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #044e27;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background 0.15s;
}
.bp-availability-tz-btn:hover {
    background: #e6f4ea;
}
/* Copy popup */
.bp-availability-copy-popup {
    position: absolute;
    right: 16px;
    bottom: 56px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.14);
    padding: 14px 16px;
    z-index: 100;
    min-width: 200px;
}
.bp-availability-copy-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #202124;
    font-family: var(--font-base, 'Poppins', sans-serif);
}
.bp-availability-copy-days {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.bp-availability-copy-day-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #202124;
    font-family: var(--font-base, 'Poppins', sans-serif);
    cursor: pointer;
}
.bp-availability-copy-day-label input[type="checkbox"] {
    accent-color: #044e27;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.bp-availability-copy-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.bp-availability-copy-cancel {
    padding: 6px 14px;
    border: 1.5px solid #dadce0;
    border-radius: 6px;
    background: #fff;
    color: #5f6368;
    font-size: 12.5px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.bp-availability-copy-cancel:hover { background: #f1f3f4; }
.bp-availability-copy-confirm {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background: #044e27;
    color: #fff;
    font-size: 12.5px;
    font-family: var(--font-base, 'Poppins', sans-serif);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.bp-availability-copy-confirm:hover { background: #033b1e; }
/* Responsive */
@media (max-width: 480px) {
    .bp-availability-time-input { width: 90px; font-size: 12px; }
    .bp-availability-day-name { font-size: 11.5px; }
    .bp-availability-copy-popup { right: 8px; left: 8px; bottom: 50px; }
}
/* =======================================================
   Scheduling Window Section
======================================================== */
.bp-scheduling-section {
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #202124;
}
.bp-scheduling-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    outline: none;
}
.bp-scheduling-header:focus-visible {
    border-radius: 4px;
    outline: 2px solid #1a73e8;
}
.bp-scheduling-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}
.bp-scheduling-meta {
    flex: 1;
}
.bp-scheduling-title {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}
.bp-scheduling-desc {
    margin: 2px 0 0;
    font-size: 13px;
    color: #5f6368;
}
.bp-scheduling-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}
.bp-scheduling-header[aria-expanded="true"] .bp-scheduling-chevron {
    transform: rotate(180deg);
}
.bp-scheduling-config {
    margin-top: 16px;
    padding-left: 36px; /* align with text */
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.bp-scheduling-config[hidden] {
    display: none;
}
.bp-scheduling-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bp-scheduling-radio-group {
    gap: 4px;
}
.bp-scheduling-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}
.bp-scheduling-radio {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #1a73e8;
    cursor: pointer;
}
.bp-scheduling-radio-text {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}
.bp-scheduling-subdesc {
    margin: 2px 0 0;
    font-size: 13px;
    color: #5f6368;
}
.bp-scheduling-dates {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-left: 24px;
}
.bp-scheduling-date-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bp-scheduling-date-label {
    font-size: 12px;
    color: #5f6368;
    font-weight: 500;
}
.bp-scheduling-input, .bp-scheduling-select {
    padding: 6px 10px;
    font-size: 13px;
    font-family: inherit;
    color: #202124;
    background: #f1f3f4;
    border: 1.5px solid transparent;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}
.bp-scheduling-input:hover, .bp-scheduling-select:hover {
    background: #e8eaed;
}
.bp-scheduling-input:focus, .bp-scheduling-select:focus {
    background: #fff;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
}
.bp-scheduling-input:disabled, .bp-scheduling-select:disabled, .bp-scheduling-checkbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}
.bp-scheduling-dash {
    color: #5f6368;
    font-weight: 500;
    margin-top: 22px; /* align with input */
}
.bp-scheduling-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}
.bp-scheduling-label-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bp-scheduling-help-icon {
    display: inline-flex;
    cursor: help;
}
.bp-scheduling-control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bp-scheduling-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #1a73e8;
    cursor: pointer;
}
.bp-scheduling-number {
    width: 60px;
}
.bp-scheduling-error {
    color: #d93025;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}
.bp-scheduling-error:not(:empty) {
    display: block;
}
.bp-scheduling-input[aria-invalid="true"], .bp-scheduling-select[aria-invalid="true"] {
    border-color: #d93025;
}
/* Mobile responsive */
@media (max-width: 480px) {
    .bp-scheduling-dates {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }
    .bp-scheduling-dash { display: none; }
    .bp-scheduling-config { padding-left: 0; }
}
/* =======================================================
   Booked Appointment Settings Section
======================================================== */
.bp-booked-section {
    font-family: var(--font-base, 'Poppins', sans-serif);
    color: #202124;
}
.bp-booked-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    outline: none;
    background: transparent;
    border: none;
    width: 100%;
    padding: 12px 0; /* Removed horizontal padding to match Scheduling window */
    text-align: left;
}
.bp-booked-header:hover {
    background: transparent;
}
.bp-booked-header:focus-visible {
    border-radius: 4px;
    outline: 2px solid #1a73e8;
}
.bp-booked-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.bp-booked-meta {
    flex: 1;
}
.bp-booked-title {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}
.bp-booked-desc {
    margin: 2px 0 0;
    font-size: 13px;
    color: #5f6368;
}
.bp-booked-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.bp-booked-header[aria-expanded="true"] .bp-booked-chevron {
    transform: rotate(180deg);
}
.bp-booked-content {
    margin-top: 16px;
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.bp-booked-content[hidden] {
    display: none;
}
.bp-booked-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bp-booked-label-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}
.bp-booked-subdesc {
    margin: 0;
    font-size: 13px;
    color: #5f6368;
}
.bp-booked-control-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.bp-booked-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #1a73e8;
    cursor: pointer;
}
.bp-booked-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-top: 4px;
}
.bp-booked-checkbox-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bp-booked-checkbox-text {
    font-size: 14px;
    color: #202124;
}
.bp-booked-input, .bp-booked-select {
    padding: 6px 10px;
    font-size: 13px;
    font-family: inherit;
    color: #202124;
    background: #f1f3f4;
    border: 1.5px solid transparent;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}
.bp-booked-input:hover:not(:disabled), .bp-booked-select:hover:not(:disabled) {
    background: #e8eaed;
}
.bp-booked-input:focus:not(:disabled), .bp-booked-select:focus:not(:disabled) {
    background: #fff;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
}
.bp-booked-input:disabled, .bp-booked-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}
.bp-booked-number {
    width: 70px;
}
.bp-booked-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}
.bp-booked-error {
    color: #d93025;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}
.bp-booked-error:not(:empty) {
    display: block;
}
.bp-booked-input[aria-invalid="true"] {
    border-color: #d93025;
}
.bp-booked-control-block.disabled-state {
    opacity: 0.6;
}
@media (max-width: 480px) {
    .bp-booked-content { padding-left: 0; }
    .bp-booked-header { padding: 12px 10px; }
}
/* =======================================================
   Booking Pages Link Feature
======================================================== */
.bp-link-section {
    position: relative;
}
.bp-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.bp-link-row {
    display: flex;
    align-items: center;
    background: #f1f3f4; /* Light blue-gray background */
    border-radius: 8px;
    padding: 10px 12px;
    gap: 12px;
    transition: background 0.2s, box-shadow 0.2s;
    position: relative;
}
.bp-link-row:hover {
    background: #e8eaed;
}
.bp-link-icon {
    color: #5f6368;
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.bp-link-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bp-link-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative; /* Cho dropdown menu */
}
.bp-link-copy-btn, .bp-link-menu-btn {
    background: transparent;
    border: none;
    color: #5f6368;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.bp-link-copy-btn:hover, .bp-link-menu-btn:hover {
    background: #dadce0;
    color: #202124;
}
/* Successfully copied state */
.bp-link-copy-btn.copied {
    color: #188038;
}
/* Dropdown Menu */
.bp-link-menu {
    position: absolute;
    top: 36px;
    right: 0;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 6px 0;
    z-index: 1000;
    min-width: 180px;
}
.bp-link-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    color: #202124;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
.bp-link-menu-item:hover {
    background: #f1f3f4;
}
.bp-link-menu-delete {
    color: #d93025;
}
.bp-link-menu-delete:hover {
    background: #fce8e6;
}
/* =====================================================
   DURATION CLOCK PICKER
===================================================== */
.bp-duration-custom-popup {
    background: var(--c-white, #ffffff);
    border: 1px solid var(--c-border, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 16px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
    min-width: 320px;
}
.bp-duration-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bp-duration-popup-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    font-family: var(--font-base, 'Poppins', sans-serif);
}
.bp-duration-popup-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.bp-duration-popup-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}
.bp-duration-display {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
}
.bp-duration-display-value {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    font-family: var(--font-base, 'Poppins', sans-serif);
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}
.bp-duration-pickers {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.bp-duration-picker-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.bp-duration-picker-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    font-family: var(--font-base, 'Poppins', sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bp-duration-clock-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.bp-duration-clock {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    position: relative;
    cursor: pointer;
    user-select: none;
    touch-action: none;
}
.bp-duration-clock-face {
    width: 100%;
    height: 100%;
    position: relative;
}
.bp-duration-clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: #044e27;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.bp-duration-clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 3px;
    height: 44px;
    background-color: #044e27;
    border-radius: 2px;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}
.bp-duration-clock-ticks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.bp-duration-clock-ticks::before,
.bp-duration-clock-ticks::after {
    content: '';
    position: absolute;
    background-color: #d1d5db;
}
.bp-duration-clock-ticks::before {
    width: 2px;
    height: 8px;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
}
.bp-duration-clock:hover {
    border-color: #044e27;
}
.bp-duration-clock.active {
    border-color: #044e27;
    box-shadow: 0 0 0 3px rgba(4, 78, 39, 0.15);
}
.bp-duration-picker-input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    font-family: var(--font-base, 'Poppins', sans-serif);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.bp-duration-picker-input:focus {
    outline: none;
    border-color: #044e27;
    box-shadow: 0 0 0 2px rgba(4, 78, 39, 0.15);
}
.bp-duration-picker-input::-webkit-inner-spin-button,
.bp-duration-picker-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bp-duration-picker-input[type=number] {
    -moz-appearance: textfield;
}
.bp-duration-custom-error {
    color: #dc2626;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    padding: 8px 12px;
    background-color: #fef2f2;
    border-radius: 6px;
    border: 1px solid #fecaca;
}
.bp-duration-custom-popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}
.bp-duration-custom-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: var(--font-base, 'Poppins', sans-serif);
}
.bp-duration-custom-apply-btn {
    background-color: #044e27;
    color: #ffffff;
}
.bp-duration-custom-apply-btn:hover {
    background-color: #03391f;
}
.bp-duration-custom-cancel-btn {
    background-color: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}
.bp-duration-custom-cancel-btn:hover {
    background-color: #f9fafb;
    color: #374151;
}
