/* ══════════════════════════════════════════════════════════════════════════════
   SENTINEL DESIGN SYSTEM — BUY SAFE APP
   Verichain Consumer Verification PWA
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
  --surface:               #02132b;
  --surface-lowest:        #000e24;
  --surface-low:           #0a1c35;
  --surface-high:          #1a2a43;
  --surface-highest:       #243650;
  --surface-bright:        #293a53;
  --secondary:             #f9bc3d;
  --secondary-container:   #c28c00;
  --tertiary:              #63de8f;
  --tertiary-dim:          rgba(99, 222, 143, 0.12);
  --error:                 #cf3030;
  --error-dim:             rgba(207, 48, 48, 0.12);
  --warning:               #e67e22;
  --warning-dim:           rgba(230, 126, 34, 0.12);
  --amber:                 #f39c12;
  --amber-dim:             rgba(243, 156, 18, 0.12);
  --on-background:         #e8edf5;
  --on-surface-variant:    #8a9bb5;
  --outline-variant:       rgba(68, 71, 77, 0.2);
  --gold-gradient:         linear-gradient(135deg, #f9bc3d, #c28c00);
  --radius-sm:             0.375rem;
  --radius-md:             0.5rem;
  --radius-lg:             0.75rem;
  --radius-xl:             1.5rem;
  --radius-full:           9999px;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%; height: 100%; overflow: hidden;
  font-family: 'Inter', sans-serif;
  background: var(--surface-lowest);
  color: var(--on-background);
  -webkit-font-smoothing: antialiased;
}

/* ── SCREEN SYSTEM — instant transitions, no animation race conditions ──── */
.screen {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.screen.active {
  display: flex;
}

/* ── SPLASH SCREEN ───────────────────────────────────────────────────────── */
#screen-splash { background: var(--surface-lowest); }

.splash-body {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; gap: 3rem; position: relative;
}

.splash-logo {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}

.splash-icon {
  width: 96px; height: 96px; border-radius: 24px;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--surface);
  box-shadow: 0 0 60px rgba(249, 188, 61, 0.25);
  animation: splashPulse 2s ease infinite;
}

@keyframes splashPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(249, 188, 61, 0.25); }
  50% { box-shadow: 0 0 80px rgba(249, 188, 61, 0.4); }
}

.splash-logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--on-background);
}

.splash-tagline {
  font-size: 0.875rem; color: var(--secondary);
  font-style: italic; font-family: 'Inter', sans-serif;
}

.splash-loader {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem;
  width: 100%; max-width: 280px;
}

.splash-bar {
  width: 100%; height: 3px;
  background: var(--surface-high);
  border-radius: var(--radius-full); overflow: hidden;
}

.splash-bar-fill {
  height: 100%; width: 0%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.splash-loading-text { font-size: 0.8rem; color: var(--on-surface-variant); }

.splash-footer {
  position: absolute; bottom: 2rem;
  font-size: 0.75rem; color: var(--on-surface-variant);
}

/* ── HOME SCREEN ─────────────────────────────────────────────────────────── */
#screen-home { background: var(--surface-lowest); }

.home-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 3.5rem 1.5rem 1rem;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--on-background);
}

.icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--surface-high);
  border: 1px solid var(--outline-variant);
  color: var(--on-surface-variant);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}

.icon-btn:hover { background: var(--surface-highest); color: var(--on-background); }

.home-body {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem; gap: 3rem;
}

.home-tagline { text-align: center; }

.home-tagline h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem; font-weight: 800; line-height: 1.15;
  color: var(--on-background); margin-bottom: 0.75rem;
}

.home-tagline p {
  font-size: 0.9375rem; color: var(--on-surface-variant);
  max-width: 320px; margin: 0 auto; line-height: 1.6;
}

.scan-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  background: none; border: none; cursor: pointer;
  color: var(--on-background); padding: 1.5rem;
}

