/* ═══════════════════════════════════════════════════════════════════════════
   B2BConnect – Onboarding Wizard
   Wizard guiado para setup inicial de novas empresas
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Overlay ─────────────────────────────────────────────────────────────── */

.b2bc-ob-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: b2bc-ob-fade-in 0.25s ease;
}

@keyframes b2bc-ob-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Card ─────────────────────────────────────────────────────────────────── */

.b2bc-ob-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    animation: b2bc-ob-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes b2bc-ob-slide-up {
    from { transform: translateY(32px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.b2bc-ob-header {
    background: linear-gradient(135deg, #1e40af 0%, #6366f1 100%);
    border-radius: 20px 20px 0 0;
    padding: 32px 32px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.b2bc-ob-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.b2bc-ob-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

.b2bc-ob-logo-mark {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2bc-ob-logo-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.b2bc-ob-logo-badge {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: auto;
}

.b2bc-ob-step-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    position: relative;
}

.b2bc-ob-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 8px;
    position: relative;
}

.b2bc-ob-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.5;
    position: relative;
}

/* ── Progress Bar ────────────────────────────────────────────────────────── */

.b2bc-ob-progress-wrap {
    padding: 20px 32px 0;
}

.b2bc-ob-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.b2bc-ob-progress-track {
    height: 6px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}

.b2bc-ob-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

/* ── Step Dots ───────────────────────────────────────────────────────────── */

.b2bc-ob-dots {
    display: flex;
    gap: 8px;
    padding: 16px 32px 0;
    align-items: center;
}

.b2bc-ob-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #e5e7eb;
    transition: all 0.3s ease;
    cursor: default;
}

.b2bc-ob-dot.active {
    background: #6366f1;
    width: 24px;
}

.b2bc-ob-dot.done {
    background: #10b981;
}

/* ── Body ────────────────────────────────────────────────────────────────── */

.b2bc-ob-body {
    padding: 24px 32px 0;
    flex: 1;
}

.b2bc-ob-step-panel {
    display: none;
}

.b2bc-ob-step-panel.active {
    display: block;
    animation: b2bc-ob-step-in 0.25s ease;
}

@keyframes b2bc-ob-step-in {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Welcome step (step 0) ───────────────────────────────────────────────── */

.b2bc-ob-welcome {
    text-align: center;
    padding: 8px 0 16px;
}

.b2bc-ob-welcome-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.b2bc-ob-welcome h2 {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.b2bc-ob-welcome p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px;
}

.b2bc-ob-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.b2bc-ob-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.b2bc-ob-checklist li .b2bc-ob-chk-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    font-weight: 700;
}

.b2bc-ob-checklist li .b2bc-ob-chk-text small {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 2px;
}

/* ── Form Fields ─────────────────────────────────────────────────────────── */

.b2bc-ob-field {
    margin-bottom: 16px;
}

.b2bc-ob-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.b2bc-ob-field label .b2bc-ob-required {
    color: #ef4444;
    margin-left: 2px;
}

.b2bc-ob-field label .b2bc-ob-optional {
    color: #9ca3af;
    font-weight: 400;
    margin-left: 4px;
    font-size: 11px;
}

.b2bc-ob-input,
.b2bc-ob-select,
.b2bc-ob-textarea {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
}

.b2bc-ob-input:focus,
.b2bc-ob-select:focus,
.b2bc-ob-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.b2bc-ob-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
}

.b2bc-ob-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Role pills */

.b2bc-ob-role-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.b2bc-ob-role-pill {
    flex: 1;
    min-width: 120px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    background: #fff;
}

.b2bc-ob-role-pill:hover {
    border-color: #c7d2fe;
    background: #f5f3ff;
}

.b2bc-ob-role-pill.selected {
    border-color: #6366f1;
    background: #eef2ff;
}

.b2bc-ob-role-pill-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

.b2bc-ob-role-pill-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    display: block;
}

.b2bc-ob-role-pill-desc {
    font-size: 11px;
    color: #9ca3af;
    display: block;
    margin-top: 2px;
}

/* Logo upload */

.b2bc-ob-logo-upload {
    display: flex;
    align-items: center;
    gap: 16px;
}

.b2bc-ob-logo-preview {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 1.5px dashed #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9fafb;
    flex-shrink: 0;
}

