.input-range { border: var(--border-in-light); border-radius: 10px; padding: 5px 15px 5px 10px; font-size: 12px; display: flex; max-width: 40%; input[type="range"] { max-width: calc(100% - 50px); } }