.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content p {
    margin: 10px 0;
    font-size: 14px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 10px;
}

.modal-actions button {
    padding: 10px 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#editBtn {
    background: #ccc;
}

#confirmBtn {
    background: #28a745;
    color: white;
}


/* =================== callback page =============================== */

.booking-status-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 100px auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.booking-card,
.status-loader {
    flex: 1 1 400px;
    padding: 30px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* Booking Details */
.booking-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.detail {
    background: #f9f9f9;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    font-size: 15px;
    color: #333;
}

/* Loader */
.status-loader h2 {
    font-size: 22px;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

.status-loader p {
    font-size: 15px;
    color: #777;
    text-align: center;
}

.spinner {
    margin: 0 auto 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid #007bff;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .booking-status-wrapper {
        flex-direction: column;
    }

    .booking-card,
    .status-loader {
        width: 100%;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}