/* YourCar — Luxury Dark Theme. body/.app #050505. .screen display:none / .active display:flex */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@700,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=JetBrains+Mono:wght@400;500;600;700&family=Montserrat:wght@300;400;600;700;800;900&display=swap');
:root {
  --font-satoshi: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-outfit: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  --black: #080808;
  --white: #ffffff;
  --neon: #E1FF00;
  --gold: #D4AF37;
  --neon-dim: rgba(232, 255, 0, 0.13);
  --neon-glow: rgba(232, 255, 0, 0.32);
  --cb: rgba(255, 255, 255, 0.08);
  --cb2: rgba(255, 255, 255, 0.16);
  --dim: rgba(255, 255, 255, 0.42);
  --surf: #111111;
  --surf2: #181818;
  --radius: 22px;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  /* UI Mulberry — carduri neon / negru, font minimalist */
  --mlb-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mlb-neon: #e1ff00;
  --mlb-neon-hover: #eeff66;
  --mlb-card-dark: #0a0a0a;
  --mlb-card-dark-border: rgba(225, 255, 0, 0.18);
  --red: #ff4444;
  --green: #22c55e;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body { display: flex; justify-content: center; }

.app {
  background-color: #f2f2f2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Ecrane mutu exclusive: un singur .active vizibil (inclusiv #s-profile-scan cu hidden+inline până la window.show). */
.screen {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  overflow-y: auto;
  min-height: 100vh;
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.screen.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  pointer-events: all;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: scale(1); } }
@keyframes neonPulse { 0%, 100% { box-shadow: 0 0 18px rgba(232,255,0,0.25); } 50% { box-shadow: 0 0 48px rgba(232,255,0,0.6); } }
@keyframes neonGlow { 0%, 100% { text-shadow: 0 0 8px rgba(232,255,0,0); } 50% { text-shadow: 0 0 20px rgba(232,255,0,0.5); } }
@keyframes cardEntrance { 0% { opacity: 0; transform: translateY(26px) scale(0.96); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes qrAppear { 0% { opacity: 0; transform: scale(0.65); } 100% { opacity: 1; transform: scale(1); } }
@keyframes navPop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

.scroll-body { flex: 1; overflow-y: auto; padding-bottom: 88px; }
.scroll-body::-webkit-scrollbar { width: 0; }

#s-login, #s-auth, #s-onboarding {
  background: var(--black);
  justify-content: flex-start;
  color: var(--white);
}

#s-dash {
  background: #ebebeb;
  color: #000000;
  font-family: var(--mlb-font);
}

/* Setări profil (MyMulberry) — card hero + gradient negru peste imagine */
#s-profile-settings {
  background: #0a0a0a;
  color: #ffffff;
  font-family: var(--mlb-font);
}

.profile-card-screen {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.profile-card-back {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.profile-card-back:active {
  transform: scale(0.96);
}

.profile-hero-card {
  flex: 0 0 auto;
  width: 100%;
  padding: 12px 12px 0;
  box-sizing: border-box;
}

.profile-hero-card__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: min(72vh, 620px);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.profile-hero-card__img {
  width: 100%;
  height: 100%;
  min-height: min(72vh, 620px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-hero-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.02) 38%,
    rgba(0, 0, 0, 0.55) 62%,
    rgba(0, 0, 0, 0.92) 88%,
    #000000 100%
  );
  pointer-events: none;
}

.profile-hero-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 20px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-display-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
}

.profile-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-verified__icon {
  width: 22px;
  height: 22px;
  color: var(--neon);
  filter: drop-shadow(0 0 6px rgba(225, 255, 0, 0.35));
}

.profile-bio {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
}

.profile-stats-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-stat {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-stat__val {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.profile-stat__star {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.profile-stat__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.profile-stat-divider {
  width: 1px;
  align-self: stretch;
  min-height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.profile-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.profile-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: var(--mlb-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.profile-btn-primary:active {
  transform: scale(0.98);
}

.profile-btn-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.profile-btn-icon:active {
  transform: scale(0.96);
}

.profile-model-img-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(225, 255, 0, 0.98);
  border: 1px solid rgba(225, 255, 0, 0.28);
}

.profile-settings-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-settings-article--below {
  padding: 24px 18px max(32px, env(safe-area-inset-bottom));
  background: #0f0f0f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-settings-article--below .profile-model-title-line {
  color: rgba(255, 255, 255, 0.95);
}

.profile-settings-article--below .profile-model-vin-line {
  color: rgba(255, 255, 255, 0.5);
}

.profile-settings-article--below .profile-model-h3 {
  color: rgba(255, 255, 255, 0.45);
}

.profile-settings-article--below .profile-narrative-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin:0 0 10px;
  line-height: 1.4;
}

.profile-settings-article--below .profile-narrative-refresh {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
  background: var(--neon, #e1ff00);
  border: 1px solid rgba(225, 255, 0, 0.5);
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.profile-settings-article--below .profile-narrative-refresh:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.profile-settings-article--below .profile-caps-list {
  color: rgba(255, 255, 255, 0.82);
}

.profile-settings-article--below .profile-model-p {
  color: rgba(255, 255, 255, 0.84);
}

.profile-settings-article--below .profile-model-p--dim {
  color: rgba(255, 255, 255, 0.48);
}

.profile-model-block--literary .profile-literary-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.94);
}

.profile-model-block--literary .profile-literary-p {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}

.profile-model-block--literary .profile-model-p em {
  font-style: italic;
  color: rgba(225, 255, 0, 0.88);
  font-weight: 600;
}

.profile-model-block--literary .profile-literary-footnote {
  margin-top: 1.25rem;
  font-style: italic;
  line-height: 1.55;
}

.profile-model-title-line {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
  line-height: 1.35;
}

.profile-model-vin-line {
  margin: 0 0 20px;
  font-size: 13px;
  font-family: var(--mono);
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.45;
  word-break: break-all;
}

.profile-model-h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

.profile-model-block {
  margin-bottom: 22px;
}

.profile-caps-list {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.58;
  color: rgba(0, 0, 0, 0.82);
}

.profile-caps-list li {
  margin-bottom: 10px;
}

.profile-caps-list li:last-child {
  margin-bottom: 0;
}

.profile-model-p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(0, 0, 0, 0.84);
}

.profile-model-p--dim {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.52);
  margin-bottom: 0;
}

.profile-model-block--history .profile-model-p:last-child {
  margin-bottom: 0;
}

/* Minimalist login/onboarding overrides */
#s-login .flabel,
#s-auth .flabel{
  font-weight: 550;
  color: rgba(255,255,255,0.62);
  letter-spacing: .01em;
}

