/* Стил за бутона */
.inquiry-btn {
    background: #007cba;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.inquiry-btn:hover {
    background: #005a87;
    color: #f0b14f;
}

/* Модален прозорец */
.inquiry-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.inquiry-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Бутон за затваряне */
.inquiry-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}

.inquiry-close:hover,
.inquiry-close:focus {
    color: #000;
    text-decoration: none;
}

/* Адаптивен дизайн за формата в модала */
.listing-inquiry-form-container {
    padding: 30px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .inquiry-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .listing-inquiry-form-container {
        padding: 20px;
    }
}