/*
 * ===  CORE CSS VARIABLES  ===
*/
:root {
    /* Font */
    --wplf-font-family: 'Inter', sans-serif;

    /* Colors */
    --wplf-color-primary: #0173AB;
    --wplf-color-primary-dark: #01527B;
    --wplf-color-primary-light: #EBF5FA;
    --wplf-color-primary-contrast: #fff;

    --wplf-color-text-base: #28282D;
    --wplf-color-text-secondary: #4F505A;
    --wplf-color-text-muted: #6A6A6D;
    --wplf-color-text-disabled: #B9B9B9;

    --wplf-color-bg-base: #fff;
    --wplf-color-bg-alt: #F0F4F7;
    --wplf-color-bg-subtle: #E4E4E9;
    --wplf-color-bg-tag: #eee;

    --wplf-color-success: #01AB6A;
    --wplf-color-success-bg: #EBFAF4;
    --wplf-color-warning: #EC7E00;
    --wplf-color-warning-bg: #FFF3CD;
    --wplf-color-danger: #DD2929;
    --wplf-color-danger-light: #FAEBEB;
    --wplf-color-danger-hover: #F2D6D5;
    
    --wplf-color-border-strong: #D9DADD;
    --wplf-color-border-base: #CDCDD2;
    --wplf-color-border-alt: #E4E4E9;
    --wplf-color-border-muted: #979797;
    --wplf-color-border-dashed: #CDCDD2;

    /* Sizing & Radius */
    --wplf-input-height: 48px;
    --wplf-radius-xl: 24px;
    --wplf-radius-lg: 16px;
    --wplf-radius-md: 8px;
    --wplf-radius-sm: 6px;
    --wplf-radius-xs: 4px;
    --wplf-radius-round: 50px;

    /* Gaps */
    --wplf-gap-xl: 20px;
    --wplf-gap-lg: 15px;
    --wplf-gap-md: 10px;
    --wplf-gap-sm: 8px;
    --wplf-gap-xs: 5px;
    --wplf-gap-xxs: 4px;

    /* Shadow */
    --wplf-shadow-card: 0px 4px 16px 0px rgba(48, 58, 79, 0.04);
}

@font-face {
    font-family: 'Inter';
    src: url('../../admin/fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../../admin/fonts/static/Inter-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.wplf-notice {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 500;
    line-height: 1.5;
}

.wplf-notice-success {
    background: var(--wplf-color-success-bg);
    border: 1px solid var(--wplf-color-success);
    color: var(--wplf-color-success);
}

.wplf-notice-error {
    background: var(--wplf-color-danger-light);
    border: 1px solid var(--wplf-color-danger);
    color: var(--wplf-color-danger);
}

.wplf-content .adp, .wplf-content table, .wplf-content button, .wplf-content span, .wplf-content a, .wplf-content label, .wplf-content input, .wplf-content p, .wplf-content select, .wplf-content option, .wplf-content h3 {
    font-family: var(--wplf-font-family) !important;
}

.wplf-content {
    max-width: 1600px;
    margin: 20px 0;
}

.wplf-content *:focus, .wplf-detail-location *:focus {
    outline: none!important;
}

.wplf-content a, .wplf-content button, .wplf-content button:hover {
    cursor: pointer;
    border: none;
    background-color: unset;
    padding: 0;
    color: unset;
}

.wplf-content a {
    text-decoration: none!important;
}

.wplf-content .d-none, .wplf-d-none {
    display: none !important;
}

.wplf-d-flex {
    display: flex!important;
}

.wplf-d-flex-col {
    flex-direction: column;
}

.wplf-disable {
    opacity: 0.5;
    pointer-events: none;
}

.wplf-content button.wplf-geolocate-me {
    background: var(--wplf-color-bg-base);
    border: 1px solid var(--wplf-color-primary);
    border-radius: var(--wplf-radius-md)!important;
    min-width: 174px;
    padding: 11px 15px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    width: fit-content;
}

.wplf-content button.wplf-geolocate-me img {
    width: 24px;
    height: 24px;
}

.wplf-content .wplf-geolocate-me span {
    color: var(--wplf-color-primary);
    font-size: 16px;
    font-weight: 500;
    margin-left: 10px;
}

.wplf-content h3 {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--wplf-color-text-base) !important;
    line-height: 22px;
}

