/* ================================================================
   SVB – Stolen Vehicle Bounty Platform  |  Frontend Styles
   ================================================================ */

:root {
  --svb-primary:    #2271b1;
  --svb-primary-dk: #135e96;
  --svb-success:    #00a32a;
  --svb-danger:     #d63638;
  --svb-warning:    #dba617;
  --svb-gray-100:   #f6f7f7;
  --svb-gray-200:   #dcdcde;
  --svb-gray-600:   #50575e;
  --svb-gray-900:   #1e1e1e;
  --svb-radius:     8px;
  --svb-shadow:     0 2px 12px rgba(0,0,0,.08);
  --svb-transition: .2s ease;
}

/* ── Reset / Base ─────────────────────────────────────────────── */
.svb-listings-wrap,
.svb-submit-wrap,
.svb-dashboard,
.svb-register-wrap,
.svb-claim-wrap,
.svb-search-wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--svb-gray-900);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.svb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--svb-radius);
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--svb-transition), transform var(--svb-transition);
}
.svb-btn:hover { transform: translateY(-1px); }
.svb-btn:active { transform: translateY(0); }

.svb-btn-primary  { background: var(--svb-primary); color: #fff; }
.svb-btn-primary:hover { background: var(--svb-primary-dk); color: #fff; }

.svb-btn-outline  { background: transparent; color: var(--svb-primary); border-color: var(--svb-primary); }
.svb-btn-outline:hover { background: var(--svb-primary); color: #fff; }

.svb-btn-large { padding: 13px 28px; font-size: 16px; }
.svb-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Notices ──────────────────────────────────────────────────── */
.svb-notice {
  padding: 14px 18px;
  border-radius: var(--svb-radius);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.svb-notice-info    { background: #e8f4fd; border-left: 4px solid var(--svb-primary); }
.svb-notice-success { background: #edfaef; border-left: 4px solid var(--svb-success); }
.svb-notice-warning { background: #fef8ee; border-left: 4px solid var(--svb-warning); }
.svb-error { color: var(--svb-danger); font-size: 13px; margin-top: 8px; }

/* ── Listings Header ──────────────────────────────────────────── */
.svb-listings-header { text-align: center; padding: 30px 0 10px; }
.svb-listings-header h2 { font-size: 28px; margin-bottom: 6px; }
.svb-listings-header p  { color: var(--svb-gray-600); }

/* ── Quick Search ─────────────────────────────────────────────── */
.svb-quick-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: var(--svb-gray-100);
  padding: 16px;
  border-radius: var(--svb-radius);
  margin-bottom: 28px;
}
.svb-quick-search input {
  flex: 1;
  min-width: 130px;
  padding: 9px 12px;
  border: 1px solid var(--svb-gray-200);
  border-radius: 6px;
  font-size: 14px;
}
.svb-quick-search input:focus { outline: none; border-color: var(--svb-primary); }

/* ── Listings Grid ────────────────────────────────────────────── */
.svb-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

/* ── Card ─────────────────────────────────────────────────────── */
.svb-card {
  background: #fff;
  border: 1px solid var(--svb-gray-200);
  border-radius: var(--svb-radius);
  box-shadow: var(--svb-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--svb-transition), transform var(--svb-transition);
}
.svb-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.svb-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--svb-primary);
  color: #fff;
}
.svb-plate {
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}
.svb-bounty {
  font-size: 20px;
  font-weight: 800;
  background: rgba(255,255,255,.2);
  padding: 3px 10px;
  border-radius: 20px;
}
.svb-card-body { padding: 16px 18px; flex: 1; }
.svb-card-body h3 { margin: 0 0 10px; font-size: 17px; }
.svb-card-body h3 small { font-size: 13px; color: var(--svb-gray-600); }
.svb-card-body p { margin: 4px 0; font-size: 13px; color: var(--svb-gray-600); }
.svb-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--svb-gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.svb-expires { font-size: 12px; color: var(--svb-gray-600); }

/* ── Forms ────────────────────────────────────────────────────── */
.svb-form-section {
  background: #fff;
  border: 1px solid var(--svb-gray-200);
  border-radius: var(--svb-radius);
  padding: 24px;
  margin-bottom: 20px;
}
.svb-form-section h3 { margin: 0 0 18px; font-size: 17px; }

.svb-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.svb-form-row label,
.svb-submit-wrap label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--svb-gray-600);
}
.svb-submit-wrap input[type="text"],
.svb-submit-wrap input[type="email"],
.svb-submit-wrap input[type="number"],
.svb-submit-wrap input[type="date"],
.svb-submit-wrap input[type="password"],
.svb-submit-wrap textarea,
.svb-register-wrap input,
.svb-claim-wrap input[type="text"],
.svb-claim-wrap textarea {
  padding: 9px 12px;
  border: 1px solid var(--svb-gray-200);
  border-radius: 6px;
  font-size: 14px;
  transition: border-color var(--svb-transition);
  font-family: inherit;
}
.svb-submit-wrap input:focus,
.svb-register-wrap input:focus,
.svb-claim-wrap input:focus,
.svb-claim-wrap textarea:focus {
  outline: none;
  border-color: var(--svb-primary);
  box-shadow: 0 0 0 3px rgba(34,113,177,.1);
}
.svb-hint { font-size: 13px; color: var(--svb-gray-600); margin-bottom: 12px; }

/* Split preview */
.svb-split-preview {
  background: var(--svb-gray-100);
  border-radius: 6px;
  padding: 14px 16px;
  margin-top: 12px;
}
.svb-split-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
}

/* Payment section */
.svb-payment-section { border-top: 3px solid var(--svb-primary); }
.svb-payment-summary { margin-bottom: 16px; font-size: 14px; }
.svb-police-check, .svb-police-confirm, .svb-terms-check { margin: 16px 0; }
.svb-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400; font-size: 14px; }
.svb-checkbox-label input { margin-top: 2px; flex-shrink: 0; }

