/* MagicBid dark brand panel — shared by auth pages, onboarding, application and review */
:root {
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --panel-bg: #0c1220;
  --panel-ink: #ffffff;
  --panel-muted: #c7cfdc;
  --panel-sub: #b4bdcc;
  --logo-h: 79px;
}

/* ---------- brand panel (left) ---------- */
.brand {
  order: -1;
  position: relative;
  color: var(--panel-ink);
  background: var(--panel-bg) url('brand-panel.png') center / cover no-repeat;
  padding: 62px 72px 60px;
  display: flex;
  flex-direction: column;
}
.brand-logo { height: var(--logo-h); width: auto; align-self: flex-start; margin-left: -16px; }
.brand-title {
  margin: 47px 0 0;
  font-size: 46px;
  line-height: 57px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #fff;
}
.brand-title em { font-style: normal; color: #ec1c2b; }
/* The auth pages drop the panel logo, so the headline leads the panel and the
   gap that cleared the logo would only push it off-centre. */
.brand > .brand-title:first-child { margin-top: 0; }
.brand-lead {
  margin: 8px 0 0;
  max-width: 430px;
  font-size: 21px;
  line-height: 29px;
  color: var(--panel-muted);
}
.perks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.perk {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
}
.perk-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #f5303f;
  background: linear-gradient(160deg, #421a2e 0%, #2b1626 55%, #22131f 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 6px 18px rgba(0, 0, 0, .35);
}
.perk-icon svg { width: 30px; height: 30px; filter: drop-shadow(0 0 7px rgba(240, 40, 60, .5)); }
.perk h3 { margin: 0; font-size: 17px; line-height: 22px; font-weight: 600; color: #fff; }
.perk p { margin: 3px 0 0; font-size: 15.5px; line-height: 20px; color: var(--panel-sub); }

@media (max-width: 1200px) {
  .brand { padding: 48px 48px 44px; }
  .brand-title { font-size: 40px; line-height: 50px; }
  .brand-lead { font-size: 19px; line-height: 27px; }
}
@media (max-width: 960px) {
  .brand { display: none; }
  :root { --logo-h: 64px; }
}

.brand { font-family: var(--font); }

/* ---- additions: steps list (onboard / application) ---- */
.brand-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #f5303f; }
.brand-title-sm { font-size: 34px; line-height: 42px; margin-top: 10px; }
.brand-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.brand-step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.brand-step-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; color: #f5303f; background: rgba(245,48,63,.12); border: 1px solid rgba(245,48,63,.45); }
.brand-step h3 { margin: 0; font-size: 15.5px; line-height: 21px; font-weight: 600; color: #fff; }
.brand-step p { margin: 3px 0 0; font-size: 14px; line-height: 20px; color: var(--panel-sub); }
.brand-footer { margin-top: auto; padding-top: 28px; font-size: 13px; line-height: 20px; color: var(--panel-sub); }
.brand-footer a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ---- additions: sidebar (review) ---- */
.brand-nav { margin: 32px 0 0; display: grid; gap: 6px; }
.brand-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--panel-muted); font-size: 15px; font-weight: 500; }
.brand-nav a.active, .brand-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.brand-user { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.brand-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #e11826, #ff5c36); }
.brand-user-meta { min-width: 0; }
.brand-user-name { font-size: 14.5px; font-weight: 600; color: #fff; }
.brand-user-email { font-size: 12.5px; color: var(--panel-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-signout { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; border-radius: 8px; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.brand-signout:hover { background: rgba(255,255,255,.1); }
