.form-section { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.section-label { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: 4px; }
.form-group { display: flex; flex-direction: column; gap: 7px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary); display: block; }
.field-error { font-size: 0.75rem; font-weight: 500; color: var(--border-error); display: none; margin-top: 2px; }
.field-error.active { display: block; }

input {
  width: 100%; height: 50px; background-color: var(--bg-input); border: 1.5px solid var(--border-input);
  border-radius: var(--radius-input); padding: 0 16px; font-size: 0.9375rem; color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}
input::placeholder { color: var(--text-muted); }
input:hover { border-color: var(--text-muted); }
input:focus { border-color: var(--border-focus); box-shadow: var(--shadow-input-focus); background-color: var(--bg-card); }
input.input-error { border-color: var(--border-error); }

select {
  width: 100%; height: 50px; background-color: var(--bg-input); border: 1.5px solid var(--border-input);
  border-radius: var(--radius-input); padding: 0 16px; font-size: 0.9375rem; color: var(--text-main);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 42px;
}
select:hover { border-color: var(--text-muted); }
select:focus { border-color: var(--border-focus); box-shadow: var(--shadow-input-focus); }

.method-note { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.5; }

.btn-primary {
  width: 100%; height: 54px; background-color: var(--action-primary); color: var(--text-on-primary);
  border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-btn); margin-top: 18px;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-primary:hover:not(:disabled) { background-color: var(--action-primary-hover); transform: translateY(-1px); box-shadow: 0 14px 28px -6px rgba(37,99,235,0.42); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.btn-primary.btn-success { background-color: var(--status-success); opacity: 1; box-shadow: none; transform: none; }
.btn-secondary {
  height: 50px; background-color: var(--action-primary); color: var(--text-on-primary);
  border-radius: var(--radius-input); padding: 0 20px; font-size: 0.875rem; font-weight: 600; white-space: nowrap;
  transition: background-color var(--transition-fast);
}
.btn-secondary:hover { background-color: var(--action-primary-hover); }

.pix-result { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 18px; }
.qr-wrapper {
  background-color: #FFF; border: 1px solid var(--border-color); border-radius: 16px; padding: 16px;
  box-shadow: var(--shadow-elevated); position: relative; display: flex; align-items: center; justify-content: center;
}
.qr-image { width: 170px; height: 170px; }
.qr-loader {
  display: none; width: 32px; height: 32px; border: 3px solid var(--border-color);
  border-top-color: var(--brand-primary); border-radius: 50%; animation: spin 0.8s linear infinite; position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pix-copy-group { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.copy-input-wrapper { display: flex; gap: 8px; }
.copy-input-wrapper input { font-size: 0.8125rem; color: var(--text-secondary); background-color: var(--bg-summary); }
.pix-status-tracker { display: inline-flex; align-items: center; gap: 8px; background-color: var(--bg-summary); border: 1px solid var(--border-color); padding: 8px 14px; border-radius: 20px; }
.status-pulse { width: 8px; height: 8px; border-radius: 50%; background-color: var(--status-warning); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); } 70% { transform: scale(1); } 100% { transform: scale(0.95); } }
.status-text { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }

.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; margin-top: 4px; }
.checkbox-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand-primary); cursor: pointer; flex-shrink: 0; }
.checkbox-row--termos { margin-top: 24px; align-items: flex-start; font-size: 0.75rem; color: var(--text-muted); }
.checkbox-row--termos a { color: var(--action-primary); text-decoration: underline; }
