/* Become a vendor wizard. Light by default; dark comes from css/theme.css variables below. */
.bv-main { max-width: 680px; margin: 16px auto; padding: 0 16px calc(96px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.bv-main h1 { margin: 0 0 4px; } .bv-lead, .bv-muted { color: #5b6470; } .bv-lead { margin: 0 0 16px; }
.bv-card { background: #fff; border: 1px solid #e0e4ea; border-radius: 14px; padding: 16px; margin-bottom: 14px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.bv-progress { display: grid; gap: 6px; margin-bottom: 14px; } .bv-progress .bar { height: 8px; border-radius: 99px; background: #e5e9f0; overflow: hidden; } .bv-progress .bar > i { display: block; height: 100%; background: #007bff; border-radius: 99px; transition: width .2s; }
.bv-progress .txt { font-size: .9rem; font-weight: 700; }
.bv-card h2 { margin: 0 0 6px; font-size: 1.15rem; }
.bv-card label.bv-l { display: block; font-weight: 700; margin: 14px 0 5px; }
.bv-card input[type=text], .bv-card input[type=tel], .bv-card input[type=date], .bv-card input[type=url], .bv-card select, .bv-card textarea { width: 100%; box-sizing: border-box; padding: 11px; border: 1px solid #c8cfd8; border-radius: 8px; font: inherit; background: #fff; color: #111; }
.bv-card textarea { min-height: 90px; }
.bv-hint { font-size: .85rem; color: #5b6470; margin: 4px 0 0; }
.bv-err { color: #b42318; font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.bv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.bv-btn { border-radius: 10px; padding: 12px 18px; font: inherit; font-weight: 800; cursor: pointer; border: 1px solid #c8cfd8; background: #fff; color: #222; min-height: 46px; }
.bv-btn.primary { background: #007bff; border-color: #007bff; color: #fff; } .bv-btn.big { width: 100%; text-align: center; text-decoration: none; display: block; box-sizing: border-box; padding: 16px; font-size: 1.05rem; }
.bv-btn[disabled] { opacity: .55; cursor: not-allowed; }
.bv-choice { display: grid; gap: 10px; } .bv-choice button { text-align: left; padding: 14px; border-radius: 12px; border: 2px solid #d5dae2; background: #fff; font: inherit; cursor: pointer; color: #111; }
.bv-choice button[aria-pressed=true] { border-color: #007bff; background: #eef6ff; } .bv-choice b { display: block; margin-bottom: 2px; }
.bv-chips { display: flex; flex-wrap: wrap; gap: 8px; } .bv-chips button { border: 1.5px solid #c8cfd8; background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; color: #222; }
.bv-chips button[aria-pressed=true] { background: #007bff; border-color: #007bff; color: #fff; }
.bv-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.bv-file { position: relative; border: 1px solid #d5dae2; border-radius: 10px; overflow: hidden; background: #f3f4f6; aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: .75rem; text-align: center; padding: 4px; }
.bv-file img { width: 100%; height: 100%; object-fit: cover; display: block; } .bv-file .x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; font-weight: 800; }
.bv-file .st { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.65); color: #fff; font-size: .7rem; padding: 2px 4px; } .bv-file.bad { outline: 2px solid #b42318; }
.bv-pick { display: inline-block; }
.bv-warn { border: 2px solid #c1272d; background: #fdecea; color: #7a1010; border-radius: 12px; padding: 14px; font-weight: 700; }
.bv-warn strong { display: block; color: #b00020; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.bv-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; } .bv-check input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.bv-note { border: 1px solid #f0c36d; background: #fff8e6; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; color: #5a4300; }
.bv-ok { border: 1px solid #9ad4a8; background: #effaf1; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; color: #14532d; }
.bv-sum dl { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px 10px; margin: 0; } .bv-sum dt { color: #5b6470; font-size: .88rem; } .bv-sum dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bv-timeline { margin: 8px 0 0; padding-left: 18px; } .bv-timeline li { margin: 6px 0; }
[hidden] { display: none !important; }
html, body { max-width: 100%; overflow-x: hidden; }

html[data-theme="dark"] .bv-lead, html[data-theme="dark"] .bv-muted, html[data-theme="dark"] .bv-hint, html[data-theme="dark"] .bv-sum dt { color: var(--d-muted, #a9b6c9); }
html[data-theme="dark"] .bv-card { background: var(--d-surface, #172131); border-color: var(--d-border, #2e3d54); box-shadow: none; color: var(--d-text, #e7edf5); }
html[data-theme="dark"] .bv-card input, html[data-theme="dark"] .bv-card select, html[data-theme="dark"] .bv-card textarea { background: var(--d-surface2, #1e2b3f) !important; color: var(--d-text, #e7edf5) !important; border-color: var(--d-border, #2e3d54) !important; }
html[data-theme="dark"] .bv-progress .bar { background: #2a3850; }
html[data-theme="dark"] .bv-btn { background: var(--d-surface2, #1e2b3f); color: var(--d-text, #e7edf5); border-color: var(--d-border, #2e3d54); } html[data-theme="dark"] .bv-btn.primary { background: #2b7de9; border-color: #2b7de9; color: #fff; }
html[data-theme="dark"] .bv-choice button { background: var(--d-surface2, #1e2b3f); color: var(--d-text, #e7edf5); border-color: var(--d-border, #2e3d54); } html[data-theme="dark"] .bv-choice button[aria-pressed=true] { border-color: #5aa2ff; background: #16304f; }
html[data-theme="dark"] .bv-chips button { background: var(--d-surface2, #1e2b3f); color: var(--d-text, #e7edf5); border-color: var(--d-border, #2e3d54); } html[data-theme="dark"] .bv-chips button[aria-pressed=true] { background: #2b7de9; border-color: #2b7de9; color: #fff; }
html[data-theme="dark"] .bv-file { background: var(--d-surface2, #1e2b3f); border-color: var(--d-border, #2e3d54); }
html[data-theme="dark"] .bv-warn { background: #3a1417; border-color: #e0525a; color: #ffd6d8; } html[data-theme="dark"] .bv-warn strong { color: #ff8a90; }
html[data-theme="dark"] .bv-note { background: #3a3014; border-color: #8a6d1d; color: #ffe9b0; } html[data-theme="dark"] .bv-ok { background: #12301e; border-color: #2f7a4a; color: #c8f1d4; }
html[data-theme="dark"] .bv-err { color: #ff8a90; }

/* Live selfie: the face goes in a circle, the photo is taken automatically */
.bv-face { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px 0; }
.bv-face-stage { position: relative; width: min(280px, 78vw); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: #0f1b2d; }
.bv-face-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); opacity: 0; transition: opacity .2s; }
.bv-face.live .bv-face-video { opacity: 1; }
.bv-face-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bv-face-track { stroke: rgba(255, 255, 255, .55); }
.bv-face-progress { stroke: #1db954; transition: stroke-dasharray .25s ease; }
.bv-face-text { margin: 0; min-height: 2.8em; text-align: center; font-weight: 600; }
/* What selling costs: shown before signing up and on the Agreements step */
.bv-fees { border: 2px solid #1a6b3c; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; background: #f3faf5; }
.bv-fees h2 { margin: 0 0 6px; font-size: 1.15rem; }
.bv-fees-lead { margin: 0 0 10px; font-weight: 600; }
.bv-fee-table { width: 100%; border-collapse: collapse; margin: 0 0 10px; }
.bv-fee-table th, .bv-fee-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #d6e6db; }
.bv-fee-table td:last-child, .bv-fee-table th:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.bv-fee-notes { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
html[data-theme="dark"] .bv-fees { background: rgba(26, 107, 60, .12); border-color: #2f9b5c; }
html[data-theme="dark"] .bv-fee-table th, html[data-theme="dark"] .bv-fee-table td { border-color: rgba(255,255,255,.12); }
