.top-box {
    background-color: lightblue;
    color: rgb(2, 2, 194);
    font-size: 18px;
    padding: 10px 20px;
    margin: auto;
    width: max-content;
    border-radius: 8px;
}

/* کد استایل و کنترل لیبل اینپوت نام خیابان  */
.form-input-con {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.input {
    position: relative;
}

.floating-label {
    font-size: 17px;
    color: gray;
    position: absolute;
    pointer-events: none;
    top: 30px;
    right: 10px;
}

.form-input:focus~.floating-label {
    transition: all 0.2s ease;
    top: 5px;
    color: rgb(175, 175, 175);
    background-color: #1D1D1B;
}

.form-input:focus+.floating-label,
.form-input:not(:placeholder-shown)+.floating-label {
    transition: all 0.2s ease;
    top: 5px;
    color: black;
    background-color: #FFFFFF;
}

.form-input {
    width: 100% !important;
    border: 1px solid gray;
    border-radius: 5px;
    padding: 8px 30px;
    margin: 20px 0;
    color: white;
}

/*  */

/* مد سلکت باکس های استان و شهرستان  */
.custom-select {
    width: 100% !important;
    box-sizing: border-box;
    border: 1px solid gray !important;
    border-radius: 8px !important;
    font-size: 1.1rem;
    padding: 10px 14px;
    transition: border 0.2s;
}

.custom-select:focus {
    border-color: #1a4e7a !important;
    box-shadow: 0 0 0 2px #2F74B933;
    background: #fff;
    color: #1a4e7a;
}

.floating-label {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

/*  */

.btn-border {
    margin: 20px auto;
    padding: 10px;
    border: 1px solid gray;
    width: max-content;
    border-radius: 50px;
}

/* دکمه بعدی  */
.next-btn {
    all: unset;
    background-color: #2F74B9;
    color: white;
    padding: 10px 20px;
    text-align: center;
    width: 250px;
    border-radius: 8px;
    transition: all .15s;
}

/* هاور  */
.next-btn:hover {
    transform: scale(1.08);
}

/* کد آکوردیون  */
.accordion-button {
    font-size: 18px;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid lightgray;
}

.accordion-link-items {
    all: unset;
    cursor: pointer;
    font-size: 18px;
    padding: 10px 0;
    transition: all .15s;
}

.accordion-link-items:hover {
    color: #2F74B9;
    border-bottom: 1px solid #2F74B9;
    width: min-content;
}

/*  */
/* دکمه بعدی رنگ نارنجی  */
.next-btn2 {
    all: unset;
    /* start edit | add new line style  */
    cursor: pointer;
    /* end edit  */
    background-color: orange;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
    width: 180px;
    border-radius: 8px;
    transition: all .15s;
}

/* استایل اینپوت های توضیح و تایتل آگهی  */
.empty-input {
    all: unset;
    background-color: rgb(221, 220, 220);
    border: 2px solid lightgray;
    border-radius: 10px;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    transition: all .15s;
}

.textarea-input-style {
    outline: none;
    background-color: rgb(221, 220, 220);
    border: 2px solid lightgray;
    border-radius: 10px;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    transition: all .15s;
}

/* استایل فوکوس شدن  */
.empty-input:focus,
.textarea-input-style:focus {
    border: 2px solid #2F74B9;
}

/* استایل باکس عکس ها  */
.image-box {
    width: min-content !important;
    border: 2px dashed gray;
    padding: 10px 40px;
}

/* دکمه اضاقه عکس  */
.add-image-label {
    cursor: pointer;
    border: 1px solid black;
    padding: 5px 30px;
    border-radius: 10px;
    width: max-content;
    transition: all .15s;
}

.add-image-label:hover {
    border: 1px solid #2F74B9;
    border-radius: 50px;
}

/* استایل دکمه های امکانات  */
.feature-btn {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid gray;
    background: lightgray;
    color: black;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    margin-bottom: 8px;
}

/* استایل موقع انتخاب شدن */
.feature-btn.selected {
    background: #2F74B9;
    color: #fff;
}

/* دراپ داون  سایر امکانات  */
.dropdown-multiselect .dropdown-toggle:after {
    content: "▼";
    float: left;
    margin-right: 8px;
    font-size: 0.8em;
}

.dropdown-menu-multi {
    max-height: 220px;
    overflow-y: auto;
}

.dropdown-menu-multi label {
    cursor: pointer;
}

.dropdown-menu-multi input[type="checkbox"]:checked+span,
.dropdown-menu-multi input[type="checkbox"]:checked {
    color: #2F74B9;
}

#map {
    height: 350px;
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.location-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #eee;
}

.leaflet-control-gps {
    background: white;
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 14px;
}

.leaflet-control-gps:hover {
    background: #f0f0f0;
}

.gps-active {
    color: #0066cc;
    font-weight: bold;
}

#gps-button {
    all: unset;
    cursor: pointer;
    border: 1px solid #0066cc;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    color: #0066cc;
    transition: all .15s;
}
#gps-button:hover {
    background-color: #0066cc;
    color: white;
}
#edit-location-button{
    all: unset;
    cursor: pointer;
    border: 1px solid black;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    transition: all .15s;
    margin: auto;
}
#edit-location-button:hover {
    border-radius: 50px;
}
/* دکمه ثبت مودال موفقیت آمیز بودن ثبت آگهی  */
.submit-success-btn-modal {
    all: unset;
    cursor: pointer;
    background-color: #2F74B9;
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
    margin: auto;
}