#s-login .finput,
#s-auth .finput{
  padding: 12px 14px;
  font-weight: 500;
  border-radius: 14px;
}

#s-login .finput::placeholder,
#s-auth .finput::placeholder{
  color: rgba(255,255,255,0.34);
  font-weight: 500;
}

#s-login .btn,
#s-auth .btn{
  font-weight: 500;
  padding: 13px 16px;
  border-radius: 14px;
}

#s-login .btn.btn-neon,
#s-auth .btn.btn-neon{
  font-weight: 600;
  animation: none;
}

#s-login .divider span,
#s-auth .divider span{
  font-weight: 650;
}

/* Reduce card/padding on login form */
#s-login .auth-wrap .step-body{
  max-width: 340px;
  padding: 12px;
  border-radius: 18px;
}

#s-login .login-logo{
  margin-bottom: 26px;
  gap: 10px;
}

#s-login .login-h{
  font-weight: 700;
  letter-spacing: -1.2px;
}

/* On onboarding: tighter spacing */
#s-auth .step-body{
  gap: 10px;
  padding-bottom: 12px;
}

.login-top, .auth-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  overflow-y: auto;
}

/* Form fields (login + onboarding) */
.step-body{
  display:flex;
  flex-direction:column;
  gap: 12px;
  padding-bottom: 24px;
}

.field{ display:flex; flex-direction:column; gap: 6px; }
.flabel{
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.72);
  letter-spacing: .02em;
}
.finput{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--cb2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  outline: none;
  font-size: 14px;
  font-weight: 650;
}
.finput::placeholder{ color: rgba(255,255,255,0.38); font-weight: 600; }
.finput:focus{
  border-color: rgba(225,255,0,0.55);
  box-shadow: 0 0 0 3px rgba(225,255,0,0.12);
}
select.finput{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.pass-wrap{ position: relative; }
.pass-wrap .finput{
  padding-right: 48px;
}
.pass-eye{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pass-eye svg{ width: 18px; height: 18px; stroke: currentColor; }

.divider{
  margin: 8px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  font-weight: 800;
}
.divider:before, .divider:after{
  content:'';
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,0.10);
}
.divider span{ padding: 0 4px; }
.ferr{ min-height: 14px; font-size: 12px; color: var(--red); }
.fhint{ font-size: 12px; color: rgba(255,255,255,0.42); }

.login-top { align-items: center; justify-content: center; padding: 64px 32px 44px; }
.login-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 44px; }
.logo-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  position: relative;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(225,255,0,0.22), rgba(225,255,0,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 16px 42px rgba(0,0,0,0.55),
    0 0 0 1px rgba(225,255,0,0.14),
    0 0 26px rgba(225,255,0,0.18);
}
.logo-icon-wrap:before{
  content:'M';
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  letter-spacing: -0.06em;
  font-size: 30px;
  color: rgba(255,255,255,0.90);
  text-shadow: 0 0 14px rgba(225,255,0,0.22);
}
.logo-icon-wrap:after{
  content:'';
  position:absolute;
  inset: -1px;
  border-radius: 22px;
  pointer-events:none;
  background: radial-gradient(60% 80% at 30% 15%, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%);
  mix-blend-mode: screen;
  opacity: .55;
}

/* Logo PNG (fără litera M) — login */
.logo-icon-wrap--brand {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(225, 255, 0, 0.2);
}
.logo-icon-wrap--brand:before,
.logo-icon-wrap--brand:after {
  display: none !important;
  content: none !important;
}
.logo-icon-wrap--brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.login-h { font-size: 38px; font-weight: 900; color: var(--white); letter-spacing: -1.5px; }
.login-h span { color: var(--neon); animation: neonGlow 2.5s ease-in-out infinite; }
.login-tag { font-size: 13px; color: var(--dim); text-align: center; max-width: 230px; }
.login-btns { display: flex; flex-direction: column; gap: 11px; padding: 0 28px 32px; }

/* Premium login layout — fotografie mașină noapte (assets/mulberry-login-bg.png) */
#s-login{
  background-color: var(--black);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.72) 100%),
    url("assets/mulberry-login-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
#s-login .auth-wrap{
  padding: 0 22px 34px;
  align-items: center;
}
#s-login .auth-wrap .step-body{
  width: 100%;
  max-width: 360px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* Formular login: câmpuri și butoane separate clar (gap nu se moștenea în <form>) */
#s-login .auth-wrap .step-body > form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#s-login .auth-wrap .step-body .field {
  gap: 8px;
}
#s-login .auth-wrap .divider{ margin: 10px 0 6px; }
#s-login .auth-wrap .btn{ border-radius: 16px; }
#s-login .auth-wrap .btn.btn-neon{ border-radius: 16px; }

