/* Order Inputs: number input with arrows component, field input,
   CTA button, position color helpers */

/* ─── Number input with arrows ────────────────────────────────── */
.num-input-wrap {
  position: relative;
  width: 100%;
}
.num-input-wrap input,
.num-input-wrap .tpsl-input { padding-right: 32px; width: 100%; }
.num-input-arrows {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.num-arrow {
  width: 22px;
  height: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.num-arrow.up { border-radius: 3px 3px 0 0; }
.num-arrow.down { border-radius: 0 0 3px 3px; }
.num-arrow:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.num-arrow:focus { outline: none; }
.num-input-wrap input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* ─── Field input (generic) ───────────────────────────────────── */

.field input {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 14px;
  font-size: 13px;
}

/* ─── CTA button ──────────────────────────────────────────────── */

.cta {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
}

/* ─── Position color helpers ──────────────────────────────────── */

.pos-long { color: var(--green); }

.pos-short { color: var(--red); }