.wplf-content .form-control-text {
    padding: 10px;
    background: var(--wplf-color-bg-subtle);
    border: none;
}

.wplf-content .input-group-inline {
    display: flex;
    flex-direction: row;
    margin: 0;
}

.wplf-content .input-group-inline .input-with-icons {
    width: 100%;
    display: flex;
    align-items: center;
}

.wplf-content .btn-search-action {
    position: absolute;
    right: 10px;
    height: 100%;
}

.wplf-content .btn-search-action img {
    height: 100%;
    width: 24px;
}

.wplf-content .btn-search, .wplf-content .btn-search-clear {
    cursor: pointer;
    display: inline-block;
}

.wplf-content input {
    color: var(--wplf-color-text-base);
}

.wplf-content .input-group-inline .input-with-icons input {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    background: var(--wplf-color-bg-base);
    padding: 13px 65px 13px 45px;
    border-radius: var(--wplf-radius-md)!important;
    border: 1px solid var(--wplf-color-border-base)!important;
}

.wplf-content .input-group-inline .input-with-icons .icon-input {
    position: absolute;
    left: 10px;
}

.wplf-content .wplf-osm-search-box {
    height: var(--wplf-input-height);
    margin-bottom: 8px;
}

.wplf-content .leaflet-locationiq-expanded {
    width: 100%!important;
    height: 100%;
    border-radius: var(--wplf-radius-md);
    box-shadow: none;
}

.wplf-map-view.wplf-osm .leaflet-touch .leaflet-locationiq-control {
    display: none;
}

.wplf-content .leaflet-locationiq-expanded .leaflet-locationiq-input {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    background: var(--wplf-color-bg-base);
    padding: 13px 65px 13px 40px;
    border-radius: var(--wplf-radius-md) !important;
    border: 1px solid var(--wplf-color-border-base) !important;
}

.wplf-content .leaflet-locationiq-search-icon {
    width: 24px;
    height: 24px;
    background-size: 24px;
    left: 10px;
}

.wplf-content .leaflet-locationiq-search-icon.leaflet-locationiq-loading {
    background-image: url('../icons/map-icon.svg')!important;
}

.wplf-content .leaflet-locationiq-search-icon:hover {
    background-color: transparent!important;
}

.wplf-content .wplf-leaflet-search {
    cursor: pointer;
}

.wplf-content .leaflet-locationiq-results {
    margin-top: 50px;
}

.wplf-content .leaflet-locationiq-results ul {
    margin: 0;
    padding: 0;
}

.wplf-content .leaflet-locationiq-expanded .leaflet-locationiq-close {
    background-color: transparent;
    right: 10px;
    font-size: 22px;
    font-weight: 500;
    color: var(--wplf-color-border-muted);
    width: 20px;
}

.wplf-content .px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wplf-content .text-center {
    text-align: center !important;
}

.wplf-content .position-relative {
    position: relative;
}

.wplf-content .w-100 {
    width: 100%;
}