.btn {
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--cb2);
  background: var(--surf);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  transition: all 0.18s ease;
}

.btn:hover { border-color: rgba(255,255,255,0.3); background: var(--surf2); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn.btn-neon {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--black);
  font-weight: 800;
  box-shadow: 0 0 28px var(--neon-glow);
  animation: neonPulse 2.8s ease-in-out infinite;
}
.btn.btn-neon:hover { box-shadow: 0 0 52px var(--neon-glow); transform: translateY(-2px); animation: none; }
.btn.btn-neon.auth-btn-loading {
  animation: none;
  pointer-events: none;
  opacity: 0.92;
}
@keyframes auth-loading-dot {
  0%, 80%, 100% { opacity: 0.2; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.auth-btn-loading .auth-loading-dots span {
  display: inline-block;
  width: 0.35em;
  text-align: center;
  animation: auth-loading-dot 1s ease-in-out infinite;
}
.auth-btn-loading .auth-loading-dots span:nth-child(2) { animation-delay: 0.15s; }
.auth-btn-loading .auth-loading-dots span:nth-child(3) { animation-delay: 0.3s; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Dashboard Styles (dark like reference) */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: transparent;
  color: #000000;
  padding-top: 50px; /* Space for notch */
}

/* Logo Mulberry în antet (profil / dashboard) */
.header-brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  background: var(--neon);
}
.header-mulberry-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

/* fallback dacă mai există spacer vechi */
.header-left-spacer {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-scan-qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 0 10px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(225, 255, 0, 0.35);
  color: rgba(0, 0, 0, 0.82);
  font-family: var(--font-satoshi);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
}
.header-scan-qr-btn svg { flex-shrink: 0; opacity: 0.85; }
.header-scan-qr-btn:active { transform: scale(0.97); }

.header-more-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: rgba(0,0,0,0.72);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}
.header-more-btn:active { transform: scale(0.96); }

.user-info {
  flex-grow: 1;
  margin-left: 15px;
}

.welcome-text {
  font-family: var(--font-satoshi);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: rgba(0,0,0,0.94);
}

.user-name {
  font-family: var(--font-satoshi);
  font-size: 24px;
  font-weight: 700;
  color: var(--neon);
}

.user-desc {
  font-family: var(--font-satoshi);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.55);
  margin-top: 4px;
  line-height: 1.4;
}

/* Email sub „Mulberry” — buton; devine portocaliu la tap înainte de navigare Hub */
button.user-email-btn {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 4px 6px;
  margin: 4px -6px 0;
  font-family: var(--font-satoshi);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.35;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
button.user-email-btn:hover {
  color: rgba(0, 0, 0, 0.78);
  background: rgba(0, 0, 0, 0.04);
}
button.user-email-btn.user-email-btn--active {
  color: #ea580c;
  background: rgba(234, 88, 12, 0.1);
}
button.user-email-btn:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.45);
  outline-offset: 2px;
}

.header-icon {
  width: 24px;
  height: 24px;
  background-color: #EEEEEE;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-notification-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0;
  cursor: pointer;
  color: rgba(0,0,0,0.72);
  font: inherit;
}
.header-notification-icon svg{ width:20px; height:20px; opacity:.8; }

/* Dash layout primitives used in mulberry.html */
.dash-content{
  padding: 0 20px 20px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

/* Main card Apple-style (identitate doar) */
.mulberry-id-card{
  background-color: #E1FF00;
  border-radius: 28px;
  padding: 24px;
  margin: 20px auto 8px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 40px rgba(225, 255, 0, 0.40);
  color: #000;
  position: relative;
  height: 220px;
  display:flex;
  flex-direction:column;
}
.mulberry-id-card .brand-id{
  font-size: 13px;
  font-weight: 600;
  opacity: .9;
}
.car-model{
  margin-top: 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.vin-code{
  margin-top: 8px;
  font-size: 12px;
  font-family: var(--font-satoshi);
  font-weight: 700;
  opacity: .85;
  letter-spacing: 0.06em;
}
.plate-number{
  margin-top: auto;
  font-size: 18px;
  font-weight: 650;
  opacity: .85;
  letter-spacing: .03em;
}
.mlbr-code{
  margin-top: 6px;
  font-size: 11px;
  font-family: var(--font-satoshi);
  font-weight: 800;
  opacity: .92;
  letter-spacing: 0.08em;
}

.score-status{
  margin-top: 10px;
  font-size: 12px;
  opacity: .65;
  line-height: 1.35;
}

/* Mulberry Assistant — neon glass: mai cețos decât cardurile solide; la apăsare devine negru */
.assistant-card{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  padding: 14px 16px 16px;
  margin: 8px auto;
  width: 90%;
  max-width: 400px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--mlb-font);
  /* sticlă galben-neon, mai „în ceață” decât cardurile opace */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(225, 255, 0, 0.14) 42%,
    rgba(200, 255, 80, 0.1) 100%
  );
  backdrop-filter: blur(32px) saturate(1.45);
  -webkit-backdrop-filter: blur(32px) saturate(1.45);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(225, 255, 0, 0.22),
    0 4px 24px rgba(225, 255, 0, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.2s ease,
    backdrop-filter 0.28s ease;
}
.assistant-card::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120% 80% at 20% 0%,
    rgba(255, 255, 255, 0.45) 0%,
    transparent 55%
  );
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.28s ease;
}
.assistant-card > *{
  position: relative;
  z-index: 1;
}
.assistant-card:hover{
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(225, 255, 0, 0.35),
    0 8px 32px rgba(225, 255, 0, 0.18),
    0 16px 48px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}
