/* ============================================
   EasyPay Dashboard — Components v2
   ============================================ */

/* ============================================
   Balance Card — Section Header
   ============================================ */

.bc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bc-section-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bc-section-updated {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
  text-transform: none;
}

/* ============================================
   Balance Card — Total Amount
   ============================================ */

.bc-total {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.bc-amount {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-right: 2px;
}

.bc-amount-cents {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}

.bc-total-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

.bc-total-partner {
  color: var(--text-secondary);
}

/* ============================================
   Currency Rows (non-interactive)
   ============================================ */

.cur-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 0.5px solid var(--border);
}

.row-list > .cur-row:first-child {
  border-top: none;
}

.cur-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
  font-size: 15px;
}

.cur-row-icon svg { width: 18px; height: 18px; }

.cur-row-body { flex: 1; min-width: 0; }

.cur-row-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
}

.cur-row-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.cur-row-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.cur-row-value-group {
  text-align: right;
}

.cur-row-equiv {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.row-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ============================================
   Section Headers (inside actions card)
   ============================================ */

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.section-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   Action Rows (tappable, with chevron)
   ============================================ */

.act-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 0.5px solid var(--border);
  cursor: pointer;
  transition: background var(--ease);
}

.row-list > .act-row:first-child {
  border-top: none;
}

.act-row:hover { background: var(--surface-hover); }

.act-row:active {
  transform: scale(0.99);
  transition: transform 80ms ease;
}

.act-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-bg);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.act-row-icon svg { width: 18px; height: 18px; }

.act-row-body { flex: 1; min-width: 0; }

.act-row-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
}

.act-row-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.act-row-chevron {
  color: var(--text-tertiary);
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity var(--ease), transform var(--ease);
}

.act-row:hover .act-row-chevron {
  opacity: 0.7;
  transform: translateX(2px);
}

.act-row-chevron svg { width: 16px; height: 16px; }

/* ── Payout gold accent ── */
.act-row.gold {
  background: linear-gradient(135deg, rgba(212,175,55,0.03), rgba(212,175,55,0.06));
  border: 1px solid rgba(212,175,55,0.10);
}

.act-row.gold:hover {
  background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(212,175,55,0.10));
  border-color: rgba(212,175,55,0.20);
}

.act-row.gold .act-row-icon {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.18));
  color: var(--gold);
}

.act-row.gold .act-row-chevron { color: var(--gold); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
}

.btn svg { width: 16px; height: 16px; }

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,137,123,0.25);
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(0,137,123,0.35);
  transform: translateY(-1px);
}

.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-input);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Legacy — still used in some forms */
.btn-secondary {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-input);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-full-width {
  width: 100%;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   Forms
   ============================================ */

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.required-mark,
.required {
  color: var(--teal);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface-input);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color var(--ease), background var(--ease);
  outline: none;
  box-sizing: border-box;
}

/* Custom select dropdown arrow */
.form-group select {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23888' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  background-color: var(--surface-input);
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
  font-weight: 400;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--surface);
}

.field-hint {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* Test product checkbox */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: var(--surface-hover);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Legacy checkbox group (used in product-create) */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: var(--surface-hover);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  margin: 0;
}

/* Button Groups / Form Footer */
.button-group,
.form-footer {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.button-group .btn {
  flex: 1;
}

/* ============================================
   Screens & Forms (wizard steps)
   ============================================ */

.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeIn var(--ease);
}

.screen h2 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.screen-subtitle {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

/* ============================================
   Success Screen
   ============================================ */

.success {
  text-align: left;
  padding: 0;
  padding-top: 20px;
  animation: fadeIn var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Status header row: icon + status text + ID */
.success-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-status svg {
  flex-shrink: 0;
}

.success-status-text {
  font-size: 13px;
  font-weight: 500;
}

.success-status-text.status-done {
  color: var(--teal);
}

.success-status-text.status-pending {
  color: #BA7517;
}

.success-status-id {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: auto;
}

/* Main message block */
.success-main {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.success-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: -12px 0 0;
}

/* Buttons */
.success-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* Legacy success styles */
.success-checkmark {
  width: 48px;
  height: 48px;
  stroke: var(--teal);
  margin: 0 auto var(--spacing-sm);
}

.invoice-info {
  margin-bottom: var(--spacing-md);
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
   Error Messages
   ============================================ */

.error-message {
  background: #fef2f2;
  color: var(--error-color);
  padding: var(--spacing-sm);
  border-radius: var(--r-sm);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 14px;
  border: 1px solid rgba(229, 62, 62, 0.2);
}

.error-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   Loading States
   ============================================ */

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--surface-gray);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: var(--spacing-lg) auto;
}

/* ============================================
   Footer Link (Telegram Desktop)
   ============================================ */

.footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 0 8px 0;
  color: #9ca3af;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--teal);
}

