.property-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.property-popup-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.property-popup {
    position: relative;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;

    background: #fff;
    padding: 40px;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.3s ease;
}

.property-popup-overlay.show .property-popup {
    transform: translateY(0) scale(1);
}


.property-popup-close {
    position: absolute;
    top: 15px;
    right: 18px;

    width: 35px;
    height: 35px;

    border: 0;
    background: transparent;

    font-size: 30px;
    line-height: 1;

    color: #555;
    cursor: pointer;
}


.property-popup-content h2 {
    margin: 0 0 15px;

    font-size: 30px;
    line-height: 1.2;

    color: #1d1d1d;
    font-weight: 500;
}


.property-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


.property-form-group {
    margin-bottom: 10px;
}


.property-form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 500;

    color: #333;
}


.property-form-group input,
.property-form-group textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 6px;

    border: 1px solid #d8d8d8;

    background: #fff;

    font-family: inherit;
    font-size: 14px;

    color: #333;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.property-form-group textarea {
    resize: vertical;
    min-height: 110px;
}


.property-form-group input:focus,
.property-form-group textarea:focus {
    border-color: #c8a45e;

    box-shadow:
        0 0 0 2px rgba(200, 164, 94, 0.10);
}


.property-form-group input::placeholder,
.property-form-group textarea::placeholder {
    color: #aaa;
}


.property-popup-submit {
    width: 100%;

    padding: 14px 20px;

    border: 0;
    border-radius: 2px;

    background: #c8a45e;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.property-popup-submit:hover {
    background: #ad8b4e;
}


.property-popup-success {
    display: none;

    margin-top: 15px;
    padding: 12px;

    background: #eef7ee;
    color: #397339;

    font-size: 13px;
    text-align: center;
}

.property-popup-success.show {
    display: block;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .property-popup-overlay {
        padding: 15px;
    }

    .property-popup {
        padding: 30px 20px;
        max-height: 92vh;
    }

    .property-popup-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
        padding-right: 25px;
    }

    .property-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}