.atx_filter_wrapper{
    position: relative;
}
.atx_buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.atx_filter_button{
    padding: 10px 16px;
    background-color: #1B293F!important;
    color:#ACB2BB!important;
    font-weight: 500!important;
    border-radius: 50px;
    border: 0px solid red!important;
    font-size: 16px;
    cursor: pointer;
}
.atx_filter_button:hover{
    color: white!important;
    background-color: #000c22!important;
}
.atx_filter_button.atx_filter_active {
    background-color: white!important;
    color: #00133f!important;
}

/* Dropdown toggle button, hidden on desktop */
.atx_filter_toggle{
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background-color: #1B293F!important;
    color: #ACB2BB!important;
    font-weight: 500!important;
    border-radius: 8px;
    border: 0!important;
    font-size: 16px;
    cursor: pointer;
}
.atx_filter_toggle:hover{
    color: white!important;
}
.atx_filter_toggle[aria-expanded="true"] .atx_filter_toggle_icon{
    transform: rotate(180deg);
}
.atx_filter_toggle_icon{
    display: inline-block;
    transition: transform 0.2s ease;
}

@media (max-width: 991px){
    .atx_filter_toggle{
        display: flex;
    }
    .atx_buttons{
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        z-index: 100;
        background-color: #1B293F;
        border-radius: 8px;
        padding: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }
    .atx_buttons.atx_buttons_open{
        display: flex;
    }
    .atx_filter_button{
        width: 100%;
        border-radius: 6px;
        text-align: left;
    }
}
