.menzil, .ofis, .home-block, .qaraj, .torpaq, .obyekt, .qesebe, .metro, .has_bill_of_sale, #rent_period,.temir {
    display: none;
}

.btn-block {
    float: right;
    margin-right: 32px;
}

/*image preview start*/

.upload-container {
    padding: 20px;
    border: 2px dashed #cccccc;
    border-radius: 10px;
    background-color: #ffffff;
    text-align: center;
    transition: border-color 0.3s ease;
}

.upload-container:hover {
    border-color: #666666;
}

.upload-label {
    display: block;
    margin-bottom: 20px;
    color: #666666;
    cursor: pointer;
}

#fileInput {
    display: none;
}

.preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview .image-container {
    position: relative;
    width: 110px;
    height: 110px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview .image-container .delete-btn {
    position: absolute;
    padding: inherit;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.preview .image-container:hover .delete-btn {
    display: flex;
}

/*image preview end*/


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

button {
    margin-top: 10px;
    background-color: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    line-height: 10px;
}

button:hover {
    background-color: #0056b3;
}

#map {
    position: relative;
    overflow: scroll;
    width: 100%;
    height: 300px;
}


.upload-container {
    position: relative;
    margin: auto;
    padding: 20px;
    border: 2px dashed #007bff;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.upload-container input[type="file"] {
    display: none;
}

.upload-label {
    display: block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-label:hover {
    background-color: #0056b3;
}

.preview {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preview img {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.photo-rules {
    margin-top: 20px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #555;
}

.photo-rules li {
    margin-bottom: 10px;
}

.photo-rules li::before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #007bff;
    margin-right: 8px;
}


.close {
    position: absolute; /* Düyməni pəncərənin üstündə yerləşdirmək üçün */
    top: 10px; /* Yuxarıdan məsafə */
    right: 10px; /* Sağdan məsafə */
    font-size: 24px; /* Yazı ölçüsünü təyin etmək üçün */
    font-weight: bold; /* Yazı qalınlığı */
    color: #fff; /* Yazı rəngi */
    background-color: #333; /* Arxa fon rəngi */
    border-radius: 50%; /* Yuvarlaq düymə üçün */
    width: 40px; /* Düymənin eni */
    height: 40px; /* Düymənin hündürlüyü */
    display: flex; /* Mərkəzləşdirmək üçün */
    align-items: center; /* Mərkəzləşdirmək üçün */
    justify-content: center; /* Mərkəzləşdirmək üçün */
    cursor: pointer; /* Mausun göstəricisi düyməyə gələndə dəyişir */
    transition: all 0.3s ease; /* Keçid effekti */
    z-index: 1060; /* Close düyməsinin üstə yerləşməsi üçün */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Kölgə əlavə etmək üçün */
}

.close:hover {
    background-color: #ff0000; /* Hover zamanı arxa fon rəngini dəyişir */
    color: #fff; /* Hover zamanı yazı rəngini dəyişir */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Hover zamanı kölgə əlavə edir */
}

.menzil {
    padding: 0 !important;
}

.home-block{
    display: none;
}

.creative-btn {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creative-btn:hover {
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.creative-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.rules {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rules .title {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.rules p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.rules ul {
    list-style-type: disc;
    padding-left: 20px;
}

.rules ul li {
    margin-bottom: 10px;
}

.rules ul li p {
    margin: 0;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    #categories-block, #given-types-block{
        padding: 0;
    }

    #categories-block{
        margin-bottom: 20px;
    }
}
