
#progress-wrapper {
    position: absolute;
    z-index: 1000;
    left: 50%;
    top: 65%;
    width: 100%;
    height: 100%;    
}

.progress {
    width: 200px;
    height: 20px;
    margin-top: -20px;
    margin-left: -100px;
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 2px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #76A6FC;
    border-radius: 4px;
}



.map-nav-item {
    width:100%;
    font-size: 10px ;
    border:1px solid #ddd;   
    float:left;
    text-decoration: none;
    color: #111;
    background: #fff;
    margin-bottom:5px;
    cursor:pointer;
;
}
.map-nav-item b {
    font-size:14px ;
    font-weight:bold;

}

.map-nav-item.focus {
  border: 1px solid rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}

.map-nav-item-wrapper {
    padding:5px;
}

div.Tokenize {
    display: inline-block;
    position: relative;   
}

.LA_filters ul {list-style: none;}
.TokensContainer {
    height: 50px;
    width: 100%;
}

a.leaflet-control-zoom-out,a.leaflet-control-zoom-in {text-decoration: none !important;}

/* Better filter UI/UX */
.LA_filters {
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    margin-top: 16px;
}

.LA_filters .category-filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 14px;
    margin: 0;
    padding: 0;
}

.LA_filters .category-filters-container li {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    flex: 1 1 220px;
    margin: 0;
    padding: 0;
}

.LA_filters .category-filters-container li label,
.LA_filters .category-filters-container li b {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #5b6578;
}

.LA_filters .filter-select select,
.LA_filters input[type="text"],
.LA_filters .Tokenize {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d5dce7;
    border-radius: 10px;
    padding: 8px 10px;
    background: #ffffff;
    color: #1f2a44;
    box-sizing: border-box;
}

.LA_filters .filter-select select:focus,
.LA_filters input[type="text"]:focus {
    outline: none;
    border-color: #2d5be3;
    box-shadow: 0 0 0 3px rgba(45, 91, 227, 0.12);
}

.LA_filters .chosen-container {
    width: 100% !important;
}

.LA_filters .chosen-container-single .chosen-single {
    min-height: 40px;
    border: 1px solid #d5dce7;
    border-radius: 10px;
    padding: 6px 10px;
    background: #ffffff;
    box-shadow: none;
}

.LA_filters .filter-range .rangeslider {
    margin: 6px 0 0;
    max-width: 100%;
}

.LA_filters .filter-checkbox,
.LA_filters .filter-radio {
    background: #ffffff;
    border: 1px solid #e3e8f1;
    border-radius: 10px;
    padding: 10px;
}

.LA_filters .filter-reset {
    flex: 0 0 auto;
    min-width: auto;
    align-self: flex-end;
}

.LA_filters #reset-filters {
    border: 1px solid #2d5be3;
    background: #2d5be3;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.LA_filters #reset-filters:hover {
    background: #2048bf;
    border-color: #2048bf;
}

.LA_filters #reset-filters:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 91, 227, 0.2);
}

/* Better navlist UI/UX */
#locate-anything-template-wrapper .map-nav-wrapper {
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 10px;
    box-sizing: border-box;
}

#locate-anything-template-wrapper .map-nav-results-found {
    font-size: 12px;
    font-weight: 700;
    color: #5b6578;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 2px 2px 10px;
}

#locate-anything-template-wrapper .map-nav-lists {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#locate-anything-template-wrapper .map-nav-item {
    float: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #e2e8f2;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2a44;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

#locate-anything-template-wrapper .map-nav-item-wrapper {
    padding: 12px;
}

#locate-anything-template-wrapper .map-nav-item:hover,
#locate-anything-template-wrapper .map-nav-item.focus {
    border-color: #c8d5ee;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

#locate-anything-template-wrapper .navlist-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#locate-anything-template-wrapper .navlist-thumbnail {
    width: 96px;
    flex: 0 0 96px;
}

