/* ========================================
   BOOKING RESPONSE MODAL - MODERN OVERLAY
   ======================================== */

.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.booking-modal.active {
    display: flex;
    opacity: 1;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: modalOverlayIn 0.4s ease;
}

@keyframes modalOverlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.booking-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    animation: modalContentIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    z-index: 1;
}

@keyframes modalContentIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.booking-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2.5rem;
    position: relative;
}

.booking-modal-icon.success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.booking-modal-icon.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.booking-modal-icon.warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.booking-modal-icon.info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

/* Animated checkmark */
.booking-modal-icon .fa-check-circle {
    animation: checkmarkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.booking-modal-icon .fa-times-circle {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-10deg);
    }
    40% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(-5deg);
    }
    80% {
        transform: rotate(5deg);
    }
}

.booking-modal-icon .fa-exclamation-circle {
    animation: pulse 0.8s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.booking-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.booking-modal-content p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.booking-modal-details {
    background: var(--neutral-50);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
    border: 1px solid var(--neutral-200);
}

.booking-modal-details .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.booking-modal-details .detail-row:not(:last-child) {
    border-bottom: 1px solid var(--neutral-100);
}

.booking-modal-details .detail-label {
    color: var(--neutral-500);
    font-weight: 500;
}

.booking-modal-details .detail-value {
    color: var(--neutral-800);
    font-weight: 600;
}

.booking-modal-details .detail-value.highlight {
    color: var(--primary-600);
    font-size: 1rem;
}

.booking-modal-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.booking-modal-btn:active {
    transform: scale(0.97);
}

.booking-modal-btn.secondary {
    background: var(--neutral-100);
    color: var(--neutral-700);
}

.booking-modal-btn.secondary:hover {
    background: var(--neutral-200);
    box-shadow: none;
}

.booking-modal-btn.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.booking-modal-btn.danger:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* Loading state */
.booking-modal-content.loading .booking-modal-icon {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: var(--neutral-500);
}

.booking-modal-content.loading .booking-modal-icon i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .booking-modal-content {
        padding: 2rem 1.25rem 1.5rem;
        margin: 1rem;
    }
    
    .booking-modal-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
    
    .booking-modal-content h3 {
        font-size: 1.25rem;
    }
    
    .booking-modal-content p {
        font-size: 0.85rem;
    }
    
    .booking-modal-details .detail-row {
        font-size: 0.75rem;
    }
}