#svb-payment-element { margin: 16px 0; }

/* ── Dashboard ────────────────────────────────────────────────── */
.svb-dashboard h2 { font-size: 26px; margin-bottom: 20px; }
.svb-dash-section {
  background: #fff;
  border: 1px solid var(--svb-gray-200);
  border-radius: var(--svb-radius);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--svb-shadow);
}
.svb-dash-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.svb-dash-section h3 { margin: 0 0 16px; }

/* Table */
.svb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.svb-table th, .svb-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--svb-gray-100); }
.svb-table th { background: var(--svb-gray-100); font-weight: 600; }
.svb-table tr:hover td { background: #fafafa; }

/* Badges */
.svb-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.svb-badge-active          { background: #edfaef; color: var(--svb-success); }
.svb-badge-pending         { background: #fef8ee; color: var(--svb-warning); }
.svb-badge-approved, .svb-badge-paid, .svb-badge-found { background: #edfaef; color: var(--svb-success); }
.svb-badge-rejected        { background: #fce8e8; color: var(--svb-danger); }
.svb-badge-claimed         { background: #e8f4fd; color: var(--svb-primary); }
.svb-badge-expired, .svb-badge-closed { background: var(--svb-gray-100); color: var(--svb-gray-600); }

/* Affiliate stats */
.svb-stats-row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.svb-stat {
  flex: 1;
  min-width: 120px;
  background: var(--svb-gray-100);
  border-radius: var(--svb-radius);
  padding: 16px;
  text-align: center;
}
.svb-stat span { display: block; font-size: 26px; font-weight: 800; color: var(--svb-primary); }
.svb-stat label { font-size: 13px; color: var(--svb-gray-600); }

.svb-referral-link { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svb-referral-link input {
  flex: 1;
  min-width: 200px;
  padding: 8px 12px;
  border: 1px solid var(--svb-gray-200);
  border-radius: 6px;
  font-size: 13px;
  background: var(--svb-gray-100);
}

/* ── Register Tabs ────────────────────────────────────────────── */
.svb-register-wrap { max-width: 560px; }
.svb-role-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.svb-tab {
  padding: 9px 16px;
  border: 2px solid var(--svb-gray-200);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--svb-transition);
}
.svb-tab.active  { border-color: var(--svb-primary); background: var(--svb-primary); color: #fff; }
.svb-role-desc   { font-size: 13px; color: var(--svb-gray-600); margin-bottom: 20px; min-height: 20px; }
.svb-login-link  { text-align: center; margin-top: 16px; font-size: 14px; }

/* ── Claim wrap ───────────────────────────────────────────────── */
.svb-claim-wrap { max-width: 700px; }
.svb-claim-vehicle-info {
  background: linear-gradient(135deg, var(--svb-primary), var(--svb-primary-dk));
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--svb-radius);
  margin-bottom: 24px;
}
.svb-claim-vehicle-info h3 { margin: 0 0 6px; }
.svb-claim-vehicle-info p  { margin: 4px 0; opacity: .9; font-size: 14px; }
.svb-bounty-big { font-size: 16px !important; opacity: 1 !important; margin-top: 10px !important; }
.svb-claim-wrap label {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--svb-gray-600);
  margin-bottom: 16px;
}
.svb-claim-wrap label small { font-weight: 400; color: var(--svb-gray-600); }

/* ── Empty states ─────────────────────────────────────────────── */
.svb-empty { color: var(--svb-gray-600); font-style: italic; padding: 20px 0; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  .svb-card-header { flex-direction: column; gap: 6px; text-align: center; }
  .svb-card-footer { flex-direction: column; align-items: stretch; }
  .svb-card-footer .svb-btn { text-align: center; justify-content: center; }
  .svb-quick-search { flex-direction: column; }
  .svb-dash-section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .svb-stats-row { flex-direction: column; }
}

/* ── Plate Search ─────────────────────────────────────────────── */
.svb-plate-search-box { max-width: 560px; margin: 0 auto; text-align: center; }
.svb-plate-label { font-size: 16px; font-weight: 700; color: var(--svb-gray-600); }
.svb-plate-input-wrap { display: flex; gap: 10px; margin-top: 8px; }
.svb-plate-input-wrap input {
  flex: 1;
  font-size: 26px;
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 4px;
  text-align: center;
  padding: 14px;
  border: 2px solid var(--svb-gray-200);
  border-radius: var(--svb-radius);
  text-transform: uppercase;
}
.svb-plate-input-wrap input:focus { border-color: var(--svb-primary); box-shadow: 0 0 0 3px rgba(34,113,177,.1); outline: none; }

/* ── Stolen Alert ─────────────────────────────────────────────── */
.svb-stolen-alert {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #d63638, #a12020);
  color: #fff;
  padding: 24px;
  border-radius: var(--svb-radius);
  margin-bottom: 20px;
}
.svb-stolen-icon { font-size: 48px; flex-shrink: 0; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
.svb-stolen-alert h2 { margin: 0 0 6px; font-size: 22px; }
.svb-stolen-alert p  { margin: 4px 0; opacity: .9; }
.svb-bounty-announce { font-size: 18px !important; opacity: 1 !important; font-weight: 700; }

/* ── Upload Area ──────────────────────────────────────────────── */
.svb-upload-area {
  border: 2px dashed var(--svb-gray-200);
  border-radius: var(--svb-radius);
  padding: 24px;
  text-align: center;
  transition: border-color var(--svb-transition), background var(--svb-transition);
  cursor: pointer;
}
.svb-upload-area.svb-drag-over { border-color: var(--svb-primary); background: rgba(34,113,177,.04); }
.svb-upload-placeholder p { margin: 10px 0 4px; color: var(--svb-gray-600); }
.svb-upload-placeholder small { color: var(--svb-gray-600); font-size: 12px; }

.svb-file-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.svb-file-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; font-size: 12px; color: var(--svb-gray-600);
  max-width: 100px;
}
.svb-file-item img { width: 90px; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid var(--svb-gray-200); }
.svb-file-item .svb-file-icon { font-size: 36px; }
.svb-upload-count { width: 100%; font-size: 13px; color: var(--svb-gray-600); margin-top: 6px; }

/* ── Owner Review Card ────────────────────────────────────────── */
.svb-urgent-section { border-left: 4px solid var(--svb-danger) !important; }
.svb-review-card {
  border: 1px solid var(--svb-gray-200);
  border-radius: var(--svb-radius);
  margin-bottom: 20px;
  overflow: hidden;
}
.svb-review-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px;
  background: var(--svb-gray-100);
  font-size: 14px;
}
.svb-bounty-tag { font-weight: 700; color: var(--svb-primary); font-size: 16px; }
.svb-review-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 18px;
}
@media (max-width:640px){ .svb-review-body { grid-template-columns:1fr; } }
.svb-review-body h4 { margin: 0 0 10px; font-size: 14px; color: var(--svb-gray-600); }
.svb-detail-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.svb-detail-table td { padding: 6px 8px; border-bottom: 1px solid var(--svb-gray-100); }
.svb-detail-table td:first-child { color: var(--svb-gray-600); white-space: nowrap; }

.svb-evidence-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.svb-evidence-item { width: 100px; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid var(--svb-gray-200); }
video.svb-evidence-item { width: 180px; height: 120px; }

.svb-review-actions {
  padding: 16px 18px;
  background: #fefefe;
  border-top: 1px solid var(--svb-gray-100);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.svb-review-question { margin: 0; font-weight: 600; font-size: 15px; flex: 1; min-width: 200px; }
.svb-honesty-check { margin: 16px 0; }

/* ── Referral Section ─────────────────────────────────────────── */
.svb-referral-section {
  background: var(--svb-gray-100);
  border: 1px solid var(--svb-gray-200);
  border-radius: var(--svb-radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.svb-referral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}
.svb-referral-mode-toggle {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--svb-gray-200);
  border-radius: 20px;
  padding: 3px;
}
.svb-ref-mode {
  padding: 4px 14px;
  border: none;
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--svb-gray-600);
  transition: all var(--svb-transition);
}
.svb-ref-mode.active { background: var(--svb-primary); color: #fff; }

.svb-ref-input-wrap label {
  font-size: 13px;
  font-weight: 600;
  color: var(--svb-gray-600);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svb-ref-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.svb-ref-code-row input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--svb-gray-200);
  border-radius: 6px;
  font-size: 16px;
}
.svb-ref-code-row input:focus { outline: none; border-color: var(--svb-primary); }

.svb-ref-status-badge { font-size: 18px; flex-shrink: 0; min-width: 28px; }
.svb-ref-valid   { color: var(--svb-success); }
.svb-ref-invalid { color: var(--svb-danger); }

.svb-ref-name-hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--svb-success);
  min-height: 18px;
}

.svb-ref-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--svb-gray-200);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}
.svb-ref-select:focus { outline: none; border-color: var(--svb-primary); }