#locate-anything-template-wrapper .navlist-thumbnail img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
}

#locate-anything-template-wrapper .navlist-stripp-content {
    width: auto;
    flex: 1;
    padding-left: 0;
    line-height: 1.35;
    font-size: 14px;
}

#locate-anything-template-wrapper .navlist-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1f2a44;
}

#locate-anything-template-wrapper .navlist-meta {
    margin: 3px 0;
    color: #51607b;
    font-size: 13px;
}

#locate-anything-template-wrapper .navlist-site a,
#locate-anything-template-wrapper .navlist-adresse a {
    color: #2d5be3;
    text-decoration: none;
    font-weight: 600;
}

#locate-anything-template-wrapper .navlist-site a:hover,
#locate-anything-template-wrapper .navlist-adresse a:hover {
    text-decoration: underline;
}

/* Better pagination UI/UX */
#locate-anything-template-wrapper .map-nav-pagination {
    margin-top: 12px;
    margin-left: 0;
    display: flex;
    justify-content: center;
}

#locate-anything-template-wrapper .tui-pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: #f3f6fb;
    border: 1px solid #e2e8f3;
}

#locate-anything-template-wrapper .tui-pagination .tui-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #42506b;
    font-size: 13px;
    line-height: 32px;
    font-weight: 600;
}

#locate-anything-template-wrapper .tui-pagination .tui-page-btn:hover {
    background: #e9eef9;
    color: #1f2a44;
}

#locate-anything-template-wrapper .tui-pagination .tui-is-selected,
#locate-anything-template-wrapper .tui-pagination strong {
    background: #2d5be3;
    border-color: #2d5be3;
    color: #ffffff;
}

#locate-anything-template-wrapper .locate-anything-page-nav {
    float: none;
    margin-right: 0;
    color: #42506b;
    font-weight: 600;
}

/* Better map UI/UX */
#locate-anything-template-wrapper .leaflet-container {
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8ff 0%, #edf3fb 100%);
}

#locate-anything-template-wrapper .leaflet-tile-pane {
    filter: saturate(1.08) contrast(1.03);
}

#locate-anything-template-wrapper .leaflet-bar {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}

#locate-anything-template-wrapper .leaflet-bar a,
#locate-anything-template-wrapper .leaflet-bar a:hover {
    width: 36px;
    height: 36px;
    line-height: 34px;
    border: 0;
    background: rgba(255, 255, 255, 0.96);
    color: #1f2a44;
    font-weight: 700;
}

#locate-anything-template-wrapper .leaflet-bar a:hover {
    background: #2d5be3;
    color: #ffffff;
}

#locate-anything-template-wrapper .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.92);
    border-top-left-radius: 8px;
    border: 1px solid #e4eaf4;
    border-right: 0;
    border-bottom: 0;
    color: #4f5d78;
    padding: 2px 8px;
}

#locate-anything-template-wrapper .leaflet-popup-content-wrapper {
    border-radius: 14px;
    border: 1px solid #dce4f1;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.18);
}

#locate-anything-template-wrapper .leaflet-popup-content {
    margin: 12px;
}

#locate-anything-template-wrapper .leaflet-popup-content .tooltip-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 6px;
}

#locate-anything-template-wrapper .leaflet-popup-content .tooltip-thumb,
#locate-anything-template-wrapper .leaflet-popup-content .navlist-thumbnail {
    width: auto;
    flex: 0 0 auto;
}

#locate-anything-template-wrapper .leaflet-popup-content .tooltip-thumb:empty,
#locate-anything-template-wrapper .leaflet-popup-content .navlist-thumbnail:empty {
    display: none;
}

#locate-anything-template-wrapper .leaflet-popup-content .tooltip-thumb img,
#locate-anything-template-wrapper .leaflet-popup-content .navlist-thumbnail img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