.scan-btn-icon {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--surface);
  box-shadow: 0 0 40px rgba(249, 188, 61, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.scan-btn:active .scan-btn-icon {
  transform: scale(0.95);
  box-shadow: 0 0 20px rgba(249, 188, 61, 0.15);
}

.scan-btn span {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.05em; color: var(--on-surface-variant);
}

.home-stats {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  width: 100%; max-width: 380px; justify-content: center;
}

.home-stat { text-align: center; }
.home-stat-value { display: block; font-family: 'Manrope', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--secondary); }
.home-stat-label { display: block; font-size: 0.7rem; color: var(--on-surface-variant); margin-top: 0.25rem; }
.home-stat-divider { width: 1px; height: 32px; background: var(--outline-variant); }

.home-footer { padding: 1.5rem; text-align: center; }
.home-footer p { font-size: 0.75rem; color: var(--on-surface-variant); }

/* ── SCANNER SCREEN ──────────────────────────────────────────────────────── */
#screen-scanner { background: #000; }

.scanner-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 3.5rem 1.5rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  color: #fff; font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem; font-weight: 600;
}

.back-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.back-btn:hover { background: rgba(255, 255, 255, 0.2); }

.scanner-body {
  flex: 1; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.scanner-viewport { position: relative; width: 100%; height: 100vh; overflow: hidden; }
#scannerVideo { width: 100%; height: 100%; object-fit: cover; }

.scanner-frame {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 260px;
}

.corner {
  position: absolute; width: 28px; height: 28px;
  border-color: var(--secondary); border-style: solid;
}
.corner.tl { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.corner.tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.corner.bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.corner.br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.scanner-line {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--gold-gradient); border-radius: 1px;
  top: 0; animation: scanLine 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(249, 188, 61, 0.6);
}

@keyframes scanLine { 0% { top: 8px; } 50% { top: calc(100% - 8px); } 100% { top: 8px; } }

.scanner-hint {
  position: absolute; bottom: 120px; left: 0; right: 0;
  text-align: center; font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7); padding: 0 2rem;
}

.scanner-loading {
  display: none; position: absolute; inset: 0;
  background: rgba(0, 14, 36, 0.9);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; z-index: 20;
}
.scanner-loading.visible { display: flex; }

.loading-spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--surface-high);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.scanner-loading p { font-size: 0.9rem; color: var(--on-surface-variant); }

/* ── RESULT SCREEN ───────────────────────────────────────────────────────── */
#screen-result { background: var(--surface-lowest); }

.result-screen { flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.result-header { padding: 3.5rem 1.5rem 0; }

.back-btn-result {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--surface-high);
  border: 1px solid var(--outline-variant);
  color: var(--on-surface-variant);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.back-btn-result:hover { background: var(--surface-highest); }

.result-body {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; padding: 2rem 1.5rem; gap: 1rem;
}

.result-icon-wrap {
  width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin-bottom: 0.5rem;
}
.result-icon-wrap.authentic { background: var(--tertiary-dim); color: var(--tertiary); }
.result-icon-wrap.recalled { background: var(--warning-dim); color: var(--warning); }
.result-icon-wrap.expired { background: var(--amber-dim); color: var(--amber); }
.result-icon-wrap.unverified { background: var(--error-dim); color: var(--error); }

.result-status {
  font-family: 'Manrope', sans-serif;
  font-size: 3.5rem; font-weight: 800;
  letter-spacing: -0.02em; text-align: center;
}
.result-status.authentic { color: var(--tertiary); }
.result-status.recalled { color: var(--warning); }
.result-status.expired { color: var(--amber); }
.result-status.unverified { color: var(--error); }

.result-message {
  font-size: 0.9375rem; color: var(--on-surface-variant);
  text-align: center; max-width: 280px; line-height: 1.5;
}

.result-details {
  width: 100%; background: var(--surface-high);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 1rem;
}

.result-detail-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; padding: 0.875rem 1.25rem; gap: 1rem;
}
.result-detail-row + .result-detail-row { border-top: 1px solid var(--outline-variant); }

.detail-label { font-size: 0.8125rem; color: var(--on-surface-variant); flex-shrink: 0; font-weight: 500; }
.detail-value { font-size: 0.875rem; color: var(--on-background); text-align: right; font-weight: 500; }

