body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    gap: 10px;
}

.main-wins {
    position: relative;
    padding-top: 40px !important;
}

.main-wins-header {
    position: absolute;
    width: 100%;
    background: linear-gradient(to bottom,
            rgba(22, 29, 38, 1) 30%,
            rgba(22, 29, 38, 0.5) 60%,
            rgba(22, 29, 38, 0.0) 100%);
    height: 40px;
    color: #e0f2fe;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px;
    padding-left: 10px;
    font-size: 12px;
    color: var(--help-color);
    border-radius: 10px;
}

.slider-group-container {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
}

.slider-group-container.title {
    width: 100%;
    text-align: left;
    border-radius: 7px;
    color: var(--brand-color);
    opacity: 0.6;
}

.slider-group-container .result-filter {
    margin-top: 10px;
    justify-content: center;
}

.slider-label-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    color: var(--text-color);
    font-size: 14px;
}

.slider-label-container>span {
    max-width: 255px;
}

.slider-label-container>div {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    right: 0;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--container-bg);
    border-radius: 4px;
    border: 1px solid var(--btn-bg);
    justify-content: center;
}

.value-input {
    background: transparent;
    border: none;
    color: var(--brand-color);
    width: 45px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.value-select {
    display: block;
    margin: auto;
    background: #151f38;
    border: 1px solid var(--track-color);
    color: var(--brand-color);
    width: 80%;
    height: 40px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    outline: none;
    margin-top: 5px;
    border-radius: 6px;
    min-width: 220px;
}

.value-input::-webkit-outer-spin-button,
.value-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.spin-btn {
    background: var(--btn-bg);
    color: white;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    cursor: pointer;
    display: none;
    /* توسط جی‌کوئری هندل می‌شود */
    align-items: center;
    justify-content: center;
}

.spin-btn:hover {
    background: var(--brand-color);
    color: var(--bg-color);
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--track-color);
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--brand-color);
    border-radius: 50%;
    cursor: pointer;
}

.help-icon {
    display: none;
    width: 16px;
    height: 16px;
    background: var(--btn-bg);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 11px;
    text-align: center;
    line-height: 16px;
    cursor: pointer;
    margin-left: 8px;
    border: 1px solid var(--track-color);
    font-weight: bold;
    transition: all 0.2s;
}

.help-icon:hover {
    background: var(--brand-color);
    color: var(--bg-color);
}


.help-icon.active {
    display: inline-block;
}

.help-tooltip {
    display: none;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--container-bg);
    color: var(--text-color);
    border: 1px solid var(--brand-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 100;
    width: 80%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* scroll bar */
.theme-blue::-webkit-scrollbar {
    width: 10px;
}

.theme-blue::-webkit-scrollbar-track {
    background: var(--container-bg);
    border-radius: 5px;
}

.theme-blue::-webkit-scrollbar-thumb {
    background: var(--brand-color);
    border-radius: 5px;
}

.theme-blue::-webkit-scrollbar-thumb:hover {
    background: #1c7cff;
}

.theme-orange::-webkit-scrollbar {
    width: 10px;
}

.theme-orange::-webkit-scrollbar-track {
    background: var(--container-bg);
    border-radius: 5px;
}

.theme-orange::-webkit-scrollbar-thumb {
    background: var(--brand-color);
    border-radius: 5px;
}

.theme-orange::-webkit-scrollbar-thumb:hover {
    background: #ffb64d;
}

.theme-blue {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-color) var(--container-bg);
}

.theme-orange {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-color) var(--container-bg);
}