/* Reuse shared Crypto Tax styles */
@import url("/widgets/simulators/crypto-tax-simulator/crypto-tax-fr-en/style.css");


/* Hide native numeric arrows */
.crypto-tax-input::-webkit-outer-spin-button,
.crypto-tax-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.crypto-tax-input[type=number] {
  -moz-appearance: textfield;
}


.crypto-tax-max-wrapper {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 1;
}

.crypto-tax-max-button {
  font-size: 10px;
  color: var(--waltio-purple);
  text-transform: uppercase;
  background: var(--waltio-purple-light);
  border: 1px solid var(--waltio-purple);
  padding: 2px 6px;
  border-radius: 4px;
  margin: 0;
  cursor: pointer;
  font-weight: 700;
  pointer-events: all;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1;
}

.crypto-tax-max-button:hover {
  background: var(--waltio-purple);
  color: var(--waltio-white);
}

.crypto-tax-max-wrapper .crypto-tax-currency {
  position: static;
  color: var(--waltio-text-grey-2);
  font-weight: 600;
  font-size: 14px;
}