.result-footer { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.btn-scan-again {
  width: 100%; min-height: 56px;
  background: var(--gold-gradient); color: var(--surface);
  border: none; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-scan-again:hover { opacity: 0.9; }

.btn-report {
  width: 100%; min-height: 56px;
  background: transparent; color: var(--on-surface-variant);
  border: 1px solid var(--outline-variant); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 500;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.btn-report:hover { border-color: rgba(68, 71, 77, 0.5); color: var(--on-background); }

/* ── HISTORY SCREEN ──────────────────────────────────────────────────────── */
.history-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 3.5rem 1.5rem 1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--on-background);
  background: var(--surface-lowest);
  border-bottom: 1px solid var(--outline-variant);
}

.history-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; padding: 4rem 0; text-align: center;
}
.empty-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.empty-state p { font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 600; color: var(--on-background); }
.empty-state span { font-size: 0.875rem; color: var(--on-surface-variant); }

.history-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--outline-variant);
  cursor: pointer;
}

.history-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.history-dot.authentic { background: var(--tertiary); }
.history-dot.recalled { background: var(--warning); }
.history-dot.expired { background: var(--amber); }
.history-dot.unverified { background: var(--error); }

.history-info { flex: 1; }
.history-product { font-size: 0.875rem; font-weight: 500; color: var(--on-background); margin-bottom: 0.2rem; }
.history-meta { font-size: 0.75rem; color: var(--on-surface-variant); }

.history-badge {
  font-size: 0.7rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: var(--radius-full);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.history-badge.authentic { background: var(--tertiary-dim); color: var(--tertiary); }
.history-badge.recalled { background: var(--warning-dim); color: var(--warning); }
.history-badge.expired { background: var(--amber-dim); color: var(--amber); }
.history-badge.unverified { background: var(--error-dim); color: var(--error); }

/* ── REPORT SCREEN ───────────────────────────────────────────────────────── */
.report-body { flex: 1; padding: 1.5rem; overflow-y: auto; }

.report-intro {
  background: var(--surface-high); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.report-intro p { font-size: 0.875rem; color: var(--on-surface-variant); line-height: 1.6; }

.report-form { display: flex; flex-direction: column; gap: 0.5rem; }

.report-form label {
  font-size: 0.75rem; font-weight: 600;
  color: var(--on-surface-variant);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

.report-form input,
.report-form select,
.report-form textarea {
  background: var(--surface-high);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 0.875rem 1rem; color: var(--on-background);
  font-family: 'Inter', sans-serif; font-size: 0.9375rem;
  width: 100%; outline: none; transition: border-color 0.2s;
}
.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus { border-color: rgba(249, 188, 61, 0.5); }
.report-form select option { background: var(--surface-high); }

.btn-submit {
  margin-top: 1rem; width: 100%; min-height: 56px;
  background: var(--gold-gradient); color: var(--surface);
  border: none; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.9; }

.report-success {
  display: none; color: var(--tertiary);
  font-size: 0.875rem; text-align: center; margin-top: 0.75rem;
}

/* ── AUTH SCREEN ─────────────────────────────────────────────────────────── */
#screen-auth {
  background: var(--surface-lowest);
  overflow-y: auto;
}

.auth-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 1.5rem 2rem;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  gap: 1.5rem;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--on-background);
}

.auth-heading {
  text-align: center;
}

.auth-heading h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--on-background);
  margin-bottom: 0.75rem;
}

.auth-heading p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.auth-tabs {
  display: flex;
  width: 100%;
  background: var(--surface-high);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent;
  color: var(--on-surface-variant);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
  background: var(--surface-bright);
  color: var(--on-background);
  font-weight: 600;
}

.auth-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-google {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--surface-high);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  color: var(--on-background);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-google:hover {
  background: var(--surface-bright);
  border-color: rgba(68, 71, 77, 0.4);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--on-surface-variant);
  font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--outline-variant);
}

.auth-input {
  width: 100%;
  min-height: 52px;
  background: var(--surface-high);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  color: var(--on-background);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
}

.auth-input:focus {
  border-color: rgba(249, 188, 61, 0.5);
}

.auth-input::placeholder {
  color: var(--on-surface-variant);
}

.auth-error {
  font-size: 0.8125rem;
  color: var(--error);
  min-height: 1rem;
  text-align: center;
}