.wplf-content .wplf-form-search {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.wplf-content .wplf-form-search h3 {
    padding-bottom: 5px;
    margin: 0;
}

.wplf-content .wplf-name-suggestions {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.wplf-content .wplf-name-suggestions::-webkit-scrollbar-button {
    display: none!important;
}

.wplf-content .wplf-name-suggestions::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.wplf-content .wplf-name-suggestions::-webkit-scrollbar-track {
    background: #E4E4E9;
    border-radius: 50px;
}

.wplf-content .wplf-name-suggestions::-webkit-scrollbar-thumb {
    background: var(--wplf-color-primary);
    border-radius: 50px;
}

.wplf-content .wplf-name-suggestions::-webkit-scrollbar-thumb:hover {
    background: var(--wplf-color-primary);
}

.wplf-content .wplf-suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.wplf-content .wplf-suggestion-item:last-child {
    border-bottom: none;
}

.wplf-content .wplf-suggestion-item:hover {
    background-color: #f5f5f5;
}

.wplf-content .wplf-form-search select {
    background: url('../icons/arrow-down-icon.svg') 97% center no-repeat;
    -webkit-appearance: none;
    padding: 13px 15px;
    font-weight: 400;
    color: var(--wplf-color-text-base);
    font-size: 14px;
    line-height: 20px;
    border-radius: var(--wplf-radius-md);
    border: 1px solid var(--wplf-color-border-base);
}

.wplf-content .wplf-form-search .choices {
    margin: 0;
    margin-bottom: 8px;
}

.wplf-content .wplf-form-search .choices__inner {
    font-family: var(--wplf-font-family);
    box-sizing: border-box;
    border: 1px solid var(--wplf-color-border-base);
    border-radius: var(--wplf-radius-md) !important;
    background: var(--wplf-color-bg-base);
    height: var(--wplf-input-height);
    padding: 7.5px 12px;
}

.wplf-content .wplf-form-search .choices__inner .choices__item {
    font-weight: 400;
    color: var(--wplf-color-text-base);
    font-size: 14px;
    line-height: 20px;
    opacity: 1;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__item {
    color: var(--wplf-color-text-base);
}

.wplf-content .wplf-form-search .choices__list--single {
    padding: 6px 0;
}

.wplf-content .wplf-form-search .choices[data-type*=select-one]::after {
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.7%2010L11.7%2016L5.69995%2010L7.09995%208.6L11.7%2013.2L16.3%208.6L17.7%2010Z%22%20fill%3D%22%238D8E99%22/%3E%3C/svg%3E);
    background-size: contain;
    background-repeat: no-repeat;
    height: 24px;
    width: 24px;
    border: none;
    transform: translateY(-50%);
    margin-top: 0!important;
    right: 9px;
}

.wplf-content .wplf-form-search .choices__list--dropdown, .choices__list[aria-expanded] {
    margin-top: 4px;
    border: 1px solid #CDCDD2;
    border-radius: 8px;
    box-sizing: border-box;
    z-index: 10000;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {
    max-height: 240px;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__item, .choices__list[aria-expanded] .choices__item {
    font-family: var(--wplf-font-family);
    font-size: 14px;
    line-height: 20px;
    padding: 14px 12px;
    opacity: 1;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: var(--wplf-color-primary-light);
    color: var(--wplf-color-primary-dark);
}

.wplf-content .wplf-form-search .choices__item--choice.is-selected {
    background-color: var(--wplf-color-bg-alt);
    color: var(--wplf-color-primary-dark);
}

.wplf-content .wplf-form-search .choices__item--choice.is-selected:not(.is-highlighted) {
    background-color: var(--wplf-color-bg-base);
    color: var(--wplf-color-primary-dark);
}

.wplf-content .wplf-form-search .choices__item--choice.is-selected::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.54998%2018L3.84998%2012.3L5.27498%2010.875L9.54998%2015.15L18.725%205.97498L20.15%207.39998L9.54998%2018Z%22%20fill%3D%22%2301527B%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    float: right;
    margin-left: 8px;
    opacity: 1 !important;
    pointer-events: none;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__list::-webkit-scrollbar-button {
    display: none!important;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__list::-webkit-scrollbar {
    width: 5px;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__list::-webkit-scrollbar-track {
    background: var(--wplf-color-border-alt);
    border-radius: 50px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__list::-webkit-scrollbar-thumb {
    background-color: var(--wplf-color-primary);
    border-radius: 50px;
}

.wplf-content .wplf-form-search .choices__list--dropdown .choices__list::-webkit-scrollbar-thumb:hover {
    background: var(--wplf-color-primary);
}

.wplf-form-search-top {
    padding: 30px 30px 10px 30px;
}

.wplf-form-search-top .wplf-tag-search {
    float: left;
    width: 100%;
    min-height: 40px;
    max-height: 140px;
    overflow: auto;
    margin-top: 8px;
}

.wplf-form-search-top .wplf-tag-search::-webkit-scrollbar-button {
    display: none!important;
}

.wplf-form-search-top .wplf-tag-search::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.wplf-form-search-top .wplf-tag-search::-webkit-scrollbar-track {
    background: var(--wplf-color-border-alt);
    border-radius: 50px;
}

.wplf-form-search-top .wplf-tag-search::-webkit-scrollbar-thumb {
    background: var(--wplf-color-primary);
    border-radius: 50px;
}

.wplf-form-search-top .wplf-tag-search::-webkit-scrollbar-thumb:hover {
    background: var(--wplf-color-primary);
}

.wplf-form-search-top .wplf-tag-search input {
    display: none;
}

.wplf-form-search-top .wplf-tag-search label {
    padding: 8px 12px;
    line-height: 15px;
    min-width: inherit !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    margin: 0 8px 5px 0;
}

.wplf-form-search-top .wplf-tag-search input.wplf-tag:checked + label {
    background: var(--wplf-color-primary) !important;
    color: var(--wplf-color-primary-contrast);
}

.wplf-form-search-top .wplf-tag-search input.wplf-tag:checked + label:hover {
    background: var(--wplf-color-primary-dark) !important;
}

.wplf-form-search-top .wplf-tag-search input.wplf-tag+label {
    display: table;
    background-color: var(--wplf-color-bg-tag);
    color: var(--wplf-color-text-secondary);
    cursor: pointer;
    border-radius: var(--wplf-radius-sm);
    -moz-border-radius: var(--wplf-radius-sm);
    -webkit-border-radius: var(--wplf-radius-sm);
    transition: background-color .25s;
    -moz-transition: background-color .25s;
    -webkit-transition: background-color .25s;
    -o-transition: background-color .25s;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    float: left;
}

.wplf-form-search-top .wplf-tag-search input.wplf-tag+label:hover {
    background-color: var(--wplf-color-border-strong);
}

.wplf-form-search-top .wplf-tag-search input.wplf-tag:checked + label > span.wplf-tag-unchecked {
    display: none;
}

.wplf-form-search-top .wplf-tag-search input.wplf-tag:not(:checked)+label>span.wplf-tag-checked {
    display: none;
}

.wplf-form-search-bottom {
    border-top: 1px solid var(--wplf-color-border-base);
    padding: 20px;
}
.wplf-form-search-bottom .wplf-search-btn {
    width: 100%;
    background: var(--wplf-color-primary);
    height: var(--wplf-input-height);
    border: none!important;
    border-radius: var(--wplf-radius-md)!important;
    text-align: center;
    color: var(--wplf-color-primary-contrast);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.wplf-content .map-list-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--wplf-color-bg-alt);
    padding: var(--wplf-gap-lg);
    border-radius: var(--wplf-radius-md);
    cursor: pointer;
}

.wplf-content .map-list-wrapper:last-child {
    border-bottom: none;
}

.wplf-content .map-list-header {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
}

.wplf-content .map-list-header img {
    align-self: flex-start;
    width: 32px;
    height: 32px;
}

.wplf-content .map-list-header .wplf-svg-marker svg {
    width: 32px;
    height: 32px;
}

.wplf-content .map-list-header .wplf-distance {
    border-radius: var(--wplf-radius-xs)!important;
    border: none!important;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    padding: 6px 8px;
    background: var(--wplf-color-success);
    color: var(--wplf-color-primary-contrast);
    width: fit-content;
}

.wplf-content .desc-list {
    flex-grow: 1;
    width: 40%;
}

.wplf-content .desc-list h5 {
    margin: 0;
    font-size: 1.2em;
}

.wplf-content .desc-list p {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: var(--wplf-color-text-secondary);
}

.wplf-content .map-list-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 5px;
    width: 100%;
    margin-top: 10px;
}

.wplf-content .map-list-footer .wplf-action-btn {
    text-transform: capitalize;
    text-decoration: none;
    color: var(--wplf-color-primary)!important;
    font-size: 14px;
    font-weight: 600!important;
    line-height: 20px;
    display: flex;
    align-items: center;
    border: 1px solid var(--wplf-color-border-alt);
    border-radius: var(--wplf-radius-sm);
    padding: 8px 12px;
    background: var(--wplf-color-bg-base);
}

.wplf-content .map-list-footer .wplf-action-btn.wplf-route-btn {
    background: var(--wplf-color-primary);
    border: 1px solid var(--wplf-color-primary);
    color: var(--wplf-color-primary-contrast)!important;
}

.wplf-content .map-list-footer .wplf-action-btn img {
    margin-right: 5px;
    width: 20px;
}

.wplf-content .list-map {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    max-height: 565px;
    overflow: auto;
    margin-top: 20px;
    padding-right: 7.5px;
}

.wplf-content .list-map.wplf-show-only-list {
    margin-top: 0;
    max-height: 585px;
}

.wplf-content.wplf-map-view .list-map {
    max-height: 560px;
    margin-top: 15px;
}

.wplf-content .list-map::-webkit-scrollbar-button {
    display: none!important;
}

.wplf-content .list-map::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    /* Width of the scrollbar */
}

.wplf-content .list-map::-webkit-scrollbar-track {
    background: var(--wplf-color-border-alt);
    /* Track color */
    border-radius: 50px;
    /* Track border radius */
}

.wplf-content .list-map::-webkit-scrollbar-thumb {
    background: var(--wplf-color-primary);
    /* Thumb color */
    border-radius: 50px;
    /* Thumb border radius */
}

.wplf-content .list-map::-webkit-scrollbar-thumb:hover {
    background: var(--wplf-color-primary);
    /* Thumb hover color */
}

.wplf-content .list-map .wplf-result-count {
    font-family: var(--wplf-font-family) !important;
    font-size: 11px;
    color: #6466F1;
    text-align: center;
}

.wplf-content .map-list-wrapper:hover {
    background: var(--wplf-color-border-alt);
}

.wplf-content .map-list-wrapper.active {
    background: var(--wplf-color-success-bg);
    border: 2px solid var(--wplf-color-success);
}

.wplf-location-list {
    padding: 30px 7.5px 0 15px;
}

.wplf-location-list .wplf-back-btn {
    display: flex;
    align-items: center;
    padding: 0;
    border: none!important;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: var(--wplf-color-text-base);
    line-height: 22px;
    box-shadow: none;
}

.wplf-location-list .wplf-back-btn:hover {
    color: var(--wplf-color-text-base);
}

.wplf-location-list .wplf-back-btn img {
    width: auto;
}

.wplf-map-view .wplf-location-list {
    padding: 15px 7.5px 0 15px;
}

.wplf-content .cursor-pointer {
    cursor: pointer;
}

.wplf-map-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background: var(--wplf-color-bg-base);
    border: 1px solid var(--wplf-color-border-strong);
    border-radius: var(--wplf-radius-lg);
}

.wplf-map {
    border-radius: 0 var(--wplf-radius-lg) var(--wplf-radius-lg) 0;
}

.wplf-left-content, .wplf-right-content {
    height: 640px;
}

.wplf-left-content .input-group-inline, .wplf-left-content select {
    margin-bottom: 8px;
}

.wplf-left-content .list-map .map-list-header .location-title {
    font-size: 16px;
    font-weight: 500;
    display: block;
    color: var(--wplf-color-text-base);
    line-height: 22px;
    margin-bottom: 5px;
}

.wplf-left-content .list-map .map-list-header .location-address {
    font-size: 12px;
    font-weight: 400;
    color: var(--wplf-color-text-base);
    display: block;
    line-height: 16px;
    max-width: 90%;
}

.wplf-right-content .wplf-map {
    width: 100%;
    height: 640px;
}

.wplf-map-content:not(.wplf-direction-collapsed) .wplf-left-content {
    -ms-flex: 0 0 400px;
    flex: 0 0 400px;
    max-width: 400px;
}

.wplf-map-content:not(.wplf-direction-collapsed) .wplf-right-content {
    -ms-flex: 0 0 calc(100% - 400px);
    flex: 0 0 calc(100% - 400px);
    max-width: calc(100% - 400px);
}

.wplf-map-content.wplf-direction-active .wplf-left-content {
    -ms-flex: 0 0 560px;
    flex: 0 0 560px;
    max-width: 560px;
}

.wplf-map-content.wplf-direction-active .wplf-right-content {
    -ms-flex: 0 0 calc(100% - 560px);
    flex: 0 0 calc(100% - 560px);
    max-width: calc(100% - 560px);
}

.wplf-content.wplf-map-view .wplf-map-content:not([class*=" "]) .wplf-left-content {
    display: none;
}

.wplf-content.wplf-map-view .wplf-map-content:not(.wplf-direction-active) .wplf-map {
    border-radius: var(--wplf-radius-lg);
}

.wplf-content.wplf-map-view .wplf-map-content:not(.wplf-direction-active) .wplf-right-content {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.wplf-map-content.wplf-direction-collapsed {
    position: relative;
}

.wplf-map-content.wplf-direction-collapsed .wplf-right-content {
    width: 100%;
}

.wplf-map-content.wplf-direction-collapsed .wplf-map-direction-content {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--wplf-color-bg-base);
    height: auto;
    width: 400px;
    border-radius: var(--wplf-radius-lg);
    z-index: 1000;
}

.wplf-map-content.wplf-direction-collapsed .wplf-direction-content-top {
    padding: 30px;
}

.wplf-map-content.wplf-direction-collapsed .wplf-map-direction-summary, .wplf-map-content.wplf-direction-collapsed .wplf-map-direction {
    display: none;
}

.wplf-map-content .gm-style-iw-chr {
    display: none;
}

.wplf-map-content .gm-style-iw > div {
    overflow: visible !important;
}

.wplf-map-content .gm-style-iw-c {
    padding: 12px!important;
}

.wplf-map-content .gm-style-iw-d, .wplf-map-content .gm-style-iw-c {
    max-height: initial !important;
}

.wplf-map-marker {
    position: relative;
    margin: -12px;
    min-width: 324px;
    max-width: 360px;
    overflow: hidden;
    z-index: 100000;
}

.wplf-map-marker-close {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: .7;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    height: 32px;
    width: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 100000;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
}

.wplf-map-marker-close:hover {
    opacity: 1;
}

.wplf-map-marker-close svg {
    fill: #000;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wplf-map-marker-header {
    position: relative;
}

.wplf-map-marker-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    margin-bottom: 0;
}

.wplf-map-marker-image .gm-style img {
    box-shadow: inherit !important;
    margin: 0;
}

.wplf-map-marker-image img {
    position: absolute;
    height: 100%!important;
    width: 100%!important;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wplf-map-marker-body {
    padding: 16px;
    margin-top: -16px;
    background: var(--wplf-color-bg-base);
    border-radius: var(--wplf-radius-md) var(--wplf-radius-md) 0 0;
    position: relative;
    z-index: 2;
}

.wplf-map-marker-content {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.wplf-map-marker-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    color: var(--wplf-color-text-base);
}

.wplf-map-marker-address {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--wplf-color-text-base);
}

.wplf-map-marker-description {
    font-weight: 400;
    color: var(--wplf-color-text-base);
}

.wplf-map-marker-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 4px;
    margin-top: 8px;
    width: 100%;
}

.wplf-map-marker .wplf-details-icon {
    text-transform: capitalize;
    text-decoration: none!important;
    color: var(--wplf-color-primary) !important;
    font-size: 13px;
    font-weight: 600 !important;
    line-height: 20px;
    display: flex;
    align-items: center;
    column-gap: 2px;
    border: 1px solid var(--wplf-color-border-alt);
    border-radius: var(--wplf-radius-sm);
    padding: 8px 10px;
    background: var(--wplf-color-bg-base);
}

.wplf-map-marker .wplf-details-icon img {
    width: 24px;
    height: 24px;
}

.wplf-map-marker-footer:has(.wplf-details-icon:nth-child(4):last-child) .wplf-details-icon {
    flex: 0 1 calc(50% - 6px);
}

.wplf-map-marker .wplf-details-icon:hover {
    background-color: var(--wplf-color-primary-light);
    border-color: var(--wplf-color-primary);
}

.wplf-map-marker #wplf-route-btn.wplf-details-icon {
    background: var(--wplf-color-primary);
    border: 1px solid var(--wplf-color-primary);
    color: var(--wplf-color-primary-contrast) !important;
}

