@use '../utils' as *;

/*=============================
    10. Select2 CSS
===============================*/
.tgmenu__search-form {
    & .select2-container {
        margin-left: -17px;
    }
    & .select2-container .select2-selection--single .select2-selection__rendered {
        padding-left: 15px;
        padding-right: 18px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 0.10rem center;
        background-size: 16px 12px;
        font-size: 14px;
        color: var(--tg-body-color);
        font-weight: 500;
    }
    & .select2-container .select2-selection--single {
        height: auto;
    }
}
.course-category-dropdown {
    background: var(--tg-color-white-default);
    border: 1px solid var(--tg-border-2);
    margin: 0 0;
    & .select2-results__options {
        margin-top: 7px;
    }
    & .select2-results__option {
        padding: 1px 10px;
        @include transition(.3s);
    }
    & .select2-results__option--selectable {
        &:hover {
            background: var(--tg-theme-primary);
            color: var(--tg-color-white-default);
        }
    }
}