/* Veyron Core — Canvas Styles
   Design system: #070B12 base | #F0B429 gold | #E8EDF5 light text
   Font: System stack — works 100% offline, no external dependencies.
   Standalone — no theme, no page builder, pure Veyron.
*/

/* ── Standalone document reset ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #070B12;
  color: #E8EDF5;
  min-height: 100vh;
  /* Clean modern system stack — no external font needed */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
               "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Full-width app shell ────────────────────────────────────────────────────── */

#veyron-app {
  min-height: 100vh;
  background: #070B12;
}

/* ── Auth pages — vertically centered ───────────────────────────────────────── */

.veyron-register,
.veyron-login,
.veyron-vendor-register {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(240,180,41,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(59,130,246,.04) 0%, transparent 60%),
    #070B12;
}

/* ── Marketplace — full-width, max-constrained ───────────────────────────────── */

.veyron-products {
  min-height: 100vh;
  padding: 40px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Checkout — centred, max-constrained ─────────────────────────────────────── */

.veyron-checkout {
  min-height: 100vh;
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Dashboard — full viewport ───────────────────────────────────────────────── */

.veyron-dashboard {
  min-height: 100vh;
  width: 100%;
}

:root {
  --vc-bg: #070B12;
  --vc-card: #141C2A;
  --vc-card-border: #1E2A3D;
  --vc-gold: #F0B429;
  --vc-gold-light: #F9D06A;
  --vc-text: #E8EDF5;
  --vc-text-muted: #7A8BA8;
  --vc-text-faint: #3D4F6B;
  --vc-green: #22C55E;
  --vc-red: #EF4444;
  --vc-blue: #3B82F6;
  --vc-radius: 14px;
  --vc-radius-sm: 8px;
  --vc-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* ─── Base ─────────────────────────────────────────────────────────────────── */

/* ─── Auth card (register / login / vendor) ─────────────────────────────────── */

.vc-auth-card {
  background: #141C2A;
  border: 1px solid #1E2A3D;
  border-radius: 16px;
  padding: 48px 52px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 8px 48px rgba(0,0,0,.5);
}

.vc-auth-header {
  text-align: center;
  margin-bottom: 32px;
}

/* ─── Card (general use) ────────────────────────────────────────────────────── */

.vc-card {
  background: #141C2A;
  border: 1px solid #1E2A3D;
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.vc-card-sm {
  background: #141C2A;
  border: 1px solid #1E2A3D;
  border-radius: 12px;
  padding: 24px;
}

.vc-card-header, .vc-auth-header {
  text-align: center;
  margin-bottom: 28px;
}

/* ─── OTP code input ────────────────────────────────────────────────────────── */

.vc-otp-input {
  letter-spacing: 12px !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  text-align: center !important;
  color: var(--vc-gold) !important;
  font-family: 'Courier New', monospace !important;
  padding: 16px 14px !important;
}

.vc-logo-badge {
  background: var(--vc-gold);
  color: var(--vc-bg);
  font-weight: 900;
  font-size: 22px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.vc-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--vc-text);
  margin: 0 0 6px;
}

.vc-subtitle {
  color: var(--vc-text-muted);
  font-size: 14px;
  margin: 0;
}

.vc-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--vc-text);
  margin: 0 0 20px;
}

/* ─── Forms ─────────────────────────────────────────────────────────────────── */

.vc-form { display: flex; flex-direction: column; gap: 16px; }

.vc-field { display: flex; flex-direction: column; gap: 6px; }

.vc-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--vc-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.vc-field input,
.vc-field select,
.vc-field textarea {
  background: #0E1420;
  border: 1px solid var(--vc-card-border);
  border-radius: var(--vc-radius-sm);
  color: var(--vc-text);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s;
  width: 100%;
  font-family: inherit;
}

.vc-field input:focus,
.vc-field select:focus,
.vc-field textarea:focus {
  border-color: var(--vc-gold);
}

.vc-field input::placeholder,
.vc-field textarea::placeholder {
  color: var(--vc-text-faint);
}

.vc-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */

.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--vc-radius-sm);
  cursor: pointer;
  padding: 13px 28px;
  transition: opacity .15s, transform .1s;
}

