/* ── Booking Form Wrapper ── */
#chb-booking-wrap {
    max-width: 700px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#chb-booking-wrap h2,
#chb-booking-wrap h3 {
    margin-bottom: 12px;
}

/* ── Room Select ── */
#chb-booking-wrap select,
#chb-booking-wrap input[type="text"],
#chb-booking-wrap input[type="number"] {
    display: block;
    margin-bottom: 12px;
    padding: 9px 12px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* ── Calendar ── */
#calendar {
    margin: 20px 0;
}

/* ── Price Display ── */
#total_price {
    font-size: 18px;
    color: #2e7d32;
    font-weight: bold;
    margin: 10px 0 16px;
}

/* ── Booking Form Section ── */
#booking_form_wrapper {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 24px;
}

#booking_form_wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 13px;
}

/* ── Book Now Button ── */
#bookNow {
    background: #0073aa;
    color: #fff;
    padding: 11px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

#bookNow:hover {
    background: #005a87;
}

#bookNow:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* ── Response Message ── */
#response {
    margin-top: 14px;
    font-weight: bold;
    font-size: 15px;
    padding: 10px;
    border-radius: 4px;
}

.chb-container {
    max-width: 1300px!important;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.page-content > *,
.entry-content > *,
.entry-summary > * {
  max-width: 1300px!important;
  margin: 1.5rem auto;
}

.chb-left {
    width: 60%;
}

.chb-right {
    width: 40%;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

#calendar {
    max-width: 100%;
}

/* ── Name / Phone / Tel inputs ── */
#booking_form_wrapper input[type="text"],
#booking_form_wrapper input[type="tel"],
#booking_form_wrapper input[type="number"] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#booking_form_wrapper input[type="text"]:focus,
#booking_form_wrapper input[type="tel"]:focus,
#booking_form_wrapper input[type="number"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
}

/* ── Success Popup Overlay ── */
#chb_popup_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: chb-fade-in 0.2s ease;
}

.fc-daygrid-body-unbalanced{
    width:100% !important;
}

.fc-scrollgrid-sync-table{
    width:100% !important;
}

@keyframes chb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Popup Box ── */
#chb_popup_box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: chb-slide-up 0.25s ease;
}

@keyframes chb-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

#chb_popup_icon {
    width: 64px;
    height: 64px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #2e7d32;
    margin: 0 auto 18px;
    line-height: 1;
}

#chb_popup_box h2 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #1a1a1a;
}

#chb_popup_message {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

#chb_popup_close {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 11px 32px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

#chb_popup_close:hover {
    background: #005a87;
}
