.bonusGamesPage .search__main,
.hiddenSearchBlock .search__main {
    display: none;
}

.search__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #13212d;
    padding: 20px;
    border-radius: 20px;
    gap: 30px;
}

.search__container {
    flex: 1;
    max-width: 55%;
    display: flex;
    align-items: center;
}

.search__main .search-input {
    width: 100%;
    max-width: 100%;
    border: 2px solid #70828f;
    border-radius: 18px;
    box-shadow: none;
    padding: 10px 35px 10px 10px;
    font-size: 14px;
    color: #fff;
    background-color: #1b2b38;
    margin: 0;
    background-image: url(/storage/icons/main/search-white.svg);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 98% 50%;
    position: relative;
    display: flex;
    align-items: center;
    outline: none;
}

.wrapper-search-section li {
    list-style: none;
}

.wrapper-search-section input[type=checkbox] {
    display: none;
}

.search__dropdown-content {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.search__dropdown-content.active {
    display: flex;
}

.search__dropdown-content:after {
    align-items: flex-start;
}

.flex {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.dropdown-item {
    width: calc((100% - 80px) / 5);
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 5px;
}

.dropdown-item-label {
    padding: 15px 0;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    border-bottom: 2px solid rgba(212, 225, 245, .2);
}

.search__bonus-games-label .checkbox,
.dropdown-item .checkbox {
    border: 2px solid rgba(212, 225, 245, .2);
    border-radius: 4px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type=checkbox]:checked + .color-yellow,
.color-yellow.active {
    color: #dafe31;
}

input[type=checkbox]:checked + .color-yellow .checkbox {
    border: 2px solid #dafe31;
}

input[type=checkbox]:checked + .color-yellow svg {
    stroke: #dafe31;
    stroke-width: 3px;
    width: 9px;
}

.count-games__section {
    display: flex;
    width: fit-content;
    text-align: center;
    margin: 20px auto 0;
    font-size: 16px;
    flex-wrap: wrap;
    gap: 5px;
}

.count-games__section .count-games__progress_bar {
    flex: 1 1 100%;
    background: rgba(212, 225, 245, .2);
    border-radius: 4px;
}

.count-games__section .progress {
    background: #dafe31;
    border-radius: 4px;
    height: 4px;
}

.hidden {
    display: none;
}

.dropdown-item-label :not(input) {
    pointer-events: none;
}

@media (min-width: 1025px) {
    input[type=checkbox]:checked + .dropdown-item-label {
        font-weight: 700;
        border-bottom: 2px solid #dafe31;
    }
}

@media (max-width: 1024px) {
    .search__main {
        background: none;
        padding: 0;
        gap: 20px 0;
    }

    .search__container {
        width: 100%;
        max-width: 100%;
        flex: auto;
    }

    .search__providers-toggle,
    .search__categories-toggle {
        width: calc((100% - 20px) / 2);
        padding: 10px 15px;
        background-color: #13212d;
        border-radius: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .dropdown-item {
        width: 47%;
        text-align: center;
        justify-content: center;
        align-items: center;
        border: none;
    }

    .dropdown-item-label {
        border-radius: 10px;
        padding: 7px 5px;
        text-align: center;
        justify-content: center;
        align-items: center;
        border: 2px solid rgba(212, 225, 245, .2);

    }

    .search__dropdown-content {
        justify-content: space-between;
        gap: 10px 20px;
    }

    .dropdown-item.active {
        border: 2px solid #dafe31;
        color: #FFFFFF;
    }

    .dropdown-item .checkbox {
        display: none;
    }

    input[type=checkbox]:checked + .dropdown-item-label {
        color: #FFFFFF;
        border-color: #dafe31;
    }
}

@media (hover: hover) {
    .color-yellow:hover {
        color: #dafe31;
    }

    .dropdown-item-label:hover {
        border-color: transparent;
    }

    @media (max-width: 767px) {
        .dropdown-item:hover {
            border-color: #dafe31;
        }
    }
}
