.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.booking-modal-card {
    background: #ffffff;
    width: 95%;
    max-width: 600px;
    border-radius: 32px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal-overlay.active .booking-modal-card {
    transform: translateY(0);
}

.booking-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f8fafc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.booking-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: rotate(90deg);
}

.booking-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.booking-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.booking-modal-title .highlight {
    color: #FF3C00;
}

.booking-modal-subtitle {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-input,
.booking-textarea {
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    color: #0f172a;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

select.booking-input {
    height: 52px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 40px;
    appearance: none;
}

.booking-input:focus,
.booking-textarea:focus {
    outline: none;
    border-color: #FF3C00;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 60, 0, 0.05);
}

.booking-textarea {
    height: 100px;
    resize: none;
}

.booking-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF3C00 0%, #FF5F24 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 15px -3px rgba(255, 60, 0, 0.3);
}

.booking-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(255, 60, 0, 0.4);
}

.booking-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.booking-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: none;
}

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

/* Success State */
.booking-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.booking-success-message h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.booking-success-close {
    margin-top: 24px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-success-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

@media (max-width: 640px) {
    .booking-modal-overlay {
        align-items: flex-end;
        /* Push to bottom on mobile for better reachability */
        padding: 10px;
    }

    .booking-modal-card {
        padding: 32px 20px 24px;
        border-radius: 24px 24px 0 0;
        /* Rounded top only if pushed to bottom */
        width: 100%;
        max-height: 92vh;
        overflow-y: auto;
        transform: translateY(100%);
        /* Slide up animation */
    }

    .booking-modal-overlay.active .booking-modal-card {
        transform: translateY(0);
    }

    .booking-modal-close {
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
    }

    .booking-modal-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .booking-modal-subtitle {
        font-size: 0.9rem;
    }

    .booking-form-grid,
    .booking-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

@media (max-height: 700px) and (min-width: 641px) {
    .booking-modal-card {
        max-height: 95vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .booking-modal-card {
        padding: 24px 16px 20px;
    }

    .booking-modal-title {
        font-size: 1.25rem;
    }
}