/* Top Filter */
.dfilter .filter-wrapper .filter-form{
    padding: 0 4px;
    gap: 16px;
}
.dfilter .filter-wrapper .filter-form a.link{
    padding: 13px 16px;
    border: 0.5px solid #A5B2C3;
    background: #FFFFFF66;
    border-radius: 1000px;
    max-height: 44px;
    max-width: 170px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comparison-landing.check-active .filter-wrapper .filter-form a.link{
    padding-left: 16px;
}
.dfilter .filter-wrapper .filter-form a.link strong{
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #002855;
}
.dfilter .filter-wrapper .filter-form a.link::before{
    display: none!important;
}
.dfilter .filter-wrapper .filter-form a.link::after{
    content: url('https://bireysel.turktelekom.com.tr/PublishingImages/icons/grey-compare-icon.svg');
    width: 24px;
    height: 24px;
}
.dfilter.check-active .filter-wrapper .filter-form a.link::after{
    width: auto;
    height: auto;
    content: "";
    font-family: icomoon;
    color: #717D8D;
    font-size: 24px;
    font-weight: 900;
}
.dfilter .filter-wrapper .filter-form .form-group{
    margin: 0;
    padding: 0;
    border: unset;
    min-width: 170px;
    max-height: 44px;
}
.dfilter .filter-wrapper .filter-form .form-group .select2-container{
    max-width: 170px;
}
.dfilter .filter-wrapper .filter-form .form-group .select2-container .select2-selection{
    border-radius: 1000px;
    border: 0.5px solid #A5B2C3
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0px 5px 6px;
}
.select2.small ~ .select2-container .select2-selection__rendered{
    display: flex;
    padding: 13px 16px;
}
.select2-container .select2-selection--single .select2-selection__placeholder{
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    color: #002855;
}
.select2-container .select2-selection--single .select2-selection__arrow b{
    margin-left: -7px;
}
.dfilter .filter-wrapper .filter-form .rspfd{
    display: none;
}

/* Left Filter */
.dfilter .df-left{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.filter-wrapper .filter-body{
    margin-bottom: 0;
}
.dfilter .filter-wrapper.device-filter{
    padding-bottom: 30px;
}
.dfilter .panel.panel-white{
    flex: unset;
    width: 266px;
    box-shadow: unset;
    border: unset;
    transform: translateY(-74px);
    padding: 0;
    margin: 0;
    position: static;
    z-index: 6;
    background: transparent;
}
.dfilter .lfs{
    flex-direction: column;
    margin: 0;
    gap: 12px;
}
.dfilter .fs100{
    border: 1px solid #DEE3ED;
    border-radius: 4px;
    padding: 16px 0;
    max-height: 410px;
    height: 100%;
}
.dfilter .fs100.filter-arama{
    max-height: 56px;
}
.dfilter .fs100.filter-close {
    max-height: 56px;
    padding: 9px 0;
}
.checkbox-wrap.form-group {
    margin: 0;
    cursor: pointer;
}
.checkbox-wrap.form-group *{
    cursor: pointer;
}
.checkbox-wrap small.label-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #002855;
}
.form-group.right-icon-field{
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0 16px;
}
.form-group.right-icon-field::after {
    font-family: "icomoon" !important;
    content: "\e901";
    color: #002855;
}
.form-group.right-icon-field .form-control{
    border: unset!important;
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
}
.dfilter .fs100 .filter-section > span{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 16px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 4px;
    justify-content: space-between;
    cursor: pointer;
    color: #002855;
}
.dfilter .fs100 .filter-section > span::after {
    font-family: "icomoon" !important;
    content: "\e912";
    font-size: 24px;
}
.dfilter .fs100.filter-close .filter-section > span::after {
    transform: rotate(180deg);
}
.dfilter .fs100 .checkbox-list{
    max-height: 342px;
    overflow-y: auto;
    width: 100%;
    padding: 0 16px;
}
.dfilter .fs100.filter-close .checkbox-list{
    display: none;
}
.dfilter .fs100 .checkbox-list::-webkit-scrollbar{
    width: 4px;
    border-radius: 4px;
}
.dfilter .fs100 .checkbox-list::-webkit-scrollbar-thumb{
    background-color: #586473;
    border-radius: 2px;
}
.dfilter .fs100 .checkbox-list::-webkit-scrollbar-track{
    background-color: #DEE3ED;
    border-radius: 2px;
}
.checkbox-wrap span{
    border-radius: 4px;
}
.checkbox-list:not(:first-child) .checkbox-wrap.form-group {
    border-bottom: 1px solid #F0F2F5;
    padding-bottom: 16px;
    margin-top: 16px;
}
.panel-white .btn-group-wrap{
    display: none;
}

/* Cards */
.card-filter-results{
    max-width: 870px;
    width: 100%;
}

.comparison-landing-sticky{
    z-index: 7;
}

/* Dark mode */

[data-theme="dark"] .form-group.right-icon-field input{
    background-color: transparent!important;
}

[data-theme="dark"] .dfilter .fs100{
    border-color: var(--tt-color-border);
    background-color: var(--tt-color-surfaceVariant);
    color: var(--tt-color-surface-white);
}
[data-theme="dark"] .checkbox-list:not(:first-child) .checkbox-wrap.form-group{
    border-color: var(--tt-color-border);
}
[data-theme="dark"] .dfilter .filter-wrapper .filter-form a.link{
    color: var(--tt-color-surface-white) !important;
    background-color: var(--tt-color-surfaceVariant);
}
[data-theme="dark"] .dfilter .filter-wrapper .filter-form a.link strong{
    color: var(--tt-color-surface-white) !important
}
[data-theme="dark"] .dfilter .filter-wrapper .filter-form a.link::after{
    filter: brightness(3);
}
[data-theme=dark] .form-group.right-icon-field input.form-control.small{
    background-color: var(--tt-color-surfaceVariant) !important;
}
[data-theme=dark] .form-group.right-icon-field:after {
    color: var(--tt-color-surface-white);
}
[data-theme=dark] .dfilter .fs100 .filter-section > span,
[data-theme=dark] .checkbox-wrap small.label-text{
    color: var(--tt-color-surface-white);
}


@media (max-width:991px) {
    .filter-wrapper.device-filter .filter-body .filter-form .link{
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .dfilter .filter-wrapper .filter-form .form-group{
        width: 100%;
        max-width: 100%;
        gap: 8px;
        flex-direction: row-reverse;
    }
    .dfilter .filter-wrapper .filter-form .form-group .select2-container{
        max-width: 100%;
        width: 100%;
    }
    .dfilter .filter-wrapper .filter-form .rspfd{
        padding: 13px 16px;
        border: 0.5px solid #A5B2C3;
        background: #FFFFFF66;
        border-radius: 1000px;
        max-height: 44px;
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }
    .dfilter .filter-wrapper .filter-form .rspfd span{
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
        color: #002855;
    }
    .dfilter .filter-wrapper .filter-form .rspfd::after{
        content: url('https://bireysel.turktelekom.com.tr/PublishingImages/icons/grey-filter-icon.svg');
        width: 24px;
        height: 24px;
    }

    
    .dfilter .panel.panel-white{
        display: none;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        transform: unset;
        z-index: 10000;
        background-color: #FFF;
    }
    .dfilter .panel.panel-white.active{
        display: block!important;
    }
    .filter-panel-form .filter-header{
        text-align: center;
        padding: 20px;
        position: relative;
        border-bottom: 1px solid #dee3ed;
    }
    .filter-panel-form .filter-header i{
        font-size: 16;
        font-size: 2rem;
        position: absolute;
        right: 12px;
        top: 50%;
        margin-top: -16px;
    }
    .filter-panel-form .filter-header i::before{
        color: #222943;
    }
    .filter-panel-form .filter-content{
        padding: 10px 20px;
        height: calc(100dvh - 135px);
        overflow-y: auto;
    }
    .filter-panel-form .filter-content .btn-group-wrap{
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px 0;
        box-shadow: 0 -6px 25px 0 rgba(145, 158, 186, 0.3);
        margin: 0;
        z-index: 99;
        background: white;
        height: 76px;
        padding: 16px;
        flex-direction: row;
    }
    .filter-panel-form .filter-content .btn-group-wrap .btn.btn-secondary-icon span{
        color: #222943;
    }

    .card-filter-results{
        padding-right: 0!important;
    }

    [data-theme="dark"] .dfilter .panel.panel-white.active {
        background-color: var(--tt-color-surface-on-surface);
    }
    [data-theme="dark"] .filter-panel-form .filter-header i::before{
        color: var(--tt-color-surface-white);
    }
    [data-theme="dark"] .dfilter .filter-wrapper .filter-form .rspfd {
        background-color: var(--tt-color-surfaceVariant);
        color: var(--tt-color-surface-white) !important;
    }
    [data-theme="dark"] .dfilter .filter-wrapper .filter-form .rspfd span{
        color: var(--tt-color-surface-white) !important;
    }
    [data-theme="dark"] .dfilter .filter-wrapper .filter-form .rspfd::after{
        filter: brightness(3);
    }
    [data-theme="dark"] .filter-panel-form .filter-content .btn-group-wrap button{
        background-color: var(--tt-color-base-primary) !important;
        color: var(--tt-color-surface-white) !important;
    }
    [data-theme="dark"] .filter-panel-form .filter-content .btn-group-wrap button span{
        color: var(--tt-color-surface-white) !important;
    }
    
}