#locate-anything-template-wrapper .leaflet-popup-content .tooltip-thumb img[src=""],
#locate-anything-template-wrapper .leaflet-popup-content .navlist-thumbnail img[src=""],
#locate-anything-template-wrapper .leaflet-popup-content .tooltip-thumb img:not([src]),
#locate-anything-template-wrapper .leaflet-popup-content .navlist-thumbnail img:not([src]) {
    display: none;
}

#locate-anything-template-wrapper .leaflet-popup-content .tooltip-content,
#locate-anything-template-wrapper .leaflet-popup-content .navlist-stripp-content {
    width: auto;
    flex: 1 1 calc(100% - 108px);
    min-width: 180px;
    padding-left: 0;
    color: #1f2a44;
    font-size: 14px;
    line-height: 1.4;
}

#locate-anything-template-wrapper .leaflet-popup-content .navlist-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2a44;
}

#locate-anything-template-wrapper .leaflet-popup-content .navlist-meta {
    margin: 3px 0;
    color: #51607b;
    font-size: 13px;
    flex: 1 1 100%;
    width: 100%;
}

#locate-anything-template-wrapper .leaflet-popup-content .navlist-site a,
#locate-anything-template-wrapper .leaflet-popup-content .navlist-adresse a,
#locate-anything-template-wrapper .leaflet-popup-content a.tooltip-link {
    color: #2d5be3;
    text-decoration: none;
    font-weight: 600;
}

#locate-anything-template-wrapper .leaflet-popup-content .navlist-site a:hover,
#locate-anything-template-wrapper .leaflet-popup-content .navlist-adresse a:hover,
#locate-anything-template-wrapper .leaflet-popup-content a.tooltip-link:hover {
    text-decoration: underline;
}

#locate-anything-template-wrapper .leaflet-popup-tip {
    background: #ffffff;
}

#locate-anything-template-wrapper .marker-cluster-small,
#locate-anything-template-wrapper .marker-cluster-medium,
#locate-anything-template-wrapper .marker-cluster-large {
    background: rgba(45, 91, 227, 0.22);
}

#locate-anything-template-wrapper .marker-cluster-small div,
#locate-anything-template-wrapper .marker-cluster-medium div,
#locate-anything-template-wrapper .marker-cluster-large div {
    background: #2d5be3;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: 700;
}

@media (max-width: 900px) {
    .LA_filters .category-filters-container li {
        flex: 1 1 calc(50% - 14px);
    }
}

@media (max-width: 640px) {
    .LA_filters {
        padding: 12px;
    }

    .LA_filters .category-filters-container li,
    .LA_filters .filter-reset {
        flex: 1 1 100%;
    }

    .LA_filters #reset-filters {
        width: 100%;
    }

    #locate-anything-template-wrapper .map-nav-wrapper {
        padding: 8px;
    }

    #locate-anything-template-wrapper .navlist-content {
        flex-direction: column;
        gap: 8px;
    }

    #locate-anything-template-wrapper .navlist-thumbnail {
        width: 100%;
        flex: 0 0 auto;
    }

    #locate-anything-template-wrapper .navlist-thumbnail img {
        height: 140px;
    }

    #locate-anything-template-wrapper .tui-pagination {
        flex-wrap: wrap;
        border-radius: 16px;
        justify-content: center;
    }

    #locate-anything-template-wrapper .leaflet-popup-content .tooltip-wrap {
        flex-direction: column;
        gap: 8px;
    }

    #locate-anything-template-wrapper .leaflet-popup-content .tooltip-thumb,
    #locate-anything-template-wrapper .leaflet-popup-content .navlist-thumbnail {
        width: 100%;
        flex: 0 0 auto;
    }

    #locate-anything-template-wrapper .leaflet-popup-content .tooltip-thumb img,
    #locate-anything-template-wrapper .leaflet-popup-content .navlist-thumbnail img {
        width: 100%;
        height: 140px;
    }
}