/* Locked referral (came from link) */
.svb-referral-locked {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #edfaef;
  border: 1px solid #b3e6bc;
  border-radius: 8px;
  padding: 12px 16px;
}
.svb-ref-lock-icon { font-size: 28px; flex-shrink: 0; }
.svb-referral-locked strong { display: block; font-size: 15px; }
.svb-referral-locked p { margin: 2px 0 0; font-size: 13px; color: var(--svb-gray-600); }


/* ================================================================
   SVB NAV — Beautiful sticky navigation
   ================================================================ */

/* ── Nav shell ────────────────────────────────────────────────── */
.svb-nav {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 24px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
}
.svb-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 62px;
  gap: 4px;
}

/* ── Brand ────────────────────────────────────────────────────── */
.svb-nav-brand {
  font-size: 19px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: -.4px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.svb-nav-brand strong { color: #60a5fa; }
.svb-nav-brand::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

/* ── Nav links area ───────────────────────────────────────────── */
.svb-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

/* ── Individual links ─────────────────────────────────────────── */
.svb-nav-link {
  color: rgba(255,255,255,.7) !important;
  text-decoration: none !important;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
  position: relative;
}
.svb-nav-link:hover {
  background: rgba(255,255,255,.09);
  color: #fff !important;
}
.svb-nav-link.active {
  background: rgba(96,165,250,.15);
  color: #60a5fa !important;
}
.svb-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 13px; right: 13px;
  height: 2px;
  background: #60a5fa;
  border-radius: 2px;
}

/* ── Divider between main links and auth ──────────────────────── */
.svb-nav-divider {
  width: 1px; height: 24px;
  background: rgba(255,255,255,.12);
  margin: 0 8px;
}

/* ── Auth buttons ─────────────────────────────────────────────── */
.svb-nav-login-btn {
  margin-left: auto;
  color: rgba(255,255,255,.8) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}
.svb-nav-login-btn:hover {
  border-color: rgba(255,255,255,.4) !important;
  color: #fff !important;
}
.svb-nav-reg-btn {
  margin-left: 8px;
  background: #2563eb !important;
  color: #fff !important;
  border: 1px solid #3b82f6 !important;
  font-size: 13px !important;
  padding: 7px 16px !important;
}
.svb-nav-reg-btn:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
}

