#latInput, #lngInput {
    padding: 12px !important;
    font-size: 16px !important;
    height: auto !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: calc(100% - 140px);
    max-width: 300px;
}
.input-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-popup-closer:after {
    content: "✖";
    color: #000 !important;
}
.ol-custom-zoom {
    left: 8px;
    bottom: 8px;
    top: auto !important;
    right: auto !important;
}
/* Стили для поиска на карте */
.map-search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
}
.map-address-input {
    border: 1px solid #bbb;
    border-radius: 20px 5px 5px 20px;
    -webkit-border-radius: 20px 5px 5px 20px;
    -moz-border-radius: 20px 5px 5px 20px;
    -khtml-border-radius: 20px 5px 5px 20px;
    background-color: #ffffff !important;
    height: 30px;
    color: #444444;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
    padding: 0 10px;
    margin-right: 5px;
}
.map-address-button {
    border: none;
    border-radius: 5px 20px 20px 5px;
    -webkit-border-radius: 5px 20px 20px 5px;
    -moz-border-radius: 5px 20px 20px 5px;
    -khtml-border-radius: 5px 20px 20px 5px;
    background-color: #77874C !important;
    height: 30px;
    color: #FFF6DE;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
    padding: 0 10px;
}
.map-address-button:hover {
    background-color: #99ac66 !important;
}
.select-geolocation-container {
    display: flex;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 10px;
}
.geolocation-btn {
    border: none;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    background-color: #77874C;
    height: 30px;
    color: #FFF6DE;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
    padding: 0 5px;
    margin-right: 10px;
}
.geolocation-btn:hover {
    background-color: #99ac66 !important;
}
.select-mode-btn {
    border: none;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    background-color: #77874C;
    height: 30px;
    color: #FFF6DE;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
    padding: 0 10px 0 10px;
    margin-right: 10px;
}
.select-mode-btn:hover {
    background-color: #99ac66 !important;
}
.select-mode-btn-active {
    background-color: #AC3F3F !important;
    color: #FFF6DE;
}
.select-mode-btn-active:hover {
    background-color: #d65c5c !important;
    color: #FFF6DE;
}
.button-icon-geo {
    margin-left: 5px;
    margin-right: 5px;
}
.icon-geo {
    content: url("../img/icon-geo.svg");
}
.modal-osm-error {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #D94848;
    color: #F8F6F1;
    font-size: 10px;
    z-index: 1000;
    text-align: center;
    padding-top: 5px;
}