/* ==========================================================================
   Send assets page (send.html)
   ========================================================================== */

/* stepper */
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--faint);
}
.step-dot {
  display: grid;
  place-items: center;
  height: 28px;
  width: 28px;
  border-radius: 9999px;
  background: #f1f3f6;
  font-size: 13px;
  font-weight: 700;
  color: var(--mut);
  transition:
    background 0.2s,
    color 0.2s;
}
.step.on {
  color: var(--ink);
}
.step.on .step-dot {
  background: var(--ink);
  color: #fff;
}
.step.done {
  color: var(--ink);
}
.step.done .step-dot {
  background: var(--brand);
  color: #fff;
}
.step-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 12px;
}
@media (max-width: 575.98px) {
  .step:not(.on) .step-label {
    display: none;
  }
}

/* asset dropdown */
.send-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.15s,
    transform 0.15s,
    visibility 0.15s;
}
.send-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* network options */
.net-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.net-opt:hover {
  border-color: #d0d6df;
}
.net-opt.on {
  border-color: var(--ink);
  background: #f6f7f9;
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* text fields */
.send-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 8px 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.send-field:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 20, 27, 0.06);
}
.send-field input:focus {
  outline: none;
}

/* primary action */
.send-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  border-radius: 9999px;
  background: #0b0b0c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition:
    background 0.15s,
    opacity 0.15s,
    transform 0.15s;
}
.send-cta:hover:not(:disabled) {
  background: #232c38;
}
.send-cta:active:not(:disabled) {
  transform: scale(0.99);
}
.send-cta:disabled {
  background: #d0d6df;
  color: #fff;
}

/* verification code */
#otp input {
  width: 46px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
#otp input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 20, 27, 0.06);
}
@media (max-width: 399.98px) {
  #otp input {
    width: 40px;
    height: 50px;
    font-size: 20px;
  }
}

.send-spin {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: sendSpin 0.8s linear infinite;
}
@keyframes sendSpin {
  to {
    transform: rotate(360deg);
  }
}

.send-toast {
  animation: fadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 767.98px) {
  .send-cta {
    height: 46px;
    font-size: 14.5px;
  }
}

