#tickets {
    padding: 40px 15px;
}

#ticketsWrap {
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transition: .3s ease;
}

#ticketsWrap.active {
    opacity: 1;
}


#ticketsFilter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px auto 20px
}

.ticketsFilterLabel {
    display: flex;
}

.ticketsFilterLabelInput {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ticketsFilterLabelBody {
    width: 100%;
    padding: 8px 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
    border-bottom: 1px solid transparent;
    color: var(--black);
    opacity: .7;
    cursor: pointer;
    transition: .3s ease;
}

.ticketsFilterLabelBody svg {
    height: 20px;
    width: auto;
}

.ticketsFilterLabelBody:hover {
    cursor: pointer;
}

.ticketsFilterLabelInput + .ticketsFilterLabelBody {
    transition: .5s ease;
}

.ticketsFilterLabelInput:checked + .ticketsFilterLabelBody {
    opacity: 1;
    border-bottom: 1px solid var(--black);

}

#ticketsTable {
    margin-top: 16px;
    border-collapse: collapse;
    font-size: 15px;
    width: 100%;
    border-bottom: 2px solid var(--red);
}

#ticketsTable thead tr {
    background-color: var(--red);
    color: white;
    font-weight: 700;
}

#ticketsTable td {
    padding: 8px 15px;
}

#ticketsTable tr {
    background-color: white;
}

#ticketsTable tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}


#ticketsTable a {
    color: var(--red);
}

#ticketsTable a:hover {
    text-decoration: underline;
}

#ticketsTable .empty {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
}

.ticketsTableSmall {
    font-size: 12px;
}

@media (max-width: 1000px) {
    #ticketsTable {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    #ticketsTable td,
    #ticketsTable th {
        white-space: nowrap;
    }

}