.price-currency-wrapper {
  display: flex;
  gap: 5px;
  align-items: center;
}

.price-currency-wrapper input {
  flex: 1;
}

.price-currency-wrapper select {
  flex: 0 0 60px;
}

.item-price {
  font-variant-numeric: tabular-nums;
}

input.item-price {
  width: 80px;
  padding: 4px 8px;
  font-size: 1rem;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  text-align: right;
  appearance: textfield;
}

input.item-price::-webkit-outer-spin-button,
input.item-price::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.item-price[type="number"] {
  appearance: none;
  -moz-appearance: textfield;
}

.custom-file-upload {
  display: none;
}

.custom-file-label {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 1rem;

  background-color: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  box-sizing: border-box;

  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s, border-color 0.3s, transform 0.1s;
}

.custom-file-label:hover {
  background-color: var(--input-hover-bg);
  border-color: var(--button-bg-hover);
}

.custom-file-label:active {
  transform: scale(0.97);
}

#file-label-text {
  pointer-events: none;
}