/* Consultation Form Modal Styles */

#consultationFormModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

#consultationFormModal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

#consultationFormModal > div {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideInFromTop 0.4s ease;
    position: relative;
}

#consultationFormModal .close-modal-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 10;
}

#consultationFormModal .close-modal-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #consultationFormModal > div {
        padding: 25px !important;
        max-width: 95% !important;
        width: 95% !important;
        max-height: 70vh !important;
        margin: 0 !important;
    }
    
    #consultationFormModal h3 {
        font-size: 1.5rem !important;
    }
    
    #consultationFormModal p {
        font-size: 0.95rem !important;
    }
    
    #consultationFormModal input,
    #consultationFormModal textarea {
        font-size: 1rem !important;
        padding: 12px !important;
    }
    
    #consultationFormModal button {
        padding: 14px 24px !important;
        font-size: 1rem !important;
    }
}

