﻿.leaflet-top {
    bottom: 120px !important;
    top: auto;
    position:fixed;
}
.map--modal--search {
    position: absolute;
    background-color: #ffffff;
    left: 18px;
    right: 22px;
    height: 56px;
    z-index: 401;
    top: 65px;
    border-radius: 8px;
}
.map--address {
    margin-top: 4px;
    font-size: 0.9rem;
    padding: 2px 8px;
    color: #515151;
}
.modal--close {
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 402;
  
}
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0; /* shorthand برای top: 0; right: 0; bottom: 0; left: 0 */
    background-color: rgba(0, 0, 0, 0.5); /* نیمه شفاف */
    z-index: 9999;
}
.input--clear {
    position: absolute;
    left: 7px;
    top: 11px;
}
.modal__dialog {
    background-color: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal__content {
    padding: 20px;
    position: relative;
}

.modal__header,
.modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin: 0;
    font-size: 1.25rem;
}

.modal__close {
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 32px;
}

.modal__body {
    margin-top: 1rem;
}

.modal__footer {
    margin-top: 2.5rem;
}

.modal__button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.modal__button--cancel {
    background-color: #ccc;
}

.modal__button--save {
    background-color: #03b286;
    color: #fff;
}

.address-form__group {
    margin-bottom: 1rem;
}

.address-form__label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.address-form__input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.address-form__map-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
}

.map-container {
    height: 400px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.btn--confirm {
    position: fixed;
    bottom: 8px;
    left: 15px;
    right: 15px;
    height: 50px;
    font-size: 1.1rem;
    z-index: 403;
    background-color: #03b286;
    border: 1px solid #03b286;
    border-radius: 8px;
    color: white;
    font-family:IRANSans;
}

.modal--header {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-search {
    position: absolute;
    right: 5px;
    top: 5px;
    transform: scaleX(-1);
}