/* ── Premium Black Onboarding – consistent with settings.php ── */

/* Layout */
.pb-onboarding-wrap { max-width: 900px; }

/* Header (same as settings) */
.pb-onboarding-wrap .pb-header { background: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%); border-radius: 8px; padding: 28px 32px; margin-bottom: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pb-onboarding-wrap .pb-header .pb-icon { background: rgba(255,255,255,0.1); border-radius: 12px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pb-onboarding-wrap .pb-header .pb-icon .dashicons { font-size: 28px; width: 28px; height: 28px; color: #f0c674; }
.pb-onboarding-wrap .pb-header-content { flex: 1; min-width: 200px; }
.pb-onboarding-wrap .pb-header h1 { color: #fff; font-size: 22px; margin: 0 0 4px 0; font-weight: 600; }
.pb-onboarding-wrap .pb-header p { margin: 0; font-size: 13px; margin-right: 15px; }
.pb-onboarding-wrap .pb-header .pb-dash-link { display: inline-flex; align-items: center; gap: 6px; background: rgba(240,198,116,0.15); color: #f0c674; border: 1px solid rgba(240,198,116,0.3); padding: 8px 18px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 500; transition: background .15s, border-color .15s; white-space: nowrap; }
.pb-onboarding-wrap .pb-header .pb-dash-link:hover { background: rgba(240,198,116,0.25); border-color: rgba(240,198,116,0.5); color: #f0c674; }
.pb-onboarding-wrap .pb-header .pb-dash-link .dashicons { font-size: 16px; width: 16px; height: 16px; }

/* Progress bar */
.pb-onboarding-wrap .pb-progress { background: #e4e6e9; height: 8px; border-radius: 4px; margin-bottom: 24px; overflow: hidden; }
.pb-onboarding-wrap .pb-progress-bar { background: linear-gradient(90deg, #f0c674, #e0a832); height: 100%; border-radius: 4px; transition: width 0.4s ease-in-out; }

/* Step indicator */
.pb-onboarding-wrap .pb-tab-nav { display: flex; gap: 0; list-style: none; margin: 0 0 24px 0; padding: 0; border: 1px solid #dcdcde; border-radius: 6px; overflow: hidden; }
.pb-onboarding-wrap .pb-tab-nav li { flex: 1; padding: 12px 20px; text-align: center; font-size: 13px; font-weight: 500; color: #50575e; background: #f6f7f7; border-right: 1px solid #dcdcde; user-select: none; cursor: default; transition: background .15s, color .15s; }
.pb-onboarding-wrap .pb-tab-nav li:last-child { border-right: none; }
.pb-onboarding-wrap .pb-tab-nav li.active { background: #2271b1; color: #fff; font-weight: 600; }
.pb-onboarding-wrap .pb-tab-nav li.completed { background: #edfaef; color: #00a32a; }

/* Tab content */
.pb-onboarding-wrap .pb-tab-content { display: none; }
.pb-onboarding-wrap .pb-tab-content.active { display: block; }

/* Card panel (wraps each step) */
.pb-onboarding-wrap .pb-card { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 28px 28px 24px; }
.pb-onboarding-wrap .pb-card h2 { font-size: 15px; font-weight: 600; color: #1d2327; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.pb-onboarding-wrap .pb-card h2 .dashicons { color: #8c8f94; font-size: 18px; width: 18px; height: 18px; }
.pb-onboarding-wrap .pb-card > p { color: #646970; font-size: 13px; margin: 0 0 20px; }

/* Step 1 – two-column layout */
.pb-onboarding-step1 { display: flex; flex-wrap: wrap; gap: 28px; }
.pb-api-form { flex: 1 1 320px; max-width: 480px; }
.pb-api-form label { display: block; font-weight: 500; color: #1d2327; font-size: 13px; margin-bottom: 4px; }
.pb-api-form label:not(:first-child) { margin-top: 14px; }
.pb-api-form .pb-input { display: block; width: 100%; padding: 8px 12px; font-size: 14px; border: 1px solid #8c8f94; border-radius: 4px; box-sizing: border-box; transition: border-color .15s; }
.pb-api-form .pb-input:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; }

/* Register CTA box */
.pb-api-register { flex: 1 1 240px; background: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%); padding: 24px; border-radius: 8px; color: #fff; }
.pb-api-register h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: #f0c674; }
.pb-api-register p { margin: 0 0 16px; font-size: 13px; color: rgba(255,255,255,0.75); }
.pb-api-register .button { background: rgba(240,198,116,0.15); color: #f0c674; border: 1px solid rgba(240,198,116,0.3); border-radius: 4px; padding: 6px 16px; font-size: 13px; cursor: pointer; transition: background .15s; text-decoration: none; }
.pb-api-register .button:hover { background: rgba(240,198,116,0.3); color: #f0c674; }
.pb-api-register .button-secondary { background: transparent; color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
.pb-api-register .button-secondary:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.85); }

/* Error / loader inline */
.pb-onboarding-wrap .pb-inline-error { border-radius: 4px; border: 1px solid #dcdcde; border-left: 4px solid #d63638; background: #fcf0f1; padding: 10px 14px; margin: 12px 0; font-size: 13px; color: #1d2327; }
.pb-onboarding-wrap .pb-inline-loader { color: #646970; font-size: 13px; margin: 10px 0; display: flex; align-items: center; gap: 8px; }

/* Step 2 – currency grid (same as settings) */
.pb-onboarding-wrap .pb-currency-controls { margin-bottom: 12px; display: flex; gap: 8px; }
.pb-onboarding-wrap .pb-currency-list h4 { font-size: 14px; font-weight: 600; color: #1d2327; margin: 16px 0 6px; padding-bottom: 4px; border-bottom: 2px solid #f0c674; display: inline-block; }
.pb-onboarding-wrap .pb-currency-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #dcdcde; border-radius: 6px; background: #f9f9f9; margin-bottom: 6px; transition: border-color .15s, background .15s; }
.pb-onboarding-wrap .pb-currency-item:hover { border-color: #2271b1; background: #f0f6fc; }
.pb-onboarding-wrap .pb-currency-item input[type="checkbox"] { margin: 0; }
.pb-onboarding-wrap .pb-currency-item label { margin: 0; cursor: pointer; font-size: 13px; }
.pb-onboarding-wrap .pb-step-error { border-radius: 4px; border: 1px solid #dcdcde; border-left: 4px solid #d63638; background: #fcf0f1; padding: 10px 14px; margin: 12px 0; font-size: 13px; color: #1d2327; }

/* Step actions row */
.pb-onboarding-wrap .pb-step-actions { display: flex; gap: 10px; margin-top: 20px; }
.pb-onboarding-wrap .pb-step-actions .button-primary { padding: 6px 24px; border-radius: 4px; }
.pb-onboarding-wrap .pb-step-actions .button { border-radius: 4px; }

/* Step 3 – success */
.pb-onboarding-wrap .pb-success { text-align: center; padding: 40px 20px; }
.pb-onboarding-wrap .pb-success .pb-success-icon { font-size: 48px; margin-bottom: 12px; }
.pb-onboarding-wrap .pb-success h2 { color: #00a32a; margin: 0 0 8px; font-size: 18px; }
.pb-onboarding-wrap .pb-success p { color: #646970; font-size: 14px; margin: 0 0 20px; }

/* Notification toast */
#pb-notification { position: fixed; top: 40px; right: 20px; z-index: 9999; width: auto; max-width: 380px; padding: 12px 20px; border-left: 4px solid #00a32a; border-radius: 6px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); font-size: 13px; }

/* Footer (same as settings) */
.pb-onboarding-wrap .pb-footer { margin-top: 16px; padding: 14px 20px; background: #f6f7f7; border: 1px solid #dcdcde; border-radius: 8px; display: flex; align-items: center; gap: 8px; color: #646970; font-size: 13px; }
.pb-onboarding-wrap .pb-footer .dashicons { color: #8c8f94; font-size: 16px; width: 16px; height: 16px; }
.pb-onboarding-wrap .pb-footer a { color: #2271b1; text-decoration: none; font-weight: 500; }
.pb-onboarding-wrap .pb-footer a:hover { text-decoration: underline; }