.vc-btn:hover { opacity: .9; }
.vc-btn:active { transform: scale(.98); }

.vc-btn-primary { background: var(--vc-gold); color: var(--vc-bg); width: 100%; }
.vc-btn-sm { background: var(--vc-gold); color: var(--vc-bg); padding: 8px 18px; font-size: 13px; }
.vc-btn-lg { padding: 16px 36px; font-size: 16px; }
.vc-btn-ghost {
  background: transparent;
  color: var(--vc-text-muted);
  border: 1px solid var(--vc-card-border);
  width: 100%;
}

/* ─── Spinner ────────────────────────────────────────────────────────────────── */

.vc-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(7,11,18,.3);
  border-top-color: var(--vc-bg);
  border-radius: 50%;
  animation: vc-spin .6s linear infinite;
  display: inline-block;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }

/* ─── Alerts ─────────────────────────────────────────────────────────────────── */

.vc-alert {
  padding: 12px 16px;
  border-radius: var(--vc-radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.vc-alert-error   { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #FCA5A5; }
.vc-alert-success { background: rgba(34,197,94,.1);  border: 1px solid rgba(34,197,94,.3); color: #86EFAC; }

/* ─── Tabs ───────────────────────────────────────────────────────────────────── */

.vc-tabs {
  display: flex;
  gap: 4px;
  background: #0E1420;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}

.vc-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--vc-text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.vc-tab.active { background: var(--vc-gold); color: var(--vc-bg); }

/* ─── Footer links ───────────────────────────────────────────────────────────── */

.vc-footer-link {
  text-align: center;
  color: var(--vc-text-muted);
  font-size: 13px;
  margin-top: 20px;
}

.vc-footer-link a { color: var(--vc-gold); text-decoration: none; font-weight: 600; }

/* ─── Dashboard layout ───────────────────────────────────────────────────────── */

.veyron-dashboard {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #070B12;
}

.vc-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #0D1421;
  border-right: 1px solid var(--vc-card-border);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.vc-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--vc-card-border);
  margin-bottom: 16px;
}

.vc-avatar {
  width: 40px; height: 40px;
  background: var(--vc-gold);
  color: var(--vc-bg);
  font-weight: 900;
  font-size: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vc-sidebar-name { font-weight: 700; font-size: 14px; color: var(--vc-text); }
.vc-sidebar-email { font-size: 11px; color: var(--vc-text-muted); }

.vc-sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }

.vc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--vc-radius-sm);
  color: var(--vc-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
}

.vc-nav-item:hover { background: rgba(240,180,41,.08); color: var(--vc-text); }
.vc-nav-item.active { background: rgba(240,180,41,.15); color: var(--vc-gold); font-weight: 700; }

.vc-sidebar-footer { padding: 16px 12px 0; border-top: 1px solid var(--vc-card-border); margin-top: 16px; }

.vc-main { 
  flex: 1;
  margin-left: 240px;
  padding: 32px;
  overflow-y: auto;
  min-height: 100vh;
}

.vc-page-title { font-size: 22px; font-weight: 700; color: var(--vc-text); margin: 0 0 24px; }
.vc-section-title { font-size: 16px; font-weight: 700; color: var(--vc-text); margin: 28px 0 14px; }

/* ─── Stats grid ─────────────────────────────────────────────────────────────── */

.vc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.vc-stat {
  background: var(--vc-card);
  border: 1px solid var(--vc-card-border);
  border-radius: var(--vc-radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vc-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--vc-text-muted); }
.vc-stat-value { font-size: 22px; font-weight: 800; color: var(--vc-gold); }

/* ─── Wallet card ────────────────────────────────────────────────────────────── */

.vc-wallet-card {
  background: linear-gradient(135deg, #141C2A 0%, #1E2A3D 100%);
  border: 1px solid var(--vc-gold);
  border-radius: var(--vc-radius);
  padding: 28px;
  margin-bottom: 24px;
}

.vc-wallet-balance { margin-bottom: 12px; }
.vc-balance-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--vc-text-muted); margin-bottom: 4px; }
.vc-balance-value { font-size: 36px; font-weight: 900; color: var(--vc-gold); font-family: 'Courier New', monospace; }
.vc-wallet-sub { display: flex; gap: 20px; font-size: 13px; color: var(--vc-text-muted); }

/* ─── Table ──────────────────────────────────────────────────────────────────── */

.vc-table-wrap { overflow-x: auto; }

.vc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.vc-table th {
  text-align: left;
  padding: 10px 14px;
  background: #0E1420;
  color: var(--vc-text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.vc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--vc-card-border);
  color: var(--vc-text);
}

.vc-table code {
  background: #0E1420;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--vc-gold);
}

/* ─── Status badges ──────────────────────────────────────────────────────────── */

.vc-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.vc-status-completed, .vc-status-active { background: rgba(34,197,94,.1); color: var(--vc-green); }
.vc-status-pending   { background: rgba(240,180,41,.1); color: var(--vc-gold); }
.vc-status-failed, .vc-status-refunded { background: rgba(239,68,68,.1); color: var(--vc-red); }

/* ─── Ledger ─────────────────────────────────────────────────────────────────── */

.vc-ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--vc-card-border);
  font-size: 14px;
}

