.wcpbs-booking-box {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.wcpbs-booking-box h4 {
    margin: 0 0 8px;
    font-size: 20px;
}

.wcpbs-help {
    margin: 0 0 14px;
    color: #666;
    font-size: 14px;
}

.wcpbs-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wcpbs-field {
    margin: 0 0 14px;
}

.wcpbs-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.wcpbs-field input[type="date"],
.wcpbs-field input[type="file"],
.wcpbs-field select {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
}

.wcpbs-field small {
    display: block;
    margin-top: 5px;
    color: #777;
}

.wcpbs-summary {
    margin-top: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f7f7f7;
}

.wcpbs-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #e7e7e7;
}

.wcpbs-summary > div:last-child {
    border-bottom: 0;
}

.wcpbs-summary-total {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 700;
}

.wcpbs-message {
    margin-top: 12px;
    font-size: 14px;
}

.wcpbs-error {
    color: #b00020;
    font-weight: 600;
}

.wcpbs-success {
    color: #127a33;
    font-weight: 600;
}

@media (max-width: 640px) {
    .wcpbs-date-grid {
        grid-template-columns: 1fr;
    }
}





/* WCPBS Custom Calendar - Compact Fixed UI */
.wcpbs-calendar-popover {
    position: absolute !important;
    z-index: 999999 !important;
    width: 310px !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 310px !important;
    background: #ffffff !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.16) !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.wcpbs-calendar-popover *,
.wcpbs-calendar-popover *::before,
.wcpbs-calendar-popover *::after {
    box-sizing: border-box !important;
}

.wcpbs-cal-header {
    display: grid !important;
    grid-template-columns: 34px 1fr 34px !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.wcpbs-cal-title {
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 34px !important;
    color: #222 !important;
    white-space: nowrap !important;
}

.wcpbs-cal-nav {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d7d7d7 !important;
    background: #ffffff !important;
    color: #222 !important;
    border-radius: 7px !important;
    cursor: pointer !important;
    font-size: 22px !important;
    line-height: 30px !important;
    text-align: center !important;
    display: block !important;
    box-shadow: none !important;
}

.wcpbs-cal-nav:hover {
    background: #f2f2f2 !important;
    color: #111 !important;
}

.wcpbs-cal-weekdays,
.wcpbs-cal-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
    width: 100% !important;
}

.wcpbs-cal-weekdays {
    margin-bottom: 5px !important;
}

.wcpbs-cal-weekdays div {
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #555 !important;
    padding: 4px 0 !important;
    line-height: 1.2 !important;
}

.wcpbs-cal-day {
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e1e1e1 !important;
    background: #ffffff !important;
    color: #222 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 32px !important;
    text-align: center !important;
    display: block !important;
    box-shadow: none !important;
}

.wcpbs-cal-day:hover:not(:disabled) {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.wcpbs-cal-day.is-selected {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.wcpbs-cal-day.is-today:not(.is-selected) {
    border-color: #111111 !important;
    font-weight: 800 !important;
}

.wcpbs-cal-day.is-other-month {
    opacity: .38 !important;
}

.wcpbs-cal-day.is-disabled {
    cursor: not-allowed !important;
    opacity: .45 !important;
    text-decoration: line-through !important;
    background: #f5f5f5 !important;
    color: #999999 !important;
    border-color: #e5e5e5 !important;
}

.wcpbs-cal-day.is-booked {
    color: #c40000 !important;
    background: #fff0f0 !important;
    border-color: #ffd1d1 !important;
}

#wcpbs_checkin_date,
#wcpbs_checkout_date {
    cursor: pointer !important;
    background: #fff !important;
}

#wcpbs_checkout_date:disabled {
    cursor: not-allowed !important;
    background: #f3f3f3 !important;
}
