/* Filter Card */
.filter-card {
    background: #f3f3f3;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 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;
}

.filter-info {
    font-size: 0.75rem;
    font-weight: 500;
}

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

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

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

.dark-mode .filter-info {
    color: #fff !important;
}

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

.order-filter {
    width: auto;
    padding: 0.3rem 0.6rem;
}

.order-filter-ordering {
    width: auto;
    padding: 0.3rem 0.5rem;
}

.week-filter-preset {
    width: auto;
    padding: 0.3rem 0.6rem;
}

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

.week-filter:active,
.order-filter:active,
.order-filter-ordering:active,
.week-filter-preset:active {
    transform: translateY(0);
}

.difficulty-filter {
    width: 50px;
}

.difficulty-filter.difficulty-filter-1 {
    background: #375523;
    border-color: #375523;
    color: white;
}

.difficulty-filter.difficulty-filter-2 {
    background: #01fc7a;
    border-color: #01fc7a;
    color: black;
}

.difficulty-filter.difficulty-filter-3 {
    background: #e7e7e7;
    border-color: #e7e7e7;
    color: black;
}

.difficulty-filter.difficulty-filter-4 {
    background: #ff1751;
    border-color: #ff1751;
    color: white;
}

.difficulty-filter.difficulty-filter-5 {
    background: #80072d;
    border-color: #80072d;
    color: white;
}

.difficulty-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

div.fixture-ticker-fixture.hidden .fixture-ticker-fixture-inner {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
    opacity: 0.1;
}

.order-filter-ordering {
    width: 60px;
}

.week-filter {
    width: 40px;
}

.week-filter-preset {
    width: 70px;
}

.difficulty-filter.hidden,
.week-filter.hidden,
.order-filter.hidden,
.order-filter-ordering.hidden,
.week-filter-preset.hidden {
    opacity: 0.4;
    filter: grayscale(60%);
}

.dark-mode .week-filter,
.dark-mode .order-filter,
.dark-mode .order-filter-ordering,
.dark-mode .week-filter-preset {
    background: #324064;
    border-color: #3d4f73;
    color: #ffffff;
}

.dark-mode .week-filter:hover,
.dark-mode .order-filter:hover,
.dark-mode .order-filter-ordering:hover,
.dark-mode .week-filter-preset:hover {
    background: #00ff87;
    border-color: #00ff87;
    color: #1e2938;
}

#fixture-ticker td.hidden,
#fixture-ticker th.hidden {
    display: none;
}

#fixture-ticker {
  overflow-x: auto;
  width: 100%;
}

#club-strength table,
#fixture-ticker table {
    table-layout: fixed;
    width: auto;
    min-width: max-content;
}

#club-strength th,
#fixture-ticker th {
    background: white;
}

#club-strength th,
#club-strength td {
    text-align: center;
}

.sticky-col {
  position: sticky;
  left: 0;
  background: white !important;
  z-index: 2;
  white-space: nowrap;
  background-clip: padding-box;
}

thead .sticky-col {
  z-index: 3;
}

.club-cell {
  min-width: 180px;
}

.club-cell img {
  cursor: pointer;
}

.club-header {
  text-align: left;
}

#club-strength input {
    width: 75px;
    text-align: center;
}

.dark-mode #club-strength input {
    background: #324064;
    color: white;
}

.dark-mode #club-strength th,
.dark-mode #fixture-ticker th {
    background-color: #16213b !important;
}