/* ─── Products ───────────────────────────────────────────────────────────────── */

.vc-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.vc-search-form { display: flex; gap: 8px; }

.vc-search-input {
  background: var(--vc-card);
  border: 1px solid var(--vc-card-border);
  border-radius: var(--vc-radius-sm);
  color: var(--vc-text);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  min-width: 240px;
}

.vc-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.vc-cat-pill {
  background: var(--vc-card);
  border: 1px solid var(--vc-card-border);
  border-radius: 20px;
  color: var(--vc-text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  text-decoration: none;
  transition: all .15s;
}

.vc-cat-pill:hover, .vc-cat-pill.active {
  background: var(--vc-gold);
  color: var(--vc-bg);
  border-color: var(--vc-gold);
}

.vc-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.vc-product-card {
  background: var(--vc-card);
  border: 1px solid var(--vc-card-border);
  border-radius: var(--vc-radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.vc-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.vc-product-card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.vc-thumb-placeholder {
  height: 180px;
  background: #0E1420;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.vc-product-card-body { padding: 18px; }

.vc-product-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--vc-gold);
  font-weight: 700;
}

.vc-product-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--vc-text);
  margin: 6px 0 8px;
  line-height: 1.3;
}

.vc-product-card-desc {
  font-size: 13px;
  color: var(--vc-text-muted);
  margin: 0 0 14px;
  line-height: 1.6;
}

.vc-product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vc-product-card-price { font-size: 18px; font-weight: 800; color: var(--vc-gold); }

/* ─── Checkout ───────────────────────────────────────────────────────────────── */

.vc-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  max-width: 960px;
  margin: 40px auto;
}

.vc-product-thumb { width: 100%; border-radius: var(--vc-radius); margin-bottom: 20px; }
.vc-product-title { font-size: 24px; font-weight: 700; color: var(--vc-text); margin: 0 0 6px; }
.vc-product-store { color: var(--vc-text-muted); font-size: 14px; margin-bottom: 12px; }
.vc-product-desc  { color: var(--vc-text-muted); font-size: 15px; line-height: 1.7; }
.vc-price-compare { text-decoration: line-through; color: var(--vc-text-faint); font-size: 16px; margin-right: 8px; }
.vc-price-main    { font-size: 28px; font-weight: 900; color: var(--vc-gold); }
.vc-product-price { margin-top: 16px; }

.vc-checkout-form-wrap .vc-card { margin: 0; max-width: none; }

.vc-checkout-user {
  background: #0E1420;
  border-radius: var(--vc-radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--vc-text-muted);
  margin-bottom: 16px;
}

.vc-checkout-summary {
  background: #0E1420;
  border-radius: var(--vc-radius-sm);
  padding: 16px;
  margin: 16px 0;
}

.vc-checkout-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--vc-text-muted);
  padding-bottom: 10px;
}

.vc-checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: var(--vc-text);
  border-top: 1px solid var(--vc-card-border);
  padding-top: 10px;
}

.vc-total-amount { color: var(--vc-gold); }

