/* Booking Popup Styles */
.booking-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.booking-popup-overlay.active {
    display: flex;
}

.booking-popup-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.booking-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.booking-popup-close:hover {
    background: #f0f0f0;
    color: var(--primary, #3d4a7a);
}

#bookingQualForm select:focus {
    outline: none;
    border-color: var(--primary, #3d4a7a);
    box-shadow: 0 0 0 3px rgba(61, 74, 122, 0.1);
}

#bookingQualForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(61, 74, 122, 0.3);
}

/* Hide TidyCal Branding Completely */
.tidycal-embed a[href*="tidycal"],
.booking-popup-content [class*="branding"],
.booking-popup-content [class*="powered"],
div[data-path]~div:not(#bookingFormStep):not(#bookingCalendarStep),
.tidycal-embed+a,
.tidycal-embed~a[href*="tidycal"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
}

@media (max-width: 768px) {
    .booking-popup-content {
        padding: 30px 20px;
        max-width: 95%;
    }
}