.footer-link:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.footer-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   Payout — Currency Cards (selectable)
   ============================================ */

.currency-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.currency-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: var(--surface);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.currency-card:hover {
  border-color: rgba(0, 137, 123, 0.3);
  box-shadow: var(--shadow-sm);
}

.currency-card.selected {
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(0, 137, 123, 0.02), rgba(0, 137, 123, 0.06));
  box-shadow: 0 0 0 1px var(--teal);
}

.currency-card .item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.currency-card .item-icon .currency-symbol {
  font-size: 18px;
  font-weight: 600;
}

.currency-card .item-details {
  flex: 1;
}

.currency-card .item-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.currency-card .item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.currency-card .item-rate {
  font-size: 11px;
  color: var(--teal);
  margin-top: 2px;
}

/* EUR toggle row inside USD card */
.eur-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.eur-toggle-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.eur-toggle-label.active {
  color: var(--teal);
  font-weight: 600;
}

/* Toggle switch (iOS-style) */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 22px;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--teal);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(18px);
}

/* Toggle card — header with title + sub + toggle, optional body shown when toggle ON */
.tcard {
  background: var(--surface-light);
  border: 1px solid rgba(0, 50, 45, 0.12);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.tcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  cursor: pointer;
}
.tcard-titles {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tcard-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.3;
}
.tcard-sub {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.tcard-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tcard-body[hidden] { display: none; }
.tcard-body .form-group { margin-bottom: 0; }

/* Payment-methods groups inside customize tcard */
.pm-counter {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.pm-warning {
  display: block;
  color: var(--error-color);
  font-size: 13px;
  margin-bottom: 10px;
}
.pm-warning[hidden] { display: none; }
.pm-group {
  border-top: 1px solid var(--border);
}
.pm-group:first-of-type { border-top: none; }
.pm-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  user-select: none;
}
.pm-group-chevron {
  display: inline-block;
  width: 10px;
  color: var(--text-tertiary);
  font-size: 12px;
}
.pm-group.open .pm-group-chevron::before { content: '▾'; }
.pm-group:not(.open) .pm-group-chevron::before { content: '▸'; }
.pm-group-title {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}
.pm-group-counter {
  font-size: 13px;
  color: var(--text-secondary);
}
.pm-group-master {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--teal);
}
.pm-group-body {
  padding: 4px 0 12px 22px;
}
.pm-group:not(.open) .pm-group-body { display: none; }
.pm-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}
.pm-method input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--teal);
}
.pm-method label {
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  margin: 0;
}

/* Amount input with currency suffix */
.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input-wrapper input {
  flex: 1;
  padding-right: 48px;
}

.amount-currency-label {
  position: absolute;
  right: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  pointer-events: none;
}

/* ============================================
   Payout — Wizard
   ============================================ */

.payout-wizard {
  animation: fadeIn var(--ease);
}

.fund-source-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-sm);
  padding: var(--spacing-sm);
  margin-bottom: 12px;
}

.fund-source-card.fund-source-ok {
  border-color: rgba(76, 175, 80, 0.3);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.03), rgba(76, 175, 80, 0.06));
}

.fund-source-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.fund-source-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.fund-source-amount {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.fund-source-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.fund-source-deficit {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.04), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--r-sm);
  padding: var(--spacing-sm);
  margin-bottom: 12px;
}

.fund-source-deficit .fund-source-title {
  color: #B8860B;
}

.fund-source-deficit .fund-source-desc {
  margin-top: 6px;
  margin-bottom: 0;
}

/* ============================================
   Payout — Radio Cards
   ============================================ */

.radio-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--spacing-sm);
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--spacing-sm);
  background: var(--surface);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-card:hover {
  border-color: rgba(0, 137, 123, 0.3);
  box-shadow: var(--shadow-sm);
}