.assistant-card:active{
  background: #0a0a0a;
  backdrop-filter: blur(16px) saturate(1);
  -webkit-backdrop-filter: blur(16px) saturate(1);
  border-color: rgba(225, 255, 0, 0.35);
  box-shadow:
    0 0 0 1px rgba(225, 255, 0, 0.2),
    0 4px 28px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: scale(0.992);
}
.assistant-card:active::before{
  opacity: 0.12;
  background: radial-gradient(ellipse at 50% 0%, rgba(225, 255, 0, 0.15), transparent 60%);
}
.assistant-card:focus-visible{
  outline: 2px solid rgba(225, 255, 0, 0.65);
  outline-offset: 3px;
}
.assistant-card .chat-input-container{
  cursor: text;
}

.assistant-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.assistant-preview-strip{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.25s ease;
}
.assistant-card:active .assistant-preview-strip{
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.assistant-preview-soft{
  font-family: 'JetBrains Mono', var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.assistant-card:active .assistant-preview-soft{
  color: rgba(225, 255, 0, 0.78);
}
.assistant-preview-chat{
  font-size: 12px;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}
.assistant-card:active .assistant-preview-chat{
  color: rgba(255, 255, 255, 0.68);
}

.assistant-title{
  flex: 1;
  min-width: 0;
  color: #0a0a0a;
  font-family: var(--mlb-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}
.assistant-card:active .assistant-title{
  color: var(--mlb-neon, #e1ff00);
}

a.assistant-expand-icon{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
a.assistant-expand-icon svg{
  width: 18px;
  height: 18px;
}
a.assistant-expand-icon:hover,
a.assistant-expand-icon:focus-visible{
  color: #000;
  background: rgba(0, 0, 0, 0.08);
  outline: none;
}
.assistant-card:hover a.assistant-expand-icon{
  color: rgba(0, 0, 0, 0.65);
}
.assistant-card:active a.assistant-expand-icon{
  color: var(--mlb-neon, #e1ff00);
  background: rgba(225, 255, 0, 0.12);
}

.chat-input-container{
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  gap: 8px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.assistant-card:active .chat-input-container{
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(225, 255, 0, 0.28);
}

#assistant-input{
  background: transparent;
  border: none;
  color: #0a0a0a;
  width: 100%;
  padding: 10px;
  outline: none;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--mlb-font);
  transition: color 0.25s ease;
}
.assistant-card:active #assistant-input{
  color: rgba(255, 255, 255, 0.95);
}

#assistant-input::placeholder{
  color: rgba(0,0,0,0.35);
  font-weight: 400;
  transition: color 0.25s ease;
}
.assistant-card:active #assistant-input::placeholder{
  color: rgba(255, 255, 255, 0.42);
}

#send-to-ai{
  background: #0a0a0a;
  border: none;
  color: var(--mlb-neon);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.assistant-card:active #send-to-ai{
  background: var(--mlb-neon, #e1ff00);
  color: #0a0a0a;
}

#send-to-ai:hover{
  transform: scale(1.06);
  color: #0a0a0a;
  background: var(--mlb-neon-hover, #eeff66);
}

#send-to-ai svg{
  width: 20px;
  height: 20px;
}

.assistant-response{
  margin-top: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  color: #111;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  font-family: var(--mlb-font);
  min-height: 0;
  display: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.assistant-card:active .assistant-response{
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.assistant-response.show{
  display: block;
}

.pending-tasks-section{
  background: #000000;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 16px;
  color: #FFFFFF;
}

/* Preview SoftScore — aceeași înălțime ca module-card, font Montserrat */
.softscore-preview-card {
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
}
.softscore-preview-card .mulberry-card-title {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
}
.softscore-preview-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.softscore-preview-soft {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  margin-bottom: 4px;
}
.softscore-preview-price {
  font-size: 22px;
  font-weight: 800;
  color: #E1FF00;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.softscore-preview-assist-hint {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.softscore-preview-depr {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
  margin-top: 4px;
}
.softscore-preview-meta {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.48);
  margin-top: 8px;
}

/* Mulberry Reminder — foaie tip Apple */
.apple-sheet-ov {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.apple-sheet-ov.active {
  display: flex;
}
.apple-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.apple-sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 78vh;
  overflow: auto;
  background: #f2f2f7;
  border-radius: 16px 16px 0 0;
  padding: 8px 16px 28px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
  animation: appleSheetUp 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes appleSheetUp {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.apple-sheet-handle {
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: rgba(0,0,0,0.12);
  margin: 6px auto 14px;
}
.apple-sheet-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.apple-group {
  margin-bottom: 20px;
}
.apple-group-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 16px 8px;
}
.apple-group-body {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.apple-row {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 400;
  color: #000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
}
.apple-row:last-child { border-bottom: none; }
.apple-row:active { background: rgba(0,0,0,0.04); }
.apple-row-muted {
  font-size: 15px;
  color: rgba(0,0,0,0.35);
}

/* MulberryHub — foaie mare (meniu principal ⋯) */
.mulberry-lib-sheet {
  max-width: min(100%, 520px) !important;
  max-height: min(88vh, 720px) !important;
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)) !important;
}
.mulberry-lib-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 8px 20px;
  margin-bottom: 4px;
}
.mulberry-lib-head img {
  border-radius: 12px;
  flex-shrink: 0;
}
.mulberry-lib-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000;
  line-height: 1.2;
}
.mulberry-lib-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(0,0,0,0.45);
  margin-top: 4px;
  line-height: 1.35;
}
a.apple-row.mulberry-lib-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 16px;
}
.mlb-r-title {
  font-size: 17px;
  font-weight: 600;
  color: #000;
}
.mlb-r-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(0,0,0,0.45);
  line-height: 1.35;
}