.b2bc-ob-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.b2bc-ob-logo-preview .b2bc-ob-logo-placeholder {
    font-size: 24px;
    color: #d1d5db;
}

.b2bc-ob-logo-actions {
    flex: 1;
}

.b2bc-ob-logo-actions p {
    font-size: 12px;
    color: #6b7280;
    margin: 4px 0 0;
}

/* ── Success / Completion step ───────────────────────────────────────────── */

.b2bc-ob-success {
    text-align: center;
    padding: 16px 0 24px;
}

.b2bc-ob-success-anim {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
    animation: b2bc-ob-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes b2bc-ob-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.b2bc-ob-success h2 {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.b2bc-ob-success p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px;
}

.b2bc-ob-score-preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border: 1px solid #c4b5fd;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #5b21b6;
}

.b2bc-ob-score-val {
    font-size: 28px;
    font-weight: 800;
    color: #6366f1;
    line-height: 1;
}

.b2bc-ob-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.b2bc-ob-confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: b2bc-confetti-fall linear forwards;
    top: -10px;
}

@keyframes b2bc-confetti-fall {
    to {
        transform: translateY(700px) rotate(720deg);
        opacity: 0;
    }
}

/* ── Footer / Actions ────────────────────────────────────────────────────── */

.b2bc-ob-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px 28px;
    margin-top: 8px;
    gap: 12px;
}

.b2bc-ob-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2bc-ob-footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2bc-ob-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.b2bc-ob-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.b2bc-ob-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
}

.b2bc-ob-btn-primary:active {
    transform: translateY(0);
}

.b2bc-ob-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.b2bc-ob-btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    border: 1.5px solid #e5e7eb;
}

.b2bc-ob-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

.b2bc-ob-btn-ghost {
    background: transparent;
    color: #9ca3af;
    padding: 10px 12px;
}

.b2bc-ob-btn-ghost:hover {
    color: #6b7280;
}

.b2bc-ob-btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    font-size: 15px;
    padding: 12px 28px;
}

.b2bc-ob-btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

/* Loading spinner inside button */
.b2bc-ob-btn .b2bc-ob-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: b2bc-ob-spin 0.6s linear infinite;
    display: none;
}

.b2bc-ob-btn.loading .b2bc-ob-spinner { display: block; }
.b2bc-ob-btn.loading .b2bc-ob-btn-label { opacity: 0.6; }

@keyframes b2bc-ob-spin {
    to { transform: rotate(360deg); }
}

/* ── Error / Feedback ────────────────────────────────────────────────────── */

.b2bc-ob-error {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #dc2626;
    margin-bottom: 12px;
}

.b2bc-ob-error.visible {
    display: block;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .b2bc-ob-header { padding: 24px 20px 20px; }
    .b2bc-ob-progress-wrap { padding: 16px 20px 0; }
    .b2bc-ob-dots { padding: 12px 20px 0; }
    .b2bc-ob-body { padding: 20px 20px 0; }
    .b2bc-ob-footer { padding: 16px 20px 24px; flex-wrap: wrap; }
    .b2bc-ob-field-row { grid-template-columns: 1fr; }
    .b2bc-ob-title { font-size: 18px; }
    .b2bc-ob-role-pills { flex-direction: column; }
}


/* ═══════════════════════════════════════════════════════════════════════
   DARK MODE — Onboarding Wizard v2.7.1-fix
═══════════════════════════════════════════════════════════════════════ */