.radio-card:has(input:checked) {
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(0, 137, 123, 0.02), rgba(0, 137, 123, 0.05));
  box-shadow: 0 0 0 1px var(--teal);
}

.radio-card input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
}

.radio-card-content {
  flex: 1;
  min-width: 0;
}

.radio-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.radio-card-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.radio-card-amount {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.commission-est {
  font-size: 11px;
  color: var(--text-tertiary);
}

.radio-card-total {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--surface-gray);
}

/* ============================================
   Commission Tags
   ============================================ */

.commission-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.commission-tag.free {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
}

.commission-tag.fee {
  background: rgba(212, 175, 55, 0.12);
  color: #8B6914;
}

/* ============================================
   Review Summary
   ============================================ */

.review-summary {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
}

.review-row .review-label {
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
}

.review-row .review-value {
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  white-space: nowrap;
}

.review-row .review-value.highlight {
  color: var(--text-primary);
  font-size: 18px;
}

.review-row.review-total .review-label {
  font-weight: 700;
  color: var(--text-primary);
}

.review-row.review-total-header .review-value {
  font-size: 16px;
}

.review-row.review-commission {
  padding: 4px 0;
  font-size: 13px;
}

.review-row.review-commission .review-label {
  color: var(--text-tertiary);
  font-style: italic;
}

.review-row.review-total {
  padding-top: 12px;
}

.review-row.review-destination {
  padding: 6px 0;
}

.review-destination-text {
  font-size: 13px;
  font-weight: 400 !important;
  white-space: normal !important;
  max-width: 200px;
  line-height: 1.4;
}

.review-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-gray), transparent);
  margin: 2px 0;
}

/* ============================================
   Payout Disclaimer
   ============================================ */

.payout-disclaimer {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--surface-input);
  border-radius: var(--r-sm);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   Retry button
   ============================================ */

.btn-retry {
  padding: 12px 24px;
  background: var(--teal);
  color: var(--text-light);
  border: none;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-retry:hover {
  background: var(--primary-dark);
}

/* ============================================
   Balance loading/error/empty states
   ============================================ */

.balance-loading,
.balance-error {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
}

.balance-error h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.balance-error p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-md);
}

/* ============================================
   Recipient Pill (Quick Fill)
   ============================================ */

.recipient-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px dashed var(--border-input);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
  margin-bottom: 18px;
}

.recipient-pill:hover {
  border-color: var(--teal);
}

.recipient-pill.selected {
  border-style: solid;
  border-color: var(--teal);
  background: rgba(0, 137, 123, 0.03);
}

.recipient-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.recipient-pill-icon svg { width: 18px; height: 18px; }

.recipient-pill-body { flex: 1; min-width: 0; }

.recipient-pill-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.recipient-pill-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.recipient-pill-chevron {
  font-size: 20px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  line-height: 1;
}

.recipient-pill-clear {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--ease);
}

.recipient-pill-clear:hover { color: var(--text-primary); }

/* ============================================
   Recipient Avatar
   ============================================ */

.recipient-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================
   Bottom Sheet
   ============================================ */

.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.bottom-sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  max-height: 70vh;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
  display: flex;
  flex-direction: column;
}

.bottom-sheet-overlay.active .bottom-sheet {
  transform: translateX(-50%) translateY(0);
}

.bottom-sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--border-input);
  border-radius: 2px;
  margin: 8px auto;
}

.bottom-sheet-header {
  padding: 4px 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-sheet-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.bottom-sheet-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.bottom-sheet-close:hover { color: var(--text-primary); }

.bottom-sheet-body {
  overflow-y: auto;
  padding: 0 16px 16px;
  flex: 1;
}

/* ============================================
   Recipient Rows (inside bottom sheet)
   ============================================ */

.recipient-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 0.5px solid var(--border);
  cursor: pointer;
  transition: background var(--ease);
}

.recipient-row:first-child { border-top: none; }

.recipient-row:hover { background: var(--surface-hover); }

.recipient-row:active {
  transform: scale(0.99);
  transition: transform 80ms ease;
}

.recipient-row-body { flex: 1; min-width: 0; }

