/* =========================================================
   05-forms.css — Inputs, Labels, Form Actions, Toggles
========================================================= */

.form {
  display: block;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  outline: none;
  background: var(--card);
  color: var(--text);
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.type-toggle-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.type-toggle-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: transform 0.16s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.type-toggle-btn:active {
  transform: scale(0.98);
}

.type-toggle-btn.active.gave {
  background: rgba(53, 194, 107, 0.16);
  color: #35c26b;
  border-color: rgba(53, 194, 107, 0.34);
  box-shadow: 0 0 0 1px rgba(53, 194, 107, 0.12) inset, 0 6px 16px rgba(53, 194, 107, 0.1);
}

.type-toggle-btn.active.received {
  background: rgba(255, 107, 107, 0.16);
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.34);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.12) inset, 0 6px 16px rgba(255, 107, 107, 0.1);
}

.type-toggle-icon {
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.currency-inline-picker{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
}

.currency-choice-btn{
  min-height:48px;
  padding:12px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.06);
  color:var(--text);
  font-size:15px;
  font-weight:800;
  text-align:center;
}

.currency-choice-btn.active{
  background:rgba(76,141,255,0.18);
  border-color:rgba(76,141,255,0.34);
  box-shadow:0 0 0 1px rgba(76,141,255,0.12) inset, 0 6px 16px rgba(76,141,255,0.10);
}