.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-range {
    flex-grow: 1;
    cursor: pointer;
    transition: none !important; /* No transitions for instant theme switching - only for sliders */
}

.form-range:disabled::-webkit-slider-thumb {
    background-color: #ccc;
}

.slider-output {
    font-weight: 600;
    width: auto;
    min-width: 35px;
    text-align: left;
    font-size: 0.95rem;
    font-family: sans-serif;
    color: #333;
}

.filter-green { filter: hue-rotate(125deg) saturate(1.2) brightness(1.1); }
.filter-cyan { filter: hue-rotate(215deg) saturate(1.2) brightness(1.1); }
.filter-blue { filter: hue-rotate(255deg) saturate(1.2) brightness(1.1); }
.filter-red { filter: hue-rotate(0deg) saturate(1.2) brightness(1.1); }
.filter-pink { filter: hue-rotate(300deg) saturate(1.2) brightness(1.1); }

.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

:root {
    --fx-noise: none !important;
}

/* Page transition overlay for smoother tournament switching */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 9999;
    pointer-events: none;
    transition: background-color 0.3s ease;
    display: none;
}

/* Improve tournament selector dropdown appearance */
#tournamentDropdown a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make tournament selection smoother */
html.loading-tournament {
    cursor: wait;
}

html.loading-tournament * {
    pointer-events: none;
}