.wplf-map-marker #wplf-route-btn.wplf-details-icon:hover {
    background: var(--wplf-color-primary-dark);
    border-color: var(--wplf-color-primary-dark);
}

.wplf-content .leaflet-popup-content,
.wplf-detail-location .leaflet-popup-content {
    margin: 10px!important;
}

.wplf-content .leaflet-popup-content .wplf-map-marker,
.wplf-detail-location .leaflet-popup-content .wplf-map-marker {
    border-radius: var(--wplf-radius-md);
}

.wplf-content .leaflet-marker-icon img,
.wplf-detail-location .leaflet-marker-icon img {
    width: 40px!important;
}

.wplf-map-direction-content {
    height: 640px;
    position: relative;
}

.wplf-map-direction-content img {
    width: 24px;
    height: 24px;
}

.wplf-direction-content-top {
    padding: 30px 30px 0 30px;
}

.wplf-map-direction-btn {
    display: flex;
    justify-content: space-between;
}

.wplf-map-direction-btn button {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--wplf-color-text-base);
    width: fit-content;
}

.wplf-map-direction-btn button:hover,
.wplf-map-direction-btn button:focus {
    background-color: transparent;
    color: var(--wplf-color-text-base);
}

.wplf-map-direction-btn button:hover {
    opacity: 0.8;
}

