/* Contenitore flessibile */
.trz_custom-filters-wrapper{
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 100;
    justify-content: end;
}

/* La Select Custom */
.trz_custom-select{
    position: relative;
    width: 200px;
    user-select: none;
}

/*I testi*/
.trz_custom-select,
.trz_select-trigger,
.trz_option{
    font-family: var(--fontTexts);
    font-weight: 400;
    font-size: 16px;
    color: var(--bluLogo);
}

/* Il bottone visibile */
.trz_select-trigger{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--bluLogo);
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

/* La freccina */
.trz_arrow-down{
    font-size: 14px;
    color: var(--redLogo);
}

/* La lista opzioni (dropdown) */
.trz_select-options{
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--bluLogo);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    max-height: 300px;
    overflow-y: auto;
    z-index: 101;
}

/* Stato APERTO */
.trz_custom-select.trz_open .trz_select-options{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Singola opzione */
.trz_option{
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--bluLogo);
}

.trz_option:last-child{
    border-bottom: none;
}

.trz_option:hover{
    background-color: rgba(0, 40, 87, 0.2);
}

.trz_option.trz_selected{
    background-color: rgba(0, 40, 87, 0.2);
    font-weight: bold;
    color: var(--bluLogo);
}

/*NO RESULTS*/
.trz_partiteMese__noResultsContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.trz_partiteMese__noResultsText{
    font-size: 22px;
    font-weight: 600;
    color: var(--bluLogo);
}

/* --- MOBILE --- */
@media(max-width: 991px){
    /*Filters*/
    .trz_custom-filters-wrapper{
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }
    .trz_custom-select{
        width: 100%;
    }
}