.vc-checkout-note {
  text-align: center;
  font-size: 12px;
  color: var(--vc-text-faint);
  margin-top: 12px;
}

/* ─── Vendor ─────────────────────────────────────────────────────────────────── */

.vc-vendor-status-hero {
  text-align: center;
  padding: 20px;
}

.vc-status-badge {
  display: inline-block;
  background: rgba(240,180,41,.15);
  color: var(--vc-gold);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 16px;
  border-radius: 20px;
  margin: 8px 0;
}

.vc-vendor-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0E1420;
  border-radius: var(--vc-radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.vc-perk { font-size: 14px; color: var(--vc-green); font-weight: 500; }

/* ─── Vendor page specific ───────────────────────────────────────────────────── */

.vc-form-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--vc-gold);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--vc-card-border);
}

.vc-vendor-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.vc-vendor-badge-active  { background: rgba(34,197,94,.1);  color: #4ADE80; }
.vc-vendor-badge-pending { background: rgba(240,180,41,.1); color: #F0B429; }
.vc-vendor-badge-rejected{ background: rgba(239,68,68,.1);  color: #F87171; }

.vc-vendor-info {
  background: #0E1420;
  border: 1px solid var(--vc-card-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.vc-vendor-info-success { border-color: rgba(34,197,94,.3); }
.vc-vendor-info-error   { border-color: rgba(239,68,68,.3); }

.vc-vendor-info-icon { font-size: 32px; margin-bottom: 10px; }

.vc-vendor-info p {
  color: var(--vc-text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ─── Empty state ────────────────────────────────────────────────────────────── */

.vc-empty {
  text-align: center;
  color: var(--vc-text-muted);
  font-size: 15px;
  padding: 40px 20px;
}

.vc-empty a { color: var(--vc-gold); text-decoration: none; }

.vc-loading {
  text-align: center;
  color: var(--vc-text-muted);
  padding: 24px;
  font-size: 14px;
}

.vc-hint { font-size: 14px; color: var(--vc-text-muted); margin-top: 8px; }
.vc-hint a { color: var(--vc-gold); text-decoration: none; }

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

@media (max-width: 768px) {
  .vc-auth-card { padding: 32px 24px; }

  .vc-sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--vc-card-border);
  }

  .vc-main {
    margin-left: 0;
    padding: 20px 16px;
  }

  .veyron-dashboard { flex-direction: column; }

  .vc-sidebar-nav { flex-direction: row; flex-wrap: wrap; padding: 8px 12px; }

  .vc-nav-item { padding: 8px 10px; font-size: 12px; }

  .vc-checkout-grid { grid-template-columns: 1fr; }
  .vc-row-2 { grid-template-columns: 1fr; }
  .vc-card { padding: 24px 20px; }
  .veyron-products, .veyron-checkout { padding: 20px 16px; }
}

/* ─── Split page layout (login / register) ──────────────────────────────────── */

.vc-split-page {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #070B12;
}

.vc-split-left {
  width: 420px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0D1421 0%, #070B12 100%);
  border-right: 1px solid #1A2537;
  display: flex;
  flex-direction: column;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.vc-split-left::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,180,41,.08) 0%, transparent 70%);
  pointer-events: none;
}

.vc-split-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 60px;
}

.vc-logo-mark {
  background: #F0B429;
  color: #070B12;
  font-weight: 900;
  font-size: 20px;
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc-logo-name {
  font-size: 18px;
  font-weight: 800;
  color: #E8EDF5;
}

.vc-split-hero { flex: 1; }

.vc-split-headline {
  font-size: 28px;
  font-weight: 800;
  color: #E8EDF5;
  line-height: 1.3;
  margin: 0 0 14px;
}

.vc-split-sub {
  font-size: 15px;
  color: #4A5E78;
  line-height: 1.7;
  margin: 0 0 32px;
}

.vc-split-features { display: flex; flex-direction: column; gap: 14px; }

.vc-split-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #7A8BA8;
}

.vc-split-feature-dot {
  width: 8px; height: 8px;
  background: #F0B429;
  border-radius: 50%;
  flex-shrink: 0;
}

.vc-split-left-footer {
  font-size: 12px;
  color: #1E2A3D;
  margin-top: 40px;
}

.vc-split-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #070B12;
}

.vc-split-form-wrap {
  width: 100%;
  max-width: 440px;
}

.vc-split-form-header { margin-bottom: 28px; }

.vc-split-form-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #E8EDF5;
  margin: 0 0 8px;
}