/* MulberryHub — preview profil MyMulberry (imagine + sefanlazar) */
.apple-group-body--mymulberry {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hub-mymulberry-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}
.hub-mymulberry-preview:active {
  background: rgba(0, 0, 0, 0.04);
}
.hub-mymulberry-preview:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.45);
  outline-offset: -2px;
}
.hub-mymulberry-preview__thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.hub-mymulberry-preview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-mymulberry-preview__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.hub-mymulberry-preview__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000;
  line-height: 1.2;
}
.hub-mymulberry-preview__vin {
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.apple-row.mulberry-lib-row--profile {
  border-top: none;
}

.header-brand-mark.header-brand-mark--tap {
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.15s ease, transform 0.12s ease;
  border: none;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 0;
  display: block;
}
.header-brand-mark.header-brand-mark--tap:active {
  transform: scale(0.96);
  opacity: 0.92;
}

.section-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.section-title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  opacity: .85;
  color: rgba(255,255,255,0.72);
  display:flex;
  align-items:center;
  gap: 8px;
}
.section-title:before{
  content:'';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(225,255,0,0.18);
  border: 1px solid rgba(225,255,0,0.22);
}
.show-all-btn{
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  cursor: pointer;
  opacity: .75;
  color: rgba(255,255,255,0.72);
}
.show-all-btn:hover{ opacity: .9; }

.task-list{ display:flex; flex-direction:column; gap: 10px; }
.task-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  cursor:pointer;
}
.task-icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0,0,0,0.04);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.task-icon svg{ width:18px; height:18px; opacity:.75; }
.task-details{ flex: 1; min-width: 0; }
.task-title{ font-size: 13px; font-weight: 800; color:#FFFFFF; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:.95; }
.task-meta{ margin-top: 2px; font-size: 12px; opacity: .7; color: rgba(255,255,255,0.78); }
.task-action-btn{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
  cursor:pointer;
  white-space:nowrap;
  color: rgba(255,255,255,0.92);
}
.task-action-btn:hover{ background: rgba(255,255,255,0.10); }

/* Bottom tab bar — mulberry.html: negru glass minimalist; ascuns la scroll până la pauză */
.bottom-tab-bar{
  position: fixed;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: auto;
  min-width: min(260px, calc(100vw - 48px));
  max-width: 320px;
  padding: 5px 6px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2px;
  z-index: 999;
  border-radius: 999px;
  background: rgba(6, 6, 6, 0.55);
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition:
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.28s ease;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.bottom-tab-bar.bottom-tab-bar--hidden{
  transform: translate3d(-50%, calc(100% + 18px), 0);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .bottom-tab-bar{
    transition-duration: 0.15s;
  }
}
.tab-item{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 5px 6px 6px;
  min-height: 0;
  border-radius: 999px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.18s ease, background 0.18s ease;
  font-family: var(--mlb-font, system-ui, sans-serif);
}
.tab-item svg{
  width: 15px;
  height: 15px;
  opacity: 0.88;
  stroke-width: 2;
}
.tab-item span{
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.tab-item.active{
  background: rgba(255, 255, 255, 0.07);
  color: rgba(225, 255, 0, 0.92);
}
.tab-item.active svg{
  opacity: 1;
}

.bottom-tab-bar .tab-item:active{
  transform: scale(0.96);
  opacity: 0.92;
}

.mulberry-id-card {
  background-color: #E1FF00; /* Neon Yellow */
  border-radius: 28px;
  padding: 24px;
  margin: 20px auto 8px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 30px rgba(225, 255, 0, 0.3);
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 220px; /* Fixed height for clean look */
  position: relative;
  overflow: hidden;
}

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

.brand-id {
  font-size: 16px;
  font-weight: bold;
}

.mlbr-code-display {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.7;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center the car model */
  text-align: center;
}

.car-model {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.vin-code {
  font-size: 12px;
  font-family: var(--font-satoshi);
  font-weight: 700;
  opacity: .85;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

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

.plate-number {
  font-size: 18px;
  font-weight: 650;
  margin-top: auto;
  opacity: .85;
  letter-spacing: .03em;
}

#qrcode-mini {
  /* keep existing */
}

.mlbr-code{
  margin-top: 6px;
  font-size: 11px;
  font-family: var(--font-satoshi);
  font-weight: 800;
  opacity: .92;
  letter-spacing: 0.08em;
}

#qrcode-mini {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 24px; /* Adjust as needed */
  right: 24px; /* Adjust as needed */
}

.modules-container {
  padding: 0 20px;
  margin-top: 20px;
}

.module-card.dark {
  background-color: #000000; /* Negru */
  color: #FFFFFF; /* Text alb */
  border-radius: 20px;
  padding: 20px;
  margin: 0 auto 15px;
  width: 90%;
  max-width: 400px;
  cursor: pointer;
  transition: transform 0.2s;
}

.module-card.dark:hover {
  transform: scale(1.02);
}

.module-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.module-card .score-text {
  font-size: 14px;
  opacity: 0.8;
}

.cloud-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.cloud-actions button {
  background-color: #333333;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

.cloud-actions button:hover {
  background-color: #555555;
}

.bot-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  padding: 11px 20px 30px;
  background: rgba(0,0,0,0.97); /* Dark background */
  backdrop-filter: blur(22px);
  border-top: 1px solid rgba(255,255,255,0.1); /* Light border */
  display: flex;
  justify-content: space-around;
  z-index: 100;
  border-radius: 20px 20px 0 0; /* Rounded top corners */
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}

.nav-item.active {
  background-color: rgba(255,255,255,0.1); /* Highlight active item */
}

.nav-item svg {
  width: 24px;
  height: 24px;
  stroke: #888888; /* Dimmed icon */
}

.nav-item.active svg {
  stroke: #E1FF00; /* Neon yellow for active icon */
}

.nav-item span {
  font-size: 10px;
  color: #888888; /* Dimmed text */
  font-weight: 600;
}

.nav-item.active span {
  color: #E1FF00; /* Neon yellow for active text */
}

/* Modal Styles - Keep existing */
.modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-ov.show { opacity: 1; pointer-events: all; }
.modal-wrap {
  background: var(--black);
  border: 1px solid var(--cb2);
  border-radius: 18px;
  width: 90%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.2s ease;
}
.modal-ov.show .modal-wrap { transform: translateY(0); }
.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--cb);
}
.m-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.m-sub {
  font-size: 12px;
  color: var(--dim);
  margin-top: 4px;
}
.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Chat page styles (mulberry_chat.html) */
#s-chat{
  background: var(--black);
  color: var(--white);
  display:flex;
  flex-direction:column;
}