.recipient-row-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.recipient-row-amount {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   Onboarding Screen
   ============================================ */

.ob-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.ob-loading {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.ob-greeting {
  padding: 4px 4px 8px;
  color: #ffffff;
}

.ob-greeting-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.ob-greeting-sub {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* Hero card — active step */
.ob-hero {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  position: relative;
}

.ob-hero-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ob-hero-title-group {
  flex: 1;
  min-width: 0;
}

.ob-hero-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.ob-hero-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.ob-hero-body-text {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.ob-hero-hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 12px;
}

.ob-hero-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ob-hero-cta svg {
  width: 14px;
  height: 14px;
}

.ob-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* Test links (non-interactive info rows) */
.ob-tl-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}

.ob-tl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: inherit;
  transition: background var(--ease);
}

.ob-tl-row:hover {
  background: var(--surface-hover);
}

.ob-tl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.ob-tl-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
}

.ob-tl-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Test card block */
.ob-test-card {
  background: var(--surface-input);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}

.ob-test-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ob-test-card-num {
  flex: 1;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.ob-test-card-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 6px 8px;
  margin-right: -4px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--teal);
  transition: background var(--ease);
  font-family: var(--font-body);
}

.ob-test-card-copy:hover {
  background: rgba(0, 137, 123, 0.08);
}

.ob-test-card-copy svg {
  width: 15px;
  height: 15px;
}

.ob-test-card-copy.copied {
  color: var(--success-color);
}

.ob-copy-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.ob-test-card-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Checklist items */
.ob-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}

.ob-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}

.ob-check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: #fff;
}

.ob-check-item.done .ob-check-dot {
  background: var(--teal);
  border-color: var(--teal);
}

.ob-check-dot svg {
  width: 11px;
  height: 11px;
}

.ob-check-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
}

.ob-check-item.done .ob-check-text {
  color: var(--text-secondary);
}

/* Greyed-out substep (e.g. "Add bot" before group is created) */
.ob-check-item.disabled {
  opacity: 0.55;
}
.ob-check-item.disabled .ob-check-dot {
  border-style: dashed;
}

/* Substep inline actions (2-button row: "I'll create" / "Ask care team") */
.ob-sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Guidance hint between "FOR YOUR SYSTEM" label and the action lines */
.ob-sub-hint {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Action lines (config webhook / show API key) */
.ob-action-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.ob-action-line:first-of-type {
  border-top: 0;
}

.ob-action-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
}

.btn-ghost-sm {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
  background: transparent;
  border: 1px solid var(--border-input);
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--ease);
}

.btn-ghost-sm:hover:not(:disabled) {
  background: rgba(0, 137, 123, 0.06);
  border-color: var(--teal);
}

.btn-ghost-sm:disabled {
  opacity: 0.5;
  cursor: default;
}

/* API key reveal box */
.ob-api-key-slot:empty {
  display: none;
}

.ob-api-key-box {
  margin-top: 10px;
  background: var(--surface-input);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  animation: ob-fade-in 200ms ease;
}

@keyframes ob-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ob-api-key-value {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--text-primary);
  word-break: break-all;
  margin-bottom: 8px;
}

.ob-api-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ob-api-key-hint {
  font-size: 11.5px;
  color: var(--text-tertiary);
}

/* MCP (AI agent) info block */
.ob-mcp-info {
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--surface-input);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: ob-fade-in 200ms ease;
}

.ob-mcp-info-text {
  flex: 1;
  min-width: 0;
}

.ob-mcp-info-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.ob-mcp-info-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ob-mcp-details {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--surface-input);
  border-radius: var(--r-sm);
  animation: ob-fade-in 200ms ease;
}

.ob-mcp-step + .ob-mcp-step {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.06));
}

.ob-mcp-step-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.ob-mcp-code-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ob-mcp-code {
  flex: 1;
  min-width: 0;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--text-primary);
  background: var(--surface, #fff);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  word-break: break-all;
  white-space: pre-wrap;
  line-height: 1.4;
}

.ob-mcp-code-block {
  white-space: pre-wrap;
}

.ob-mcp-copy {
  flex-shrink: 0;
}

.ob-mcp-copy.copied {
  color: var(--teal);
  border-color: var(--teal);
}

.ob-mcp-hint {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
}

.ob-mcp-learn {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--teal);
  text-decoration: none;
}

.ob-mcp-learn:hover {
  text-decoration: underline;
}

/* Methods checkboxes */
.ob-methods {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.ob-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--ease);
  position: relative;
}

.ob-method:hover {
  background: var(--surface-hover);
}

