.wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillsOuter {
  display: none;
  gap: 6px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tag {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.apr {
  font-size: 14px;
  color: var(--success);
  background: rgba(38, 161, 123, 0.12);
  border: 1px solid rgba(38, 161, 123, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pillsInner {
  display: flex;
  gap: 6px;
}

.pill {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  transition: all 0.2s;
}

.pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.13);
}

.mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.input {
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  width: 100%;
  min-width: 0;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.token {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.balance {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.max {
  background: none;
  border: none;
  color: var(--interactive);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-sans);
  padding: 0;
}

.max:hover {
  text-decoration: underline;
}

.hint {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--error);
  font-weight: 600;
  line-height: 1.4;
}

.stakeBtn {
  margin-top: 18px;
}

.stakeBtnDisabled {
  opacity: 0.45;
}

@media (max-width: 650px) {
  .card {
    padding: 16px;
  }

  .input {
    font-size: 32px;
  }

  .pillsOuter {
    display: flex;
  }

  .pillsInner {
    display: none;
  }
}