.vc-split-form-header p {
  font-size: 14px;
  color: #4A5E78;
  margin: 0;
}

.vc-split-form-header a { color: #F0B429; text-decoration: none; font-weight: 600; }

.vc-split-terms {
  font-size: 12px;
  color: #2A3A55;
  margin-top: 16px;
  line-height: 1.6;
}

.vc-split-terms a { color: #3D4F6B; }

/* ─── Role tabs (register) ─────────────────────────────────────────────────── */

.vc-role-tabs {
  display: flex;
  gap: 4px;
  background: #0D1421;
  border: 1px solid #1A2537;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.vc-role-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #4A5E78;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 8px;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.vc-role-tab.active { background: #F0B429; color: #070B12; }
.vc-role-tab:hover:not(.active) { color: #C5D3E0; }

/* ─── Auth method tabs (login) ─────────────────────────────────────────────── */

.vc-auth-method-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid #1A2537;
}

.vc-auth-method-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #4A5E78;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  margin-bottom: -1px;
}

.vc-auth-method-tab.active { color: #F0B429; border-bottom-color: #F0B429; }
.vc-auth-method-tab:hover:not(.active) { color: #C5D3E0; }
.vc-tab-icon { font-size: 15px; }

/* ─── Role badges ──────────────────────────────────────────────────────────── */

.vc-user-role-badge { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }

.vc-rbadge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.vc-rbadge-vendor    { background: rgba(240,180,41,.15); color: #F0B429; }
.vc-rbadge-affiliate { background: rgba(139,92,246,.15); color: #A78BFA; }
.vc-rbadge-customer  { background: rgba(59,130,246,.12); color: #60A5FA; }

/* ─── Profile pic ──────────────────────────────────────────────────────────── */

.vc-avatar-wrap { flex-shrink: 0; }

.vc-avatar-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1A2537;
}

.vc-profile-pic-section { margin-bottom: 24px; }

.vc-profile-pic-wrap { display: flex; align-items: center; gap: 20px; }

.vc-profile-pic-preview {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1A2537;
}

.vc-profile-pic-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #F0B429;
  color: #070B12;
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #1A2537;
}

.vc-pic-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0D1421;
  border: 1px solid #1A2537;
  border-radius: 8px;
  color: #7A8BA8;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  transition: all .15s;
}

.vc-pic-upload-btn:hover { border-color: #F0B429; color: #F0B429; }

/* ─── Affiliate hero section ───────────────────────────────────────────────── */

.vc-aff-apply-hero {
  background: linear-gradient(135deg, #0D1421 0%, #111827 100%);
  border: 1px solid #1A2537;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.vc-aff-tiers {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.vc-aff-tier {
  flex: 1;
  background: #070B12;
  border: 1px solid #1A2537;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: border-color .2s;
}

.vc-aff-tier-active {
  border-color: #F0B429;
  background: rgba(240,180,41,.05);
}

.vc-aff-tier-pct {
  font-size: 28px;
  font-weight: 900;
  color: #F0B429;
  font-family: 'Courier New', monospace;
  margin-bottom: 4px;
}

.vc-aff-tier-label {
  font-size: 11px;
  color: #4A5E78;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* ─── Stat card color bar ───────────────────────────────────────────────────── */
.vc-stat { border-top: 2px solid var(--sc, #F0B429); }

/* ─── Responsive split layout ───────────────────────────────────────────────── */

@media (max-width: 860px) {
  .vc-split-page { flex-direction: column; }
  .vc-split-left {
    width: 100%;
    min-height: auto;
    padding: 28px 24px;
  }
  .vc-split-hero { display: none; }
  .vc-split-logo { margin-bottom: 0; }
  .vc-split-left-footer { display: none; }
  .vc-split-right { padding: 32px 20px; }
  .vc-split-form-wrap { max-width: 100%; }
}