.chat-header{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 20px;
  padding-top: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chat-header .back-btn{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.chat-header .back-btn svg{
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.82);
}

.chat-header-title{
  flex: 1;
}
.chat-title{
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}
.chat-subtitle{
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  margin-top: 2px;
}

.chat-messages{
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.chat-messages::-webkit-scrollbar{ width: 0; }

.chat-msg{
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  white-space: pre-wrap;
}

.user-msg{
  align-self: flex-end;
  background: var(--neon);
  color: #000;
  border-radius: 16px 16px 4px 16px;
}

.assistant-msg{
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px 16px 16px 4px;
}

.chat-msg-wrap{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 85%;
}
.chat-msg-wrap.user{
  align-self: flex-end;
  align-items: flex-end;
}

.chat-report-btn{
  font-size: 11px;
  color: rgba(225,255,0,0.9);
  background: transparent;
  border: 1px solid rgba(225,255,0,0.35);
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.chat-report-btn:hover{
  background: rgba(225,255,0,0.12);
  border-color: rgba(225,255,0,0.5);
}

.report-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.report-modal.active{
  display: flex;
}
.report-modal-inner{
  background: var(--surf);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 360px;
  border: 1px solid rgba(255,255,255,0.1);
}
.report-modal-title{
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.report-modal-sub{
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 16px;
}
.report-modal-actions{
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

.chat-input-bar{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 14px 20px calc(20px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
}

#chat-input{
  flex: 1;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  outline: none;
  font-size: 14px;
  font-weight: 500;
}
#chat-input::placeholder{
  color: rgba(255,255,255,0.38);
  font-weight: 400;
}
#chat-input:focus{
  border-color: rgba(225,255,0,0.45);
  box-shadow: 0 0 0 3px rgba(225,255,0,0.10);
}

#chat-send-btn{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--neon);
  border: none;
  color: #000;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all 0.2s ease;
}
#chat-send-btn:hover{
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(225,255,0,0.45);
}
#chat-send-btn:active{
  transform: scale(0.96);
}

/* Verify toast (post-login) */
#verify-toast.verify-badge{
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(225,255,0,0.22);
  margin: 12px 20px 0;
  width: calc(100% - 40px);
}
#verify-toast.verify-badge.show{
  display: flex;
}
#verify-toast .check-icon{
  width: 18px;
  height: 18px;
}

