/* Open Radar Filter Style */

.radar-location-form {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: column;
}

.radar-input-box {
    display: block;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.radar-location {
    display: block;
    position: relative;
    width: 100%;
    border-style: solid !important;
    border-width: 2px !important;
    border-color: var(--wp--preset--color--primary, #2445ea) !important;
    margin-bottom: 20px;
    border-radius: 6px !important;
    background-repeat: no-repeat !important;
    background-position: right 15px bottom 50% !important;
    padding-right: 70px !important;
    padding-top: 25px !important;
    font-size: 16px;
    font-weight: var(--wp--custom--heading--typography--font-weight);
    color: #000 !important;
    background-color: #fff !important;
}

.radar-input-label {
    font-size: 12px;
    position: absolute;
    top: 5px;
    left: 18px;
    z-index: 10;
    font-family: var(--wp--custom--body--typography--font-family), sans-serif;
    color: #000;
}

.radar-location::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000 !important;
    opacity: 1;
    /* Firefox */
    font-size: 16px;
    font-weight: var(--wp--custom--heading--typography--font-weight);
    font-family: var(--wp--custom--body--typography--font-family), sans-serif;
}

.radar-location:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000 !important;
    font-size: 16px;
    font-weight: var(--wp--custom--heading--typography--font-weight);
    font-family: var(--wp--custom--body--typography--font-family), sans-serif;
}

.radar-location::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #000 !important;
    font-size: 16px;
    font-weight: var(--wp--custom--heading--typography--font-weight);
    font-family: var(--wp--custom--body--typography--font-family), sans-serif;
}

/* Close Radar Filter Style */
.plan-search-results-filter-layout {
    max-width: 1200px !important;
}

.plan-search-results-filter-layout .filter-pill.selected {
    cursor: pointer;
}

.slider-svg {
    fill: var(--wp--preset--color--primary, #2445ea);
}

.slider-svg.selected {
    fill: #ffffff;
}

.clear-filter {
    font-family: var(--wp--custom--body--typography--font-family);
    font-style: normal;
    font-weight: var(--wp--custom--heading--typography--font-weight);
    font-size: 14px;
    line-height: 26px;
    cursor: pointer;
    color: var(--wp--preset--color--primary, #2445ea);
}

.accept-filter {
    margin-right: 24px;
}

.plan-search-filter-box {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 40px;
    justify-content: space-between;
}

.plan-search-filter-left {
    width: 40%;
}

.plan-search-filter-right {
    margin-top: 2px;
}

.filter-dropdown-box {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 15px;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 18px 12px;
    line-height: 1em;
    min-width: 210px;
    height: 68px;
    font-weight: var(--wp--custom--body--typography--font-weight);
    font-family: var(--wp--custom--body--typography--font-family);
    font-style: normal;
    font-size: 10px;
    line-height: 20px;
    color: #ffffff;
    cursor: pointer;
    gap: 5px;
    border: 2px solid var(--wp--preset--color--primary, #2445ea);
    border-radius: 8px;
}

.filter-dropdown {
    background: #ffffff;
    color: var(--wp--preset--color--primary, #2445ea);
}

.filter-dropdown.active,
.filter-dropdown:focus {
    background: var(--wp--preset--color--primary, #2445ea);
    color: #ffffff;
}

.drop-subtitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: var(--wp--custom--heading--typography--font-weight);
}

.filter-count-wrap[data-filter-count="0"] {
    display: none;
}

.filter-pop-out-box {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 24px;
    max-width: 743px;
    font-family: var(--wp--custom--body--typography--font-family);
    font-style: normal;
    font-weight: var(--wp--custom--body--typography--font-weight);
    font-size: 14px;
    line-height: 26px;
    color: #080709;
    background: var(--wp--preset--color--secondary-pearl);
    box-shadow: 0px 1.2375px 7.85127px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-top: 20px;
    top: 70px;
}

.pop-out-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.pop-out-middle {
    display: flex;
    flex-wrap: wrap;
}

.pop-out-bottom {
    display: flex;
    align-items: center;
}

.close-button-box {
    cursor: pointer;
}

.added-search-pill-box {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 24px;
    gap: 12px;
}

.pill-close {
    display: block;
}

.pill-close.hidden {
    display: none;
}

.filter-pill {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    padding: 10px 24px;
    gap: 8px;
    height: 46px;
    font-family: var(--wp--custom--body--typography--font-family);
    font-style: normal;
    font-weight: var(--wp--custom--heading--typography--font-weight);
    font-size: 14px;
    line-height: 26px;
    background: #ffffff;
    border: 2px solid #4b5260;
    border-radius: 72.3684px;
}

.filter-pill.selected {
    background: #4b5260;
    color: #ffffff;
}

.planfilter {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    padding: 10px 24px;
    gap: 8px;
    height: 46px;
    font-family: var(--wp--custom--body--typography--font-family);
    font-style: normal;
    font-weight: var(--wp--custom--heading--typography--font-weight);
    font-size: 14px;
    line-height: 26px;
    text-decoration: none;
    color: #4b5260;
    cursor: pointer;
    background: #ffffff;
    border: 2px solid #4b5260;
    border-radius: 72.3684px;
    margin-right: 13px;
    margin-bottom: 18px;
}

.planfilter:hover,
.planfilter.selected {
    background: #4b5260;
    color: #ffffff;
}

/* Hide filter button for Renaissance Dental */
.planfilter[data-filter="f_net_renaissance-dental"] {
    display: none;
}

.hidden {
    display: none;
}

.plan.card.hidden {
    display: none;
}

.plan-search-show-button {
    display: none;
}

@media only screen and (max-width: 600px) {
    .filter-dropdown-box {
        width: 100%;
    }

    .filter-dropdown {
        width: 100%;
        margin-right: 0px;
    }

    .filter-pop-out-box {
        position: static;
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .card-results-lower-right {
        margin-top: 0px;
        white-space: nowrap;
        padding-left: 0px;
        justify-content: start;
    }

    .plan-search-filter-left {
        width: 100%;
    }

    .wp-block-group.alignfull.plan-search-results-filter-layout-container {
        padding-left: 0;
        padding-right: 0;
        box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px,
            rgba(0, 0, 0, 0.14) 0px 1px 1px 0px,
            rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    }

    .plan-search-show-button {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding: 14px 20px;
        font-size: 1rem;
        line-height: 1.5;
        font-weight: var(--wp--custom--heading--typography--font-weight);
        background-color: rgb(255, 255, 255);
        color: rgba(0, 0, 0, 0.87);
        position: relative;
        overflow-anchor: none;
        cursor: pointer;
    }

    .plan-search-show-button .arrow-icon {
        user-select: none;
        width: 1em;
        height: 1em;
        display: inline-block;
        fill: currentcolor;
        flex-shrink: 0;
        transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
        font-size: 1.5rem;
        color: rgb(36, 69, 234);
    }

    .showing {
        padding-bottom: 14px;
    }

    .showing .plan-search-show-button .arrow-icon {
        transform: rotate(-180deg);
    }

    .plan-search-filter-box {
        display: none;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.5s;
    }

    .showing .plan-search-filter-box {
        opacity: 1;
    }

    .added-search-pill-box {
        padding: 10px 20px 24px;
    }

    .showing .added-search-pill-box {
        padding: 10px 20px;
    }

    .added-search-pill-box:not(:has(.filter-pill)) {
        padding: 0 !important;
    }

    .plan-search-filter-box .radar-location-form {
        flex-direction: column !important;
    }

    .added-search-pill-box {
        margin-top: 0;
    }
}
