/* ==========================================================================
   Modal v2 (theme popup without Bootstrap dependency)
   ========================================================================== */

.overlay-v2.site_consultation_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000000;
    animation: fadeIn 0.3s ease;
}

.overlay-v2.site_consultation_overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-v2.site_consultation_modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 560px;
    width: calc(100% - 32px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

.site_consultation_modal .modal-v2_close {
    position: absolute;
    top: 5px;
    right: 16px;
    font-size: 36px;
    line-height: 1;
    opacity: 0.5;
    color: #000;
    border: 0;
    cursor: pointer;
    background: transparent;
}

.site_consultation_modal .modal-v2_title {
    color: #000;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.site_consultation_modal .modal-v2_title::first-letter {
    color: var(--primary-color);
}

.site_consultation_modal .modal-v2_message {
    font-size: 16px;
    color: #2d3436;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 16px;
}

.site_consultation_form_wrap {
    margin-top: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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