@keyframes slideDownToast{
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutToast{
  from { opacity: 1; }
  to { opacity: 0; }
}

.verify-badge.slide-down{
  animation: slideDownToast 0.35s ease forwards;
}
.verify-badge.fade-out{
  animation: fadeOutToast 0.5s ease forwards;
}

/* Notificare proactivă Mulberry — jos, peste nav, negru + neon */
.proactive-toast{
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  bottom: calc(56px + env(safe-area-inset-bottom));
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 380px;
  background: #0a0a0a;
  border: 1px solid rgba(225,255,0,0.35);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: transform 0.35s ease;
  /* Nu bloca click-urile către input / chat — doar butonul × e interactiv */
  pointer-events: none;
}
.proactive-toast .proactive-toast-close{
  pointer-events: auto;
  cursor: pointer;
}
.proactive-toast-show{
  transform: translateX(-50%) translateY(0);
}
.proactive-toast-hide{
  transform: translateX(-50%) translateY(120%);
}
.proactive-toast-icon{
  font-size: 20px;
  opacity: 0.9;
  flex-shrink: 0;
}
.proactive-toast-body{
  flex: 1;
  min-width: 0;
}
.proactive-toast-title{
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.proactive-toast-message{
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.proactive-toast-close{
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.proactive-toast-close:hover{
  color: #fff;
}

/* Override main card — vezi `.id-card--visa` pentru cardul Mulberry ID din dashboard */
.mulberry-id-card:not(.id-card--visa){
  font-family: 'Montserrat', sans-serif;
  width: 90%;
  max-width: 400px;
  margin: 20px auto;
  background: #E1FF00;
  border-radius: 24px;
  padding: 20px;
  height: 220px;
}
.mulberry-id-card:not(.id-card--visa) .brand-id{
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  opacity: .95;
}
.mulberry-id-card:not(.id-card--visa) .car-model{
  font-family: var(--font-satoshi);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.mulberry-id-card:not(.id-card--visa) .vin-code{
  font-family: var(--font-satoshi);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.mulberry-id-card:not(.id-card--visa) .mlbr-code{
  font-family: var(--font-satoshi);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: .9;
}
.mulberry-id-card:not(.id-card--visa) .plate-number{
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

/* Market Value (Depreciere inteligentă + SoftScore) */
/* Mulberry Cloud & SoftScore cards (Apple style) */
.mulberry-card{
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--mlb-card-dark);
  border-radius: 20px;
  padding: 18px 20px;
  margin: 12px auto;
  width: 90%;
  max-width: 400px;
  border: 1px solid var(--mlb-card-dark-border);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--mlb-font);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.mulberry-card:hover{
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.mulberry-card-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mulberry-card-icon svg{ width: 22px; height: 22px; stroke: #fff; }
.cloud-icon{ background: rgba(66,133,244,0.25); }
.cloud-icon svg{ stroke: #4285F4; }
.softscore-icon{ background: rgba(225,255,0,0.2); }
.softscore-icon svg{ stroke: #E1FF00; }
.mulberry-card-content{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mulberry-card-title{
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
}
.mulberry-card-sub{
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}
.mulberry-card-chevron{
  font-size: 22px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

/* Cloud = card neon; SoftScore = negru; Preview SoftScore = neon */
.mulberry-card.cloud-card {
  background: var(--mlb-neon);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 28px rgba(225, 255, 0, 0.28);
}
.mulberry-card.cloud-card .mulberry-card-title,
.mulberry-card.cloud-card .mulberry-card-sub,
.mulberry-card.cloud-card .mulberry-card-chevron {
  color: #0a0a0a;
}
.mulberry-card.cloud-card .mulberry-card-sub {
  color: rgba(0, 0, 0, 0.52);
}
.mulberry-card.cloud-card .mulberry-card-chevron {
  color: rgba(0, 0, 0, 0.35);
}
.mulberry-card.cloud-card .cloud-icon {
  background: rgba(0, 0, 0, 0.1);
}
.mulberry-card.cloud-card .cloud-icon svg {
  stroke: #0a0a0a;
}

.mulberry-card.softscore-preview-card {
  background: var(--mlb-neon);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 28px rgba(225, 255, 0, 0.22);
}
.mulberry-card.softscore-preview-card .mulberry-card-title {
  color: #0a0a0a;
}
.mulberry-card.softscore-preview-card .mulberry-card-sub,
.mulberry-card.softscore-preview-card .softscore-preview-soft,
.mulberry-card.softscore-preview-card .softscore-preview-price,
.mulberry-card.softscore-preview-card .softscore-preview-assist-hint,
.mulberry-card.softscore-preview-card .softscore-preview-depr,
.mulberry-card.softscore-preview-card .softscore-preview-meta {
  color: rgba(0, 0, 0, 0.55);
}
.mulberry-card.softscore-preview-card .mulberry-card-chevron {
  color: rgba(0, 0, 0, 0.35);
}
.mulberry-card.softscore-preview-card .softscore-icon {
  background: rgba(0, 0, 0, 0.1);
}
.mulberry-card.softscore-preview-card .softscore-icon svg {
  stroke: #0a0a0a;
}

/* Mulberry ID — stil „credit card” industrial: bară neagră, neon, stânga hero + date monospace */
#s-dash .mulberry-id-card.id-card--visa,
.mulberry-id-card.id-card--visa {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1.586 / 1;
  min-height: 210px;
  max-height: 320px;
  height: auto !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  box-sizing: border-box;
  background: var(--neon, #e1ff00);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.id-card--visa.id-card--atlas .id-card-head--black {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-shrink: 0;
  background: #000;
  color: #fff;
  padding: 11px 14px 12px;
  margin: 0;
}
.id-card--visa .id-card-head--black .brand-id {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Montserrat', sans-serif;
}
.id-card--visa .id-card-head--black .id-card-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #222;
}

.id-card--visa .id-card-body--atlas {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 12px 12px 8px 14px;
}

.id-card--visa .id-card-left--atlas {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  gap: 0;
}

/* Hero: marcă compactă + „·” pătrat + model enorm (ca .NT pe cardul de referință) */
.id-card--visa .id-card-hero-atlas {
  width: 100%;
}
.id-card--visa .id-brand-compact {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
  opacity: 0.55;
  line-height: 1.2;
  margin-bottom: 2px;
}
.id-card--visa .id-hero-slug {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  line-height: 0.9;
}
.id-card--visa .id-hero-model {
  margin-top: 0 !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 1.05rem + 0.9vw, 1.85rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000;
  line-height: 0.95;
  max-width: 100%;
  word-break: break-word;
}
.id-card--visa .id-hero-model:empty {
  display: none;
}
.id-card--visa .id-card-hero-atlas:has(.id-hero-model:empty) .id-hero-slug {
  display: none;
}
.id-card--visa .id-card-hero-atlas:has(.id-hero-model:empty) .id-brand-compact {
  font-size: clamp(1.5rem, 6.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  opacity: 1;
}

/* Stack identitate: același ritm tipografic — etichetă mică / valoare mono redusă */
.id-card--visa .id-id-stack {
  margin-top: 6px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.id-card--visa .id-tech-atlas {
  width: 100%;
  margin-top: 0;
}
.id-card--visa .id-tech-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  max-width: 100%;
}
.id-card--visa .id-tech-lab {
  font-family: 'JetBrains Mono', var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.42);
  line-height: 1.2;
}
/* Valori: o singură scară (VIN / înmatriculare / MLBR) — fără „UNIT”, fără bold disjunct */
.id-card--visa .id-tech-val--mono {
  margin: 0 !important;
  font-family: 'JetBrains Mono', var(--mono) !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.4 !important;
  color: #0a0a0a !important;
  font-variant-numeric: tabular-nums;
}
.id-card--visa .id-tech-val--mono.vin-code {
  word-break: break-all;
}
.id-card--visa .id-tech-val--mono.plate-number {
  letter-spacing: 0.14em !important;
  font-weight: 600 !important;
}
.id-card--visa .id-tech-val--mlbr {
  font-size: 8px !important;
  letter-spacing: 0.08em !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  opacity: 0.92;
}

/* Colț dreapta — icon contactless */
.id-card--visa .id-card-right-atlas {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 4px;
  width: 36px;
}
.id-card--visa .id-nfc-badge {
  color: #000;
  opacity: 0.35;
}
.id-card--visa .id-nfc-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}

.id-card--visa .id-card-footer-qr {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  margin-top: auto;
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.025);
}
.id-card--visa .id-qr-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.id-card--visa .id-qr-lab {
  letter-spacing: 0.22em;
}
.id-card--visa .id-qr-caption {
  font-family: 'JetBrains Mono', var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  line-height: 1.25;
  max-width: 132px;
  text-align: right;
  margin-top: 2px;
}

.id-card--visa .id-card-qr {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.id-card--visa .id-card-qr.mulberry-qr-tap-open:focus {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}
.id-card--visa .id-card-qr.mulberry-qr-tap-open:active {
  transform: scale(0.96);
}
/* QR main card: negru pe galben referință (#F7D735), randat cu module rotunjite (qr-code-styling) */
.id-card--visa .id-card-qr #qrcode-mini {
  width: 48px !important;
  height: 48px !important;
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  background: #f7d735;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.id-card--visa .id-card-qr #qrcode-mini canvas,
.id-card--visa .id-card-qr #qrcode-mini img {
  display: block;
  width: 48px !important;
  height: 48px !important;
  max-width: none !important;
  border-radius: 0;
  vertical-align: top;
}

/* ── Scan /p/{VIN} · modal profil BIOS (HDD label / CoFo) ── */
@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500;600&display=swap");

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#s-profile-scan {
  background: #050505;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
}

#s-profile-scan.active {
  z-index: 5000;
}

#s-profile-scan .profile-scan-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 0;
}

#s-profile-scan .mulberry-profile-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 20px 18px 22px;
}

.mulberry-profile-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.mulberry-profile-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.profile-loading,
.profile-error {
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.profile-error {
  color: #f44336;
  border-color: #f44336;
}

.hdd-label-style {
  font-family: "DM Mono", ui-monospace, monospace;
  background-color: #0d0d0d;
  color: #fff;
  border: 2px solid #fff;
  padding: 20px;
  text-transform: uppercase;
}

.mulberry-profile-modal.hdd-label-style {
  border: 2px solid #fff;
  padding: 20px;
  background: #0d0d0d;
}

.hdd-section {
  border-bottom: 1px dashed #333;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.hdd-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.mulberry-profile-modal .status-line {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #dfff00;
  margin-bottom: 8px;
  line-height: 1.4;
}

.mulberry-profile-modal .mlbr-id {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.mulberry-profile-modal .hdd-mlbr-sub {
  font-size: 10px;
  color: #aaa;
  margin-top: 6px;
}

.tech-spec {
  font-size: 11px;
  margin-bottom: 8px;
  line-height: 1.45;
}

.tech-spec .label {
  color: #888;
  margin-right: 6px;
}

.tech-spec .value {
  color: #fff;
}

.section-label {
  font-size: 10px;
  color: #888;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.hdd-btn {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  font-family: inherit;
  padding: 10px 12px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hdd-btn .icon {
  margin-right: 8px;
  opacity: 0.85;
}

.pulse-accent {
  color: #dfff00;
  border-color: #dfff00;
  animation: hdd-pulse 2s infinite;
}

.warn-accent {
  color: #f44336;
  border-color: #f44336;
}

@keyframes hdd-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    opacity: 1;
  }
}

.profile-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #666;
  padding-top: 4px;
}

.profile-footer .co-fo {
  color: #fff;
}

.profile-footer .warranty {
  color: #555;
}

/* ─── Mulberry UI Kit — pagini secundare (card neon / negru, același limbaj) ─── */
.mlb-page {
  font-family: var(--mlb-font);
  background: #e8e8e8;
  color: #0a0a0a;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.mlb-page--dark {
  background: #0a0a0a;
  color: #f5f5f5;
}
.mlb-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  max-width: 420px;
  margin: 0 auto;
}
.mlb-card {
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mlb-card--neon {
  background: var(--mlb-neon);
  color: #0a0a0a;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 28px rgba(225, 255, 0, 0.25);
}
.mlb-card--dark {
  background: var(--mlb-card-dark);
  color: #f8f8f8;
  border: 1px solid var(--mlb-card-dark-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.mlb-card--dark .mlb-muted {
  color: rgba(255, 255, 255, 0.55);
}
.mlb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.mlb-page--dark .mlb-head {
  background: #111;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.mlb-back {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  flex-shrink: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.mlb-page--dark .mlb-back {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.mlb-back svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.mlb-h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  flex: 1;
  line-height: 1.2;
}
.mlb-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 8px;
}
.mlb-page--dark .mlb-eyebrow {
  color: rgba(255, 255, 255, 0.45);
}
.mlb-muted {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.5);
}
.mlb-card--neon .mlb-muted {
  color: rgba(0, 0, 0, 0.5);
}
.mlb-link-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #0a0a0a;
  color: var(--mlb-neon);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(225, 255, 0, 0.35);
}
.mlb-link-dark:active {
  transform: scale(0.99);
}