/* ── User pill ────────────────────────────────────────────────── */
.svb-nav-user-wrap { margin-left: auto; position: relative; }
.svb-nav-user-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 32px;
  padding: 5px 14px 5px 5px;
  color: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, border-color .15s;
}
.svb-nav-user-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
}
.svb-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
}
.svb-caret { font-size: 9px; opacity: .6; margin-left: 2px; }

/* ── Dropdown ─────────────────────────────────────────────────── */
.svb-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  display: none;
  overflow: hidden;
  z-index: 10000;
  animation: svb-dropdown-in .15s ease;
}
.svb-user-dropdown.open { display: block; }
@keyframes svb-dropdown-in {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.svb-dropdown-header {
  padding: 14px 16px 12px;
  background: linear-gradient(135deg,#f8faff,#eff6ff);
  border-bottom: 1px solid #e5e7eb;
}
.svb-dropdown-header strong { display:block; font-size:14px; color:#111; }
.svb-dropdown-header small  { color:#6b7280; font-size:12px; }
.svb-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: #374151 !important;
  text-decoration: none !important;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}
.svb-dropdown-item:hover { background: #f3f4f6; }
.svb-dropdown-divider { margin: 4px 0; border:none; border-top:1px solid #f3f4f6; }
.svb-dropdown-logout { color: #dc2626 !important; }

/* ── Hamburger ────────────────────────────────────────────────── */
.svb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.svb-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.svb-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.svb-hamburger.open span:nth-child(2) { opacity: 0; }
.svb-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .svb-hamburger { display: flex; }
  .svb-nav-links {
    display: none;
    position: absolute;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0f172a;
    padding: 12px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .svb-nav-links.open { display: flex; }
  .svb-nav-user-wrap { margin-left: 0; }
  .svb-nav-login-btn { margin-left: 0; }
  .svb-nav-reg-btn   { margin-left: 0; }
  .svb-nav-divider   { display: none; }
  .svb-user-dropdown { right: auto; left: 0; min-width: 100%; }
}

/* ── Login Modal ──────────────────────────────────────────────── */
.svb-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; padding: 20px;
  backdrop-filter: blur(4px);
  animation: svb-fade-in .2s ease;
}
@keyframes svb-fade-in { from{opacity:0} to{opacity:1} }
.svb-modal {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  width: 100%; max-width: 400px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  animation: svb-modal-in .2s ease;
}
@keyframes svb-modal-in {
  from { opacity:0; transform:translateY(12px) scale(.97); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.svb-modal h3 { margin:0 0 24px; font-size:22px; }
.svb-modal label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; color: #6b7280;
  margin-bottom: 16px;
}
.svb-modal input[type=text],
.svb-modal input[type=email],
.svb-modal input[type=password] {
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color .15s;
}
.svb-modal input:focus { outline:none; border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.12); }
.svb-modal-close {
  position: absolute; top: 16px; right: 18px;
  background: #f3f4f6; border: none; font-size: 16px;
  cursor: pointer; color: #6b7280;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.svb-modal-close:hover { background: #e5e7eb; color: #111; }
.svb-modal-footer { text-align:center; margin-top:18px; font-size:13px; color:#6b7280; }
.svb-modal-footer a { color: #2563eb; }

/* ── Search hero ──────────────────────────────────────────────── */
.svb-hero-search {
  text-align: center;
  padding: 40px 20px 30px;
  max-width: 600px;
  margin: 0 auto;
}
.svb-hero-search h2 { font-size: 28px; margin-bottom: 8px; }
.svb-hero-search p  { color: #6b7280; margin-bottom: 28px; }

.svb-plate-big-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.svb-plate-frame {
  display: flex;
  align-items: center;
  background: #fff;
  border: 3px solid #1e40af;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.svb-plate-gr {
  background: #1e40af;
  color: #fff;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.svb-plate-frame input {
  border: none !important;
  outline: none !important;
  font-family: "Courier New", monospace;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 5px;
  text-align: center;
  padding: 12px 20px;
  text-transform: uppercase;
  width: 220px;
  color: #0f172a;
  background: transparent;
}

/* ── Result boxes ─────────────────────────────────────────────── */
.svb-result-clean {
  text-align: center;
  padding: 40px 20px;
  animation: svb-fade-in .3s ease;
}
.svb-result-icon { font-size: 52px; margin-bottom: 12px; }
.svb-result-clean h3 { font-size: 22px; color: #16a34a; margin-bottom: 8px; }

.svb-stolen-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #991b1b, #dc2626);
  color: #fff;
  padding: 24px 28px;
  border-radius: 12px;
  margin-bottom: 16px;
  animation: svb-pulse-in .4s ease;
}
@keyframes svb-pulse-in {
  from { transform: scale(.96); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.svb-stolen-siren { font-size: 48px; animation: svb-siren 1s infinite alternate; }
@keyframes svb-siren { from{transform:scale(1)} to{transform:scale(1.12)} }
.svb-stolen-info h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: .5px; }
.svb-stolen-info p  { margin: 0 0 10px; opacity: .9; font-size: 14px; }
.svb-bounty-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
}

.svb-warning-box {
  background: #fefce8;
  border: 1px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}
.svb-login-required-box {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  font-size: 15px;
}

/* ── Report cards ─────────────────────────────────────────────── */
.svb-report-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.svb-report-card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  color: #374151;
}
.svb-report-card-body { padding: 20px; }
.svb-report-confirm-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
}

/* ── Dropzone ─────────────────────────────────────────────────── */
.svb-dropzone {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  transition: border-color .2s, background .2s;
  min-height: 120px;
}
.svb-dropzone.dragover { border-color: #3b82f6; background: #eff6ff; }
.svb-dropzone-inner {
  padding: 32px 20px;
  text-align: center;
}
.svb-dropzone-icon { font-size: 36px; margin-bottom: 10px; }
.svb-dropzone-inner p { margin: 0 0 10px; color: #6b7280; font-size: 14px; }
.svb-dropzone-inner small { color: #9ca3af; font-size: 12px; display: block; margin-top: 8px; }

.svb-file-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
}
.svb-preview-item {
  position: relative;
  width: 100px; height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
.svb-preview-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.svb-preview-video {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%;
  font-size: 24px;
  color: #6b7280;
}
.svb-preview-video span { font-size: 10px; margin-top: 4px; overflow: hidden; white-space: nowrap; max-width: 90px; text-overflow: ellipsis; }
.svb-preview-del {
  position: absolute; top: 3px; right: 3px;
  background: rgba(0,0,0,.55); color: #fff;
  border: none; border-radius: 50%;
  width: 20px; height: 20px; font-size: 10px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.svb-preview-add {
  width: 100px; height: 80px;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 13px;
  transition: border-color .15s, color .15s;
}
.svb-preview-add:hover { border-color: #3b82f6; color: #3b82f6; }

/* ── Progress bar ─────────────────────────────────────────────── */
.svb-progress-wrap { padding: 12px 20px 16px; }
.svb-progress-bar {
  background: #e5e7eb;
  border-radius: 10px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}
.svb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 10px;
  transition: width .3s;
  width: 0;
}

/* ── Success box ──────────────────────────────────────────────── */
.svb-success-box {
  text-align: center;
  padding: 40px 24px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  animation: svb-fade-in .4s ease;
}
.svb-success-icon { font-size: 52px; margin-bottom: 12px; }
.svb-success-box h3 { font-size: 22px; color: #16a34a; margin-bottom: 10px; }
.svb-success-box p  { color: #374151; margin: 4px 0; }

/* ── Dashboard tabs & welcome ─────────────────────────────────── */
.svb-welcome-bar {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff; padding: 22px 28px;
  border-radius: 14px; margin-bottom: 22px;
}
.svb-welcome-bar > div { display:flex; align-items:center; gap:14px; }
.svb-welcome-bar h2   { margin:0; font-size:20px; color:#fff; }
.svb-welcome-bar p    { margin:2px 0 0; opacity:.7; font-size:13px; }
.svb-welcome-avatar   { border-radius:50%; border:2px solid rgba(255,255,255,.3); }

.svb-dash-tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 22px;
  overflow-x: auto;
}
.svb-dash-tab {
  padding: 12px 22px;
  border: none; border-bottom: 3px solid transparent;
  background: transparent; margin-bottom: -2px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; color: #6b7280;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
  transition: color .15s;
}
.svb-dash-tab:hover   { color: #1d4ed8; }
.svb-dash-tab.active  { color: #1d4ed8; border-bottom-color: #1d4ed8; }
.svb-tab-badge {
  background: #dc2626; color: #fff;
  border-radius: 10px; padding: 1px 7px;
  font-size: 11px; font-weight: 700;
}
.svb-tab-badge-neutral { background: #2563eb; }

/* ── Misc ─────────────────────────────────────────────────────── */
.svb-btn-danger { background: #dc2626 !important; color:#fff !important; }
.svb-btn-danger:hover { background: #b91c1c !important; }

.svb-ref-editor-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.svb-ref-prefix { font-size:13px; color:#6b7280; white-space:nowrap; }
.svb-ref-editor input {
  flex:1; min-width:80px; padding:9px 12px;
  border:1px solid #e5e7eb; border-radius:6px;
  font-size:15px; font-family:monospace; font-weight:700;
}
.svb-ref-code-msg { margin-top:8px; font-size:13px; min-height:18px; }
.svb-ref-link-row { display:flex; align-items:center; gap:8px; margin-top:10px; flex-wrap:wrap; }
.svb-ref-link-row input {
  flex:1; padding:8px 12px; border:1px solid #e5e7eb;
  border-radius:6px; font-size:13px; background:#f9fafb;
}

.svb-empty-state { text-align:center; padding:40px 20px; color:#6b7280; }
.svb-empty-state p { font-size:16px; margin-bottom:16px; }
.svb-login-gate { text-align:center; padding:60px 20px; }
.svb-login-gate p { font-size:16px; margin-bottom:16px; color:#6b7280; }
.svb-login-wrap { max-width:420px; margin:0 auto; padding:20px 0; }
.svb-required { color:#dc2626; font-size:11px; margin-left:6px; font-weight:700; }

.svb-referral-section {
  background:#f8fafc; border:1px solid #e5e7eb;
  border-radius:10px; padding:16px 18px; margin-bottom:18px;
}
.svb-referral-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; font-weight:600; font-size:14px; }
.svb-referral-mode-toggle { display:flex; gap:4px; background:#fff; border:1px solid #e5e7eb; border-radius:20px; padding:3px; }
.svb-ref-mode { padding:4px 14px; border:none; border-radius:20px; background:transparent; font-size:13px; font-weight:600; cursor:pointer; color:#6b7280; transition:all .15s; }
.svb-ref-mode.active { background:#2563eb; color:#fff; }
.svb-ref-input-wrap label { font-size:13px; font-weight:600; color:#6b7280; display:flex; flex-direction:column; gap:6px; }
.svb-ref-code-row { display:flex; align-items:center; gap:10px; }
.svb-ref-code-row input { flex:1; padding:9px 12px; border:1px solid #e5e7eb; border-radius:6px; font-size:15px; font-family:monospace; }
.svb-ref-status-badge { font-size:18px; flex-shrink:0; min-width:28px; }
.svb-ref-valid   { color:#16a34a; }
.svb-ref-invalid { color:#dc2626; }
.svb-ref-name-hint { font-size:13px; font-weight:400; color:#16a34a; min-height:18px; }
.svb-ref-select { width:100%; padding:9px 12px; border:1px solid #e5e7eb; border-radius:6px; font-size:14px; background:#fff; }
.svb-referral-locked { display:flex; align-items:center; gap:14px; background:#f0fdf4; border:1px solid #86efac; border-radius:8px; padding:12px 16px; }
.svb-ref-lock-icon { font-size:28px; flex-shrink:0; }
.svb-referral-locked strong { display:block; font-size:15px; }
.svb-referral-locked p { margin:2px 0 0; font-size:13px; color:#6b7280; }
