.stats-list {
    margin-top: 15px;
}

.stats-list img {
    width: 25px;
    margin-right: 5px;
}

.stats-list th.name,
.stats-list td.name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 200px;
    max-width: 200px;
    width: 200px;
}

.stats-list th.stat,
.stats-list td.stat {
    min-width: 75px;
    max-width: 75px;
}

/* Filter Card */
.filter-card {
    background: #f3f3f3;
    border-radius: 5px;
    padding: 1.5rem;
}

.filter-content {
    display: block;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.filter-label i {
    color: #660A4D;
}

/* Week Preset Buttons */
.week-preset-chips {
    margin-bottom: 0.5rem;
}

.week-preset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid #e0e7ed;
    padding: 0.4rem 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    background: #f8f9fa;
    color: #2c3e50;
}

.week-preset-btn:hover {
    background: #660A4D;
    border-color: #660A4D;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 10, 77, 0.2);
}

.week-preset-btn:active {
    transform: translateY(0);
}

.btn-info {
    background: linear-gradient(135deg, #660A4D 0%, #37003c 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: linear-gradient(135deg, #37003c 0%, #660A4D 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 10, 77, 0.3);
}

/* Ensure bootstrap multiselect is visible */
.multiselect-container {
    z-index: 1000;
}

.multiselect {
    display: inline-block !important;
    width: 100%;
}

/* Bootstrap 5 compatibility for multiselect dropdown */
.btn-group.show .dropdown-menu {
    display: block;
}

.multiselect-container > li > a {
    padding: 5px 10px;
}

/* Style the multiselect button */
.multiselect {
    text-align: left;
}

.multiselect .caret {
    float: right;
    margin-top: 8px;
}

/* Dark Mode */
.dark-mode .filter-card {
    background: #324064;
    border-color: #3d4f73;
}

.dark-mode .filter-label {
    color: #ffffff;
}

.dark-mode .filter-label i {
    color: #00ff87;
}

.dark-mode .btn-info {
    background: #1e2938;
}

.dark-mode .btn-info:hover {
    background: #2a3f5f;
}

.dark-mode .week-preset-btn {
    background: #324064;
    border-color: #3d4f73;
    color: #ffffff;
}

.dark-mode .week-preset-btn:hover {
    background: #00ff87;
    border-color: #00ff87;
    color: #1e2938;
}

/* Table Arrows */
.arrow {
    display: inline-block;
    transform: rotate(180deg);
    vertical-align: text-top;
}

.arrow.asc {
    vertical-align: text-bottom;
    transform: rotate(0deg);
}

.dark-mode .choices[data-type*=select-one] .choices__input,
    display: inline-block;
    transform: rotate(180deg);
    vertical-align: text-top;
}

.arrow.asc {
    vertical-align: text-bottom;
    transform: rotate(0deg);
}

.stats-list td a,
.stats-list th a {
    color: black;
}
.stats-list .price {
    display: inline-block;
    width: 35px;
    text-align: center;
}

.dark-mode .choices[data-type*=select-one] .choices__input,
.dark-mode .stats-list td a,
.dark-mode .stats-list th a {
    color: white;
}

.dark-mode .choices__list,
.dark-mode .choices__input,
.dark-mode .choices__inner {
    background: #16213B;
}

.dark-mode .choices[data-type*=select-one] .choices__input,
.dark-mode .choices__list--dropdown .choices__item--selectable.is-highlighted,
.dark-mode .choices__list .choices__item:hover {
    background: #324064;
}

.dark-mode .choices[data-type*=select-one]::after,
.dark-mode .choices__button {
    display: none;
}
