/* CSS extracted from AddApartment.cshtml */


.ap-style-1 {
    text-align: center;
    margin-bottom: 20px
}

.ap-style-2 {
    color: red
}

.ap-style-3 {
    display: none;
}

.ap-style-4 {
    z-index: 0
}

.ap-style-5 {
    height: 300px;
    border-radius: 8px;
}

.ap-style-6 {
    display: none;
}

.ap-style-7 {
    display: none;
}

.ap-style-8 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ap-style-9 {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

.ap-style-10 {
    margin-top: 30px;
    margin-bottom: 30px
}

.ap-style-11 {
    position: relative;
    width: 250px;
    margin: auto;
}

.ap-style-12 {
    width: 100%;
}

.ap-style-13 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
}

.ap-style-14 {
    position: absolute;
    top: 10%;
    right: 0;
    transform: translate(100%, 0);
}

.ap-style-15 {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(100%, -50%);
}

.ap-style-16 {
    position: absolute;
    bottom: 10%;
    right: 0;
    transform: translate(100%, 0);
}

.ap-style-17 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
}

.ap-style-18 {
    position: absolute;
    bottom: 10%;
    left: 0;
    transform: translate(-100%, 0);
}

.ap-style-19 {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
}

.ap-style-20 {
    position: absolute;
    top: 10%;
    left: 0;
    transform: translate(-100%, 0);
}

.ap-style-21 {
    display: none
}

.ap-style-22 {
    display: none
}

.ap-style-23 {
    display: none
}

.ap-style-24 {
    display: none
}

.ap-style-25 {
    display: none
}

.ap-style-26 {
    display: none
}

.ap-style-27 {
    display: none
}

.ap-style-28 {
    display: none
}

.ap-style-29 {
    display: none
}

.ap-style-30 {
    height: 50px;
    cursor: pointer;
}


#buildingAge, #ParkingSlider, #roomCount, #floor, #totalFloors, #unitPerFloor {
    width: 100%;
}

.custom-help {
    font-size: 1rem; /* یا هر اندازه دلخواه */
}

#map, #map * {
    z-index: 0 !important;
}

    #map iframe {
        z-index: 0 !important;
        pointer-events: none; /* جلوگیری از کلیک‌پذیری در زمان باز بودن مودال */
    }

#validationMessageBox {
    background-color: #ffe6e6; /* قرمز ملایم */
    color: #b20000; /* متن قرمز تیره */
    border: 1px solid #b20000;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}


.image-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background: #f9f9f9;
    width: 160px;
    position: relative;
}

    .image-card img {
        width: 100%;
        max-height: 180px;
        object-fit: cover;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .image-card label {
        display: block;
        font-size: 14px;
        margin-top: 5px;
    }

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
}

.section {
    margin-top: -70px !important;
    margin-bottom: -70px !important;
}

@media (max-width: 600px) {
    .section {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}




.disabled-button {
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.5;
}
        