/* Seletor combinado */
body.dark-mode .b2bc-ob-card,
body[data-theme="dark"] .b2bc-ob-card,
html[data-theme="dark"] body .b2bc-ob-card,
body.b2bconnect-dark .b2bc-ob-card,
html.b2bconnect-dark body .b2bc-ob-card { background: #1e293b; color: #f1f5f9; }

body.dark-mode .b2bc-ob-progress-info,
body[data-theme="dark"] .b2bc-ob-progress-info,
html[data-theme="dark"] body .b2bc-ob-progress-info,
body.b2bconnect-dark .b2bc-ob-progress-info,
html.b2bconnect-dark body .b2bc-ob-progress-info { color: #94a3b8; }

body.dark-mode .b2bc-ob-progress-track,
body[data-theme="dark"] .b2bc-ob-progress-track,
html[data-theme="dark"] body .b2bc-ob-progress-track,
body.b2bconnect-dark .b2bc-ob-progress-track,
html.b2bconnect-dark body .b2bc-ob-progress-track { background: #334155; }

body.dark-mode .b2bc-ob-dot,
body[data-theme="dark"] .b2bc-ob-dot,
html[data-theme="dark"] body .b2bc-ob-dot,
body.b2bconnect-dark .b2bc-ob-dot,
html.b2bconnect-dark body .b2bc-ob-dot { background: #334155; }

body.dark-mode .b2bc-ob-welcome h2,
body[data-theme="dark"] .b2bc-ob-welcome h2,
html[data-theme="dark"] body .b2bc-ob-welcome h2,
body.b2bconnect-dark .b2bc-ob-welcome h2,
html.b2bconnect-dark body .b2bc-ob-welcome h2 { color: #f1f5f9; }

body.dark-mode .b2bc-ob-welcome p,
body[data-theme="dark"] .b2bc-ob-welcome p,
html[data-theme="dark"] body .b2bc-ob-welcome p,
body.b2bconnect-dark .b2bc-ob-welcome p,
html.b2bconnect-dark body .b2bc-ob-welcome p { color: #94a3b8; }

body.dark-mode .b2bc-ob-checklist li,
body[data-theme="dark"] .b2bc-ob-checklist li,
html[data-theme="dark"] body .b2bc-ob-checklist li,
body.b2bconnect-dark .b2bc-ob-checklist li,
html.b2bconnect-dark body .b2bc-ob-checklist li { background: #243044; border-color: #334155; color: #f1f5f9; }

body.dark-mode .b2bc-ob-field label,
body[data-theme="dark"] .b2bc-ob-field label,
html[data-theme="dark"] body .b2bc-ob-field label,
body.b2bconnect-dark .b2bc-ob-field label,
html.b2bconnect-dark body .b2bc-ob-field label { color: #94a3b8; }

body.dark-mode .b2bc-ob-input,
body.dark-mode .b2bc-ob-select,
body.dark-mode .b2bc-ob-textarea,
body[data-theme="dark"] .b2bc-ob-input,
body[data-theme="dark"] .b2bc-ob-select,
body[data-theme="dark"] .b2bc-ob-textarea,
html[data-theme="dark"] body .b2bc-ob-input,
html[data-theme="dark"] body .b2bc-ob-select,
html[data-theme="dark"] body .b2bc-ob-textarea,
body.b2bconnect-dark .b2bc-ob-input,
body.b2bconnect-dark .b2bc-ob-select,
body.b2bconnect-dark .b2bc-ob-textarea,
html.b2bconnect-dark body .b2bc-ob-input,
html.b2bconnect-dark body .b2bc-ob-select,
html.b2bconnect-dark body .b2bc-ob-textarea {
  background: #0f172a;
  color: #f1f5f9;
  border-color: #334155;
}

body.dark-mode .b2bc-ob-role-pill,
body[data-theme="dark"] .b2bc-ob-role-pill,
html[data-theme="dark"] body .b2bc-ob-role-pill,
body.b2bconnect-dark .b2bc-ob-role-pill,
html.b2bconnect-dark body .b2bc-ob-role-pill { background: #1e293b; border-color: #334155; }

body.dark-mode .b2bc-ob-role-pill:hover,
body[data-theme="dark"] .b2bc-ob-role-pill:hover,
html[data-theme="dark"] body .b2bc-ob-role-pill:hover,
body.b2bconnect-dark .b2bc-ob-role-pill:hover,
html.b2bconnect-dark body .b2bc-ob-role-pill:hover { border-color: #6366f1; background: #1e1e3f; }

body.dark-mode .b2bc-ob-role-pill.selected,
body[data-theme="dark"] .b2bc-ob-role-pill.selected,
html[data-theme="dark"] body .b2bc-ob-role-pill.selected,
body.b2bconnect-dark .b2bc-ob-role-pill.selected,
html.b2bconnect-dark body .b2bc-ob-role-pill.selected { background: #1e1e3f; border-color: #6366f1; }

body.dark-mode .b2bc-ob-role-pill-label,
body[data-theme="dark"] .b2bc-ob-role-pill-label,
html[data-theme="dark"] body .b2bc-ob-role-pill-label,
body.b2bconnect-dark .b2bc-ob-role-pill-label,
html.b2bconnect-dark body .b2bc-ob-role-pill-label { color: #f1f5f9; }

body.dark-mode .b2bc-ob-logo-preview,
body[data-theme="dark"] .b2bc-ob-logo-preview,
html[data-theme="dark"] body .b2bc-ob-logo-preview,
body.b2bconnect-dark .b2bc-ob-logo-preview,
html.b2bconnect-dark body .b2bc-ob-logo-preview { background: #0f172a; border-color: #334155; }

body.dark-mode .b2bc-ob-success h2,
body[data-theme="dark"] .b2bc-ob-success h2,
html[data-theme="dark"] body .b2bc-ob-success h2,
body.b2bconnect-dark .b2bc-ob-success h2,
html.b2bconnect-dark body .b2bc-ob-success h2 { color: #f1f5f9; }

body.dark-mode .b2bc-ob-success p,
body[data-theme="dark"] .b2bc-ob-success p,
html[data-theme="dark"] body .b2bc-ob-success p,
body.b2bconnect-dark .b2bc-ob-success p,
html.b2bconnect-dark body .b2bc-ob-success p { color: #94a3b8; }

body.dark-mode .b2bc-ob-score-preview,
body[data-theme="dark"] .b2bc-ob-score-preview,
html[data-theme="dark"] body .b2bc-ob-score-preview,
body.b2bconnect-dark .b2bc-ob-score-preview,
html.b2bconnect-dark body .b2bc-ob-score-preview {
  background: #1e1e3f;
  border-color: #4f46e5;
  color: #c4b5fd;
}

body.dark-mode .b2bc-ob-btn-secondary,
body[data-theme="dark"] .b2bc-ob-btn-secondary,
html[data-theme="dark"] body .b2bc-ob-btn-secondary,
body.b2bconnect-dark .b2bc-ob-btn-secondary,
html.b2bconnect-dark body .b2bc-ob-btn-secondary { background: #243044; color: #94a3b8; border-color: #334155; }

body.dark-mode .b2bc-ob-btn-secondary:hover,
body[data-theme="dark"] .b2bc-ob-btn-secondary:hover,
html[data-theme="dark"] body .b2bc-ob-btn-secondary:hover,
body.b2bconnect-dark .b2bc-ob-btn-secondary:hover,
html.b2bconnect-dark body .b2bc-ob-btn-secondary:hover { background: #334155; color: #f1f5f9; }

body.dark-mode .b2bc-ob-btn-ghost,
body[data-theme="dark"] .b2bc-ob-btn-ghost,
html[data-theme="dark"] body .b2bc-ob-btn-ghost,
body.b2bconnect-dark .b2bc-ob-btn-ghost,
html.b2bconnect-dark body .b2bc-ob-btn-ghost { color: #64748b; }

body.dark-mode .b2bc-ob-btn-ghost:hover,
body[data-theme="dark"] .b2bc-ob-btn-ghost:hover,
html[data-theme="dark"] body .b2bc-ob-btn-ghost:hover,
body.b2bconnect-dark .b2bc-ob-btn-ghost:hover,
html.b2bconnect-dark body .b2bc-ob-btn-ghost:hover { color: #94a3b8; }

body.dark-mode .b2bc-ob-error,
body[data-theme="dark"] .b2bc-ob-error,
html[data-theme="dark"] body .b2bc-ob-error,
body.b2bconnect-dark .b2bc-ob-error,
html.b2bconnect-dark body .b2bc-ob-error { background: #450a0a; border-color: #991b1b; color: #fca5a5; }

/* System preference fallback for onboarding */
@media (prefers-color-scheme: dark) {
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-card { background: #1e293b; color: #f1f5f9; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-progress-track { background: #334155; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-dot { background: #334155; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-welcome h2,
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-success h2 { color: #f1f5f9; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-welcome p,
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-success p { color: #94a3b8; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-checklist li { background: #243044; border-color: #334155; color: #f1f5f9; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-field label { color: #94a3b8; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-input,
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-select,
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-textarea { background: #0f172a; color: #f1f5f9; border-color: #334155; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-role-pill { background: #1e293b; border-color: #334155; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-role-pill-label { color: #f1f5f9; }
  body.b2bconnect-app:not([data-theme="light"]):not(.light-mode) .b2bc-ob-btn-secondary { background: #243044; color: #94a3b8; border-color: #334155; }
}