.wplf-map-direction-btn button.wplf-close-direction {
    color: var(--wplf-color-danger);
}

.wplf-map-direction-input {
    display: flex;
    align-items: center;
    width: 100%;
    column-gap: 8px;
    margin-top: 16px;
}

.wplf-map-direction-input div {
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 8px;
}

.wplf-map-direction-input input {
    padding: 14px 12px;
    border: 1px solid var(--wplf-color-border-base);
    border-radius: var(--wplf-radius-md);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--wplf-color-text-base);
}

.wplf-map-direction-summary {
    background: var(--wplf-color-bg-alt);
    border-radius: var(--wplf-radius-md);
    padding: 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--wplf-color-text-base);
    margin-top: 16px;
    margin-bottom: 8px;
}

.wplf-map-direction {
    overflow: auto;
    height: 390px;
    padding-left: 30px;
    padding-right: 15px;
    margin-right: 15px;
}

.wplf-osm .wplf-map-direction {
    height: 420px;
    margin-top: 16px;
}

.wplf-map-direction::-webkit-scrollbar-button {
    display: none!important;
}

.wplf-map-direction::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.wplf-map-direction::-webkit-scrollbar-track {
    background: var(--wplf-color-border-alt);
    border-radius: 50px;
}

.wplf-map-direction::-webkit-scrollbar-thumb {
    background: var(--wplf-color-primary);
    border-radius: 50px;
}

