/* Popup pour le calendrier */
.prebooking-calendar-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.prebooking-calendar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.prebooking-calendar-popup {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
    transition: all 0.2s ease-out;
}

.prebooking-calendar-popup.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.prebooking-popup-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prebooking-popup-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.prebooking-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.prebooking-popup-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.prebooking-popup-content {
    padding: 24px;
}

.prebooking-info-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prebooking-info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prebooking-info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.5px;
}

.prebooking-info-value {
    font-size: 15px;
    color: #333;
    word-break: break-word;
}

.prebooking-info-value a {
    color: #0073aa;
    text-decoration: none;
}

.prebooking-info-value a:hover {
    text-decoration: underline;
}

.prebooking-popup-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.prebooking-popup-footer .prebooking-button-secondary {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .prebooking-calendar-popup {
        width: 95%;
        max-width: none;
    }

    .prebooking-popup-header,
    .prebooking-popup-content,
    .prebooking-popup-footer {
        padding: 16px;
    }

    .prebooking-popup-header h2 {
        font-size: 18px;
    }

    .prebooking-info-row {
        gap: 6px;
    }
}
