
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary-light);
}

.plan-card.plan-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-card-hover);
}

.plan-card.plan-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.plan-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.plan-name {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.plan-tagline {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.plan-roi {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  margin-bottom: var(--space-1);
}

.plan-roi-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  margin-bottom: var(--space-5);
}

.plan-divider {
  height: 1px;
  background: var(--border-color);
  margin: var(--space-5) 0;
}

.plan-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.plan-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-sm);
}

.plan-spec-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.plan-spec-value {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.plan-methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.method-card {
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  transition: border-color var(--transition-fast),
              background-color var(--transition-fast);
  text-align: center;
  position: relative;
  user-select: none;
}

.method-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.method-card.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.method-card.is-selected::after {
  content: '';
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.method-icon {
  font-size: 28px;
  line-height: 1;
}

.method-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.method-fee {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.fee-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.fee-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-2) 0;
  gap: var(--space-3);
}

.fee-row + .fee-row {
  border-top: 1px solid var(--border-color);
}

.fee-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  flex-shrink: 0;
}

.fee-value {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: right;
  word-break: break-all;
}

.fee-row.fee-total .fee-label {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.fee-row.fee-total .fee-value {
  font-size: var(--font-size-financial);
  color: var(--color-success);
}

.wallet-address-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.wallet-qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--bg-elevated);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--text-muted);
  font-size: 48px;
}

.wallet-address-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
}

.wallet-address-string {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  word-break: break-all;
  text-align: center;
  padding: var(--space-3);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-3);
}

.balance-widget {
  background: var(--color-primary-light);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.balance-widget-label {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.balance-widget-amount {
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
}

.confirm-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-5);
}

.confirm-summary {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.gateway-filter-btn {
  font-size: var(--font-size-xs) !important;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--text-muted);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.gateway-filter-btn:hover {
  color: var(--text-primary);
  opacity: 1;
}

.gateway-filter-btn.active {
  background: var(--color-primary) !important;
  color: #fff !important;
  opacity: 1;
  box-shadow: var(--shadow-sm);
}

/* Method card badge tweak */
.method-card .badge {
  pointer-events: none;
}

#manual-proof-section .divider {
  margin: var(--space-6) 0;
}

#manual-proof-section h6 {
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.pond-upload-box {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-2);
}

.filepond--root {
  margin-bottom: 0 !important;
}

/* Mini Copy Button */
.btn-copy-mini {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-copy-mini:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-copy-mini:active {
  transform: scale(0.9);
}

.gap-2 { gap: var(--space-2); }