.ob-method input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ob-method-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border-input);
  flex-shrink: 0;
  background: #fff;
  transition: all var(--ease);
  position: relative;
}

.ob-method input:checked + .ob-method-box {
  background: var(--teal);
  border-color: var(--teal);
}

.ob-method input:checked + .ob-method-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.ob-method-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
}

.ob-method-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 1px;
}

/* Inline banner (confirm/warn) */
.ob-inline-banner {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 500;
}

.ob-inline-banner-ok {
  background: rgba(76, 175, 80, 0.10);
  color: #2E7D32;
}

.ob-inline-banner-warn {
  background: rgba(229, 62, 62, 0.08);
  color: #C53030;
}

/* Step list card (all steps, compact) */
.ob-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 16px 20px 12px;
}

.ob-card-header {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.ob-step-list {
  display: flex;
  flex-direction: column;
}

.ob-step-row {
  border-top: 1px solid var(--border);
}

.ob-step-row:first-child {
  border-top: 0;
}

.ob-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  color: inherit;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ob-step-head:hover .ob-step-chevron {
  color: var(--teal);
}

.ob-step-head:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 8px;
}

.ob-step-marker {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(0, 137, 123, 0.10);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ob-step-marker.started,
.ob-step-row.done .ob-step-marker {
  background: var(--teal);
  color: #fff;
}

.ob-step-marker svg {
  width: 16px;
  height: 16px;
}

.ob-step-body {
  flex: 1;
  min-width: 0;
}

.ob-step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
}

.ob-step-row.done .ob-step-title {
  color: var(--text-secondary);
}

.ob-step-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 2px;
  line-height: 1.35;
}

.ob-sub-item {
  color: var(--text-tertiary);
}

.ob-sub-item.done {
  color: var(--teal);
  font-weight: 500;
}

.ob-sub-sep {
  color: var(--text-tertiary);
  opacity: 0.55;
  margin: 0 1px;
}

.ob-line-check {
  color: var(--teal);
  font-weight: 600;
  margin-right: 2px;
}

.ob-step-status-done {
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ob-step-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 220ms var(--ease, ease), color var(--ease);
}

.ob-step-chevron svg {
  width: 100%;
  height: 100%;
}

.ob-step-row.open .ob-step-chevron {
  transform: rotate(90deg);
  color: var(--teal);
}

.ob-step-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}

.ob-step-row.open .ob-step-panel {
  max-height: 2000px;
}

.ob-step-panel-inner {
  padding: 4px 0 18px 40px;
}

@media (max-width: 380px) {
  .ob-step-panel-inner { padding-left: 0; padding-right: 0; }
}

/* Locked strip — sits directly on teal gradient */
.ob-locked {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}

.ob-locked-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ob-locked-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.ob-locked-marker {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ob-locked-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
}

/* Footer */
.ob-foot {
  text-align: center;
  padding: 10px 0 4px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

/* Completion card */
.ob-complete-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
}

.ob-complete-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 137, 123, 0.10);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ob-complete-icon svg {
  width: 24px;
  height: 24px;
}

.ob-complete-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ob-complete-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Popup overlay (webhook config stub) */
.ob-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 59, 69, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  animation: ob-fade-in 180ms ease;
}

.ob-popup {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  max-width: 380px;
  width: 100%;
}

.ob-popup-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.ob-popup-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.ob-popup-body p {
  margin: 0 0 8px;
}

.ob-popup-muted {
  color: var(--text-tertiary) !important;
  font-size: 12px !important;
}

/* ============================================
   Onboarding — popup forms
   ============================================ */

.ob-form-field {
  margin-bottom: 14px;
}

.ob-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ob-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  font-family: inherit;
}

.ob-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 165, 153, 0.15);
}

.ob-form-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
  line-height: 1.4;
}

.ob-form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.ob-form-actions .btn {
  flex: 0 0 auto;
  min-width: 100px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 380px) {
  .bc-amount { font-size: 22px; }
  .bc-amount-cents { font-size: 15px; }
  .bc-total-label { font-size: 12px; }
  .cur-row, .act-row { padding: 10px 0; gap: 10px; }
  .cur-row-icon { width: 32px; height: 32px; font-size: 13px; }
  .act-row-icon { width: 32px; height: 32px; border-radius: 8px; }
  .cur-row-icon svg, .act-row-icon svg { width: 16px; height: 16px; }
}