.wplf-map-direction::-webkit-scrollbar-thumb:hover {
    background: var(--wplf-color-primary);
}

.wplf-map-direction img {
    max-width: none !important;
}

.wplf-map-direction table {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.wplf-map-direction .adp-summary, .wplf-map-direction .adp-placemark {
    display: none;
}

.wplf-map-direction .adp-step, .wplf-map-direction .adp-substep {
    border: none;
    border-bottom: 1px dashed var(--wplf-color-border-base);
    padding: 10px 3px;
}

.wplf-map-direction .leaflet-routing-container, .wplf-map-direction .leaflet-routing-error {
    width: 100%;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.wplf-map-direction .leaflet-routing-alt, .wplf-map-direction .leaflet-routing-geocoders, .wplf-map-direction .leaflet-routing-error {
    max-height: unset;
    overflow-y: unset;
    padding: 0;
    margin: 0;
    border: 0;
}

.wplf-direction-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.wplf-direction-loading .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--wplf-color-text-base);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fancybox__container {
    z-index: 1000000;
}

@media (max-width: 1366px) {
    .wplf-content {
        max-width: 1180px;
    }
    .wplf-map-content.wplf-direction-active .wplf-left-content {
        -ms-flex: 0 0 400px;
        flex: 0 0 400px;
        max-width: 400px;
    }
    .wplf-map-content.wplf-direction-active .wplf-right-content {
        -ms-flex: 0 0 calc(100% - 400px);
        flex: 0 0 calc(100% - 400px);
        max-width: calc(100% - 400px);
    }

    .wplf-form-search-top {
        padding: 20px 20px 10px 20px;
    }
    .wplf-direction-content-top {
        padding: 20px 20px 0 20px;
    }

    .wplf-map-direction {
        height: 395px;
        margin-right: 10px;
    }

    .wplf-osm .wplf-map-direction {
        height: 425px;
    }
}

@media (max-width: 960px) {
    .wplf-content {
        max-width: 900px;
    }
    .wplf-map-content:not(.wplf-direction-collapsed) .wplf-left-content {
        -ms-flex: 0 0 320px;
        flex: 0 0 320px;
        max-width: 320px;
    }
    .wplf-map-content:not(.wplf-direction-collapsed) .wplf-right-content {
        -ms-flex: 0 0 calc(100% - 320px);
        flex: 0 0 calc(100% - 320px);
        max-width: calc(100% - 320px);
    }
    .wplf-map-content.wplf-direction-active .wplf-left-content {
        -ms-flex: 0 0 320px;
        flex: 0 0 320px;
        max-width: 320px;
    }
    .wplf-map-content.wplf-direction-active .wplf-right-content {
        -ms-flex: 0 0 calc(100% - 320px);
        flex: 0 0 calc(100% - 320px);
        max-width: calc(100% - 320px);
    }
    .wplf-form-search-top {
        padding: 15px 15px 10px 15px;
    }
    .wplf-direction-content-top {
        padding: 15px 15px 0 15px;
    }
    .wplf-map-direction {
        padding-left: 15px;
        padding-right: 7.5px;
        margin-right: 7.5px;
    }

    .wplf-content .map-list-footer .wplf-action-btn {
        padding: 6px 8px;
    }
}

@media (max-width: 768px) {
    .wplf-content {
        max-width: 708px;
    }

    .wplf-map-content {
        border-radius: var(--wplf-radius-md);
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }

    .wplf-left-content, .wplf-right-content,
    .wplf-map-content.wplf-direction-active .wplf-left-content,
    .wplf-map-content.wplf-direction-active .wplf-right-content,
    .wplf-map-content:not(.wplf-direction-collapsed) .wplf-left-content,
    .wplf-map-content:not(.wplf-direction-collapsed) .wplf-right-content {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .wplf-right-content .wplf-map {
        border-radius: var(--wplf-radius-md) var(--wplf-radius-md) 0 0;
        height: 450px;
    }

    .wplf-left-content {
        height: 540px;
    }

    .wplf-map-content.wplf-direction-collapsed .wplf-map-direction-content {
        position: initial;
        width: 100%;
    }

    .wplf-map-content.wplf-direction-collapsed .wplf-direction-content-top {
        padding: 15px 15px 0 15px;
    }

    .wplf-form-search-top .wplf-tag-search {
        height: auto;
        max-height: 185px;
    }

    .wplf-map-marker {
        max-width: 280px;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .wplf-map-marker-image {
        height: 130px;
    }

    .wplf-map-marker-body {
        padding: 10px;
    }

    .wplf-map-marker .wplf-details-icon {
        padding: 8px;
    }
}