/* =========================================== */
/* BOOKING DETAILS MODAL - EXACT IMAGE MATCH */
/* =========================================== */

/* Backdrop - blurred background */
.booking-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.booking-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    width: 92%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Modal Header */
.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px 0 32px;
}

.booking-modal-title-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Title - matches image exactly */
.booking-modal-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 400;
    color: #2d2d2d;
    margin: 0;
    letter-spacing: 0;
}

/* Status Badge - olive/khaki pill exactly like image */
.booking-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #a08c5b;
    color: #ffffff;
}

.booking-status-badge.confirmed {
    background: #a08c5b;
    color: #ffffff;
}

.booking-status-badge.pending {
    background: #d4c4a0;
    color: #5c5234;
}

/* Close Button - thin X exactly like image */
.booking-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #999999;
    font-size: 32px;
    font-weight: 200;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    transition: color 0.2s;
}

.booking-modal-close:hover {
    color: #333333;
}

/* Modal Body */
.booking-modal-body {
    padding: 28px 32px 32px 32px;
}

/* 2-Column Grid Layout - exact match */
.booking-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
}

.booking-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-detail-item.full-width {
    grid-column: 1 / -1;
}

/* Labels - small uppercase grey exactly like image */
.booking-detail-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999999;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Values - darker text exactly like image */
.booking-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Price - BIG serif gold exactly like image "1,200 DH" */
.booking-detail-item.price-item {
    margin-top: 8px;
}

.booking-detail-value.price {
    font-size: 42px;
    font-weight: 400;
    color: #b8965c;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Modal Footer - light background with border */
.booking-modal-footer {
    padding: 20px 32px;
    border-top: 1px solid #eeeeee;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    background: #fafafa;
}

/* Buttons */
.booking-modal-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Close Button - ghost text exactly like image */
.booking-modal-btn-ghost {
    background: transparent;
    color: #666666;
    border: none;
    padding: 10px 16px;
}

.booking-modal-btn-ghost:hover {
    color: #333333;
}

/* Print Receipt Button - gold/olive border exactly like image */
.booking-modal-btn-primary {
    background: #ffffff;
    color: #b8965c;
    border: 1.5px solid #b8965c;
}

.booking-modal-btn-primary:hover {
    background: #b8965c;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 540px) {
    .booking-modal {
        width: 95%;
        border-radius: 12px;
    }

    .booking-modal-header {
        padding: 24px 24px 0 24px;
    }

    .booking-modal-title {
        font-size: 18px;
    }

    .booking-modal-body {
        padding: 24px;
    }

    .booking-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booking-detail-value.price {
        font-size: 36px;
    }

    .booking-modal-footer {
        padding: 16px 24px;
        flex-direction: column-reverse;
        gap: 12px;
    }

    .booking-modal-btn {
        width: 100%;
        text-align: center;
    }
}