.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}

.spinner-container {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 4px; /* optional: adds spacing between value and spinner */
  }

  .select-with-spinner {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  
  .select-with-spinner select {
    width: 100%;
    padding-right: 30px; /* leave room for spinner */
  }

  .spinner {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    pointer-events: none; /* let clicks go to the select */
  }