/* ===== CHARTE FINDOMI — bleu marine #003580 ===== */

:root {
  --navy: #003580;
  --navy-dark: #002560;
  --alert-orange: #F97316;
  --alert-bg: rgba(249, 115, 22, 0.12);
  --alert-bd: rgba(249, 115, 22, 0.28);
  --fp-terra: #003580;
  --fp-terra-hover: #002560;
  --fp-terra-soft: rgba(0, 53, 128, 0.08);
  --fp-terra-border: rgba(0, 53, 128, 0.22);
  --fp-shadow-terra: 0 4px 14px rgba(0, 53, 128, 0.28);
  --fp-green: #00C896;
  --fp-green-soft: rgba(0, 200, 150, 0.12);
  --terra: #003580;
  --terra-bg: rgba(0, 53, 128, 0.08);
  --terra-bd: rgba(0, 53, 128, 0.22);
  --sage: #00C896;
  --sage-bg: rgba(0, 200, 150, 0.12);
  --sage-bd: rgba(0, 200, 150, 0.28);
  --blue: #003580;
  --blue-bg: rgba(0, 53, 128, 0.08);
  --blue-bd: rgba(0, 53, 128, 0.22);
}

.dash-onboarding-checklist {
  margin: 0 1rem 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 53, 128, 0.06);
}

.dash-onboarding-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.dash-onboarding-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #003580;
}

.dash-onboarding-skip {
  background: none;
  border: none;
  font-size: 0.68rem;
  color: #64748b;
  cursor: pointer;
  font-weight: 600;
}

.dash-onboarding-progress-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.dash-onboarding-progress-fill {
  height: 100%;
  background: #00C896;
  width: 0;
  transition: width 0.3s ease;
}

.dash-onboarding-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.dash-onboarding-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 0.4rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
}

.dash-onboarding-step.current {
  border-color: #003580;
  background: rgba(0, 53, 128, 0.06);
  color: #003580;
}

.dash-onboarding-step.done {
  opacity: 0.55;
  cursor: default;
}

.dash-onboarding-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #003580;
  color: #fff;
  font-size: 0.58rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-onboarding-step.done .dash-onboarding-dot {
  background: #00C896;
}

.dash-onboarding-arrow {
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
}

.dash-onboarding-aha {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 0.5px solid var(--bd, #e5e7eb);
}

.dash-onboarding-aha-btn {
  width: 100%;
  border-radius: var(--rsm, 12px) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

.dash-onboarding-aha-done {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage, #3D7A42);
  text-align: center;
  padding: 0.35rem;
}

.signup-quick-card .auth-gate-primary { margin-top: 0.25rem; }

.demo-mode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(90deg, #003580, #002560);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-mode-banner-text {
  flex: 1;
  min-width: 180px;
}

.demo-mode-banner-btn {
  flex-shrink: 0;
  font-size: 0.68rem !important;
  padding: 0.4rem 0.85rem !important;
  background: #F97316 !important;
  border-radius: 100px !important;
}

.demo-mode-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.demo-mode-banner-login {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
  white-space: nowrap;
}

.btn-terra {
  background: #003580 !important;
  color: #fff !important;
  border-radius: 100px !important;
  box-shadow: 0 2px 10px rgba(0, 53, 128, 0.28) !important;
  border: none !important;
}

.btn-terra:hover {
  box-shadow: 0 4px 14px rgba(0, 53, 128, 0.35) !important;
}

.dash-action-primary {
  background: #003580 !important;
  border-color: #003580 !important;
  box-shadow: 0 4px 14px rgba(0, 53, 128, 0.28) !important;
}

.topbar {
  background: #003580 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.topbar .logo,
.topbar .logo em {
  color: #fff !important;
}

.topbar .logo-pro {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.topbar .btn-ghost {
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.topbar .btn-icon {
  color: #fff !important;
}

/* Navbar mobile */
.nav {
  background: #003580 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.nav-btn svg {
  stroke: rgba(255, 255, 255, 0.55) !important;
}

.nav-btn span {
  color: rgba(255, 255, 255, 0.55) !important;
}

.nav-btn.on svg {
  stroke: #fff !important;
}

.nav-btn.on span {
  color: #fff !important;
}

/* Sidebar — inbox threads (desktop) */
@media (min-width: 700px) {
  .guest-inbox-list-wrap {
    background: #002560 !important;
    border-radius: 12px;
    padding: 0.5rem;
  }
}

.guest-thread-row.active {
  border-left: 3px solid #F97316 !important;
}

/* KPI / metric cards */
.stat-card {
  border-top: 3px solid #003580 !important;
}

.stat-n {
  color: #003580 !important;
}

/* Badges positifs */
.badge-sage {
  background: rgba(0, 200, 150, 0.12) !important;
  color: #00C896 !important;
  border-color: rgba(0, 200, 150, 0.28) !important;
}

/* Badges alerte */
.badge-neutral,
.badge-blue,
.st-pending,
.st-in-progress {
  background: rgba(249, 115, 22, 0.12) !important;
  color: #F97316 !important;
  border-color: rgba(249, 115, 22, 0.28) !important;
}

.st-pending .planning-legend-dot,
.st-pending .planning-event-dot,
.st-in-progress .planning-legend-dot,
.st-in-progress .planning-event-dot {
  background: #F97316 !important;
}

.badge-terra {
  background: rgba(0, 53, 128, 0.08) !important;
  color: #003580 !important;
  border-color: rgba(0, 53, 128, 0.22) !important;
}

/* Liens actifs & Voir tout */
.prof-row-a,
.support-faq-link,
.support-contact a,
.access-copy,
a.btn-sm,
.litem-btns .btn-sm {
  color: #003580 !important;
}

/* Liens / accents findomi-pro-v2 */
.dash-action-ic svg {
  stroke: #003580 !important;
  color: #003580 !important;
}

.dash-action-ic {
  background: rgba(0, 53, 128, 0.08) !important;
}

.litem-ic {
  background: rgba(0, 53, 128, 0.08) !important;
  border-color: rgba(0, 53, 128, 0.22) !important;
}

.auth-logo,
.auth-logo em,
.sp-logo em {
  color: #003580 !important;
}

.sp-dot {
  background: #003580 !important;
}

.finput:focus,
.ftextarea:focus {
  border-color: #003580 !important;
  box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.12) !important;
}

.msg-tab.active {
  background: #003580 !important;
  border-color: #003580 !important;
}

.guest-bubble.out,
.msg-bubble.sent,
.msg-send-btn {
  background: #003580 !important;
}

.pwa-install-btn,
.trial-banner-cta {
  background: #003580 !important;
}

.hero-badge {
  background: rgba(0, 53, 128, 0.12) !important;
  border-color: rgba(0, 53, 128, 0.25) !important;
  color: #003580 !important;
}

.hero-badge .dot-live {
  background: #00C896 !important;
}

.plan-price {
  color: #003580 !important;
}

.onboarding-kicker,
.onboarding-step-item.current {
  color: #003580 !important;
}

.onboarding-progress-fill {
  background: linear-gradient(90deg, #003580, #00C896) !important;
}

.rchip-on,
.edl-prog-fill {
  background: #003580 !important;
}

.spinner {
  border-top-color: #003580 !important;
}