.btn-auth-primary {
  width: 100%;
  min-height: 52px;
  background: var(--gold-gradient);
  color: var(--surface);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-auth-primary:hover { opacity: 0.9; }
.btn-auth-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-auth-skip {
  background: none;
  border: none;
  color: var(--on-surface-variant);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.btn-auth-skip:hover { color: var(--on-background); }

/* ── USER AVATAR & MENU ──────────────────────────────────────────────────── */
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--surface);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.user-menu {
  position: absolute;
  top: 80px;
  right: 1.5rem;
  background: var(--surface-high);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 1rem;
  min-width: 220px;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.user-menu-info {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--outline-variant);
}

.user-menu-info p {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-background);
  margin-bottom: 0.25rem;
}

.user-menu-info span {
  font-size: 0.8125rem;
  color: var(--on-surface-variant);
}

.user-menu button {
  width: 100%;
  padding: 0.625rem;
  background: var(--error-dim);
  border: 1px solid rgba(207, 48, 48, 0.2);
  border-radius: var(--radius-sm);
  color: var(--error);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.user-menu button:hover { background: rgba(207, 48, 48, 0.2); }


/* ── HOME MINIMALIST UPDATE ───────────────────────────────────────────────── */
.home-sub {
  font-size: 0.9375rem;
  color: var(--on-surface-variant);
  text-align: center;
  margin-top: -1.5rem;
}

/* ── BOTTOM NAV ──────────────────────────────────────────────────────────── */
.bottom-nav {
  display: flex;
  border-top: 1px solid var(--outline-variant);
  background: var(--surface-low);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.5rem 1.25rem;
  background: none;
  border: none;
  color: var(--on-surface-variant);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.bottom-nav-item:hover {
  color: var(--secondary);
  background: var(--surface-high);
}

.bottom-nav-item svg {
  flex-shrink: 0;
}

/* ── VERIFIED PARTNERS SCREEN ────────────────────────────────────────────── */
.partners-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.partners-intro {
  background: var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--tertiary-dim);
  color: var(--tertiary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.partners-intro p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

.partners-list {
  flex: 1;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--outline-variant);
}

.partner-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.partner-info { flex: 1; }

.partner-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-background);
  margin-bottom: 0.2rem;
}

.partner-category {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

.partner-verified {
  color: var(--tertiary);
  font-size: 1rem;
}

.partners-request {
  background: var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}

.partners-request p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-bottom: 0.75rem;
}

.btn-request-brand {
  width: 100%;
  min-height: 48px;
  background: transparent;
  border: 1px solid var(--secondary);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-request-brand:hover {
  background: rgba(249, 188, 61, 0.08);
}

.request-brand-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.request-brand-form label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* ── HOME HEADER MARGIN FIX ──────────────────────────────────────────────── */
#screen-home .home-header {
  padding-top: 1rem;
}

/* ── BOTTOM NAV SEMANTIC COLOURS ─────────────────────────────────────────── */
.bottom-nav-item:nth-child(1) {
  color: var(--on-surface-variant);
}
.bottom-nav-item:nth-child(1):hover,
.bottom-nav-item:nth-child(1).active {
  color: var(--secondary);
}
 
.bottom-nav-item:nth-child(2) {
  color: var(--on-surface-variant);
}
.bottom-nav-item:nth-child(2):hover,
.bottom-nav-item:nth-child(2).active {
  color: var(--error);
}
 
.bottom-nav-item:nth-child(3) {
  color: var(--on-surface-variant);
}
.bottom-nav-item:nth-child(3):hover,
.bottom-nav-item:nth-child(3).active {
  color: var(--tertiary);
}
 
/* Apply colour immediately on icon and label together */
.bottom-nav-item:nth-child(1):hover svg,
.bottom-nav-item:nth-child(1):hover span { color: var(--secondary); }
 
.bottom-nav-item:nth-child(2):hover svg,
.bottom-nav-item:nth-child(2):hover span { color: var(--error); }
 
.bottom-nav-item:nth-child(3):hover svg,
.bottom-nav-item:nth-child(3):hover span { color: var(--tertiary); }