.map-container {
    position:relative;
    flex: 1 1 auto;
    border-radius: 5px;
    border:1px solid #2d3748!important;
}

.map-container { min-height:250px!important; }
.map-container .preloader { min-height:250px!important; }

#map {
    /* height: 600px; */
    height:100%!important;
    background: var(--global-palette9);
    z-index: 1;
}
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap:10px;
}

.popup-content h3{
    white-space: nowrap;
    font-size:15px!important;
}

.popup-footer {
    display: flex;
    padding-top: 10px;
    border-top: 1px solid #2d3748;
    align-items: center;
    justify-content: space-between;
    width: max-content;
    gap:10px;
    min-width:100%;
}
.popup-footer .btn-violet {
    flex:0 0 auto;
    font-weight:500!important;
}
.popup-footer .btn-violet i {
    margin-left:5px;
}
.avatars { display:flex;gap:5px;width: max-content; }
.avatars a { flex: 0 0 auto;position:relative; }
.avatars a i {
    position: absolute;
    right: 0;
    margin-right: 0;
    bottom:0;
}
.count-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2d3748;
    color:white!important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}

.count-profile:hover, .count-profile:focus, .count-profile:active {
    background:var(--global-palette2);
}
.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit:cover;
}

.popup-content button {
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
}
.country-label {
    font-size: 13px;
    color: white;
    /* background: rgba(255, 255, 255, 0.7); */
    padding: 2px 4px;
    border-radius: 3px;
    white-space: nowrap;
}

/* ------------------------------- */
.leaflet-container a.leaflet-popup-close-button {
    top: -5px;
    right: -23px;
}

.leaflet-container {
    background:#1a202c
}
.leaflet-interactive {
    transition: fill 0.3s ease; /* Animacja zmiany koloru fill w 3 sekundy */
}

.leaflet-popup-content-wrapper {
    background: var(--global-palette8);
    box-shadow: none!important;
    border: 1px solid #2d3748;
    /* width:200%; */
}
.leaflet-popup-content {
    margin: 10px!important;
}
.leaflet-container .leaflet-control-attribution {
    background:#1a202c;
}
.leaflet-container a {
    color: #ffffff;
}
.leaflet-attribution-flag {
    margin-right:5px;
}
.leaflet-touch .leaflet-bar a {
    background: #252c39;
    box-shadow: none !important;
}
.leaflet-touch .leaflet-bar a:first-child {
    border-bottom: 1px solid #2d3748;
}
.leaflet-touch .leaflet-bar {
    border: 1px solid #2d3748;
}
.leaflet-popup-tip {
    box-shadow:none;
    background: #252c39;
}
.country-label strong {
    color:#8e98ab;
}

/* .leaflet-popup-content {
    width:auto!important;
} */
