/* ============================================================
   CREDITEMO CSS v2.0.0 — Arial 16-18px, accessible, mobile-first
   ============================================================ */

/* ── Typographie CREDITEMO — Arial 16-18px pour accessibilité seniors ── */
:root {
  --font-base: Arial, Helvetica, sans-serif;
  --font-size-base: 16px;
  --font-size-label: 17px;
  --font-size-input: 18px;
  --font-size-btn: 17px;
  --font-size-title: 26px;
  --font-size-nav: 17px;
}

/* ── Variables ────────────────────────────────────────────── */
:root {
  --navy:    #0a1628; --navy2:  #0f2040; --navy3:  #1a3460;
  --gold:    #c9a84c; --goldk:  #e8c97e;
  --white:   #ffffff; --off:    #f7f8fa;
  --slate:   #64748b; --text:   #1e293b;
  --border:  #e2e8f0;
  --green:   #16a34a; --red:    #dc2626; --orange: #ea580c;
  --blue:    #1d4ed8;
  --r:       10px;
  --sh:      0 2px 12px rgba(10,22,40,.10);
  --sh2:     0 8px 32px rgba(10,22,40,.16);
  --fd:      'DM Serif Display', Georgia, serif;
  --fb:      'DM Sans', system-ui, -apple-system, sans-serif;
  --tr:      .18s ease;

  /* Touch targets minimum 44px */
  --btn-h:   48px;
  --input-h: 48px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; }

/* =========================================================
   WRAPPER  — fond gris clair pour les pages publiques
   ========================================================= */
.fintech-wrap {
  min-height: 100vh;
  background: linear-gradient(150deg, #eef2f8 0%, #e4ecf7 100%);
  padding: 24px 16px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
/* Pages connectées : pas de padding / fond plein */
.fintech-wrap.is-dashboard {
  padding: 0;
  background: var(--off);
  align-items: stretch;
}

/* =========================================================
   CARD — formulaires login / register / forgot
   ========================================================= */
.ft-card {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--sh2);
  width: 100%;
  max-width: 440px;
  padding: 36px 28px 32px;
  border-top: 4px solid var(--gold);
  animation: ftUp .35s cubic-bezier(.22,.68,0,1.2) both;
}
@keyframes ftUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

.ft-card__logo {
  font-family: var(--fd);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: .3px;
}
.ft-card__title {
  font-family: var(--fd);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.25;
}
.ft-card__footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--slate);
}
.ft-card__footer a { color: var(--navy); text-decoration: none; font-weight: 500; }
.ft-card__footer a:hover { color: var(--gold); }

/* =========================================================
   FORM
   ========================================================= */
.ft-field { margin-bottom: 14px; }
.ft-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate);
  margin-bottom: 5px;
}
.ft-field input,
.ft-field select,
.ft-field textarea {
  width: 100%;
  height: var(--input-h);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--fb);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
  -webkit-appearance: none;
}
.ft-field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 80px; }
.ft-field input:focus,
.ft-field select:focus,
.ft-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,22,40,.09);
}
.ft-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Mot de passe */
.ft-password-wrap { position: relative; }
.ft-password-wrap input { padding-right: 48px; }
.ft-toggle-pwd {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 17px; padding: 4px; color: var(--slate);
  line-height: 1;
}

/* CGV */
.ft-cgv { font-size: 13px; color: var(--slate); }
.ft-cgv input[type="checkbox"] { width: auto; height: auto; margin-right: 6px; vertical-align: middle; }
.ft-cgv a { color: var(--navy); }

/* Force MDP */
.ft-pwd-strength {
  font-size: 12px; font-weight: 600; margin-top: 5px; min-height: 16px; transition: color var(--tr);
}
.ft-pwd-strength[data-level="weak"]   { color: var(--red); }
.ft-pwd-strength[data-level="fair"]   { color: #d97706; }
.ft-pwd-strength[data-level="strong"] { color: var(--green); }
.ft-pwd-rules { list-style: none; margin-top: 8px; }
.ft-pwd-rules li {
  font-size: 12px; color: var(--slate);
  padding: 2px 0 2px 18px; position: relative;
}
.ft-pwd-rules li::before { content: '○'; position: absolute; left: 0; }
.ft-pwd-rules li.rule-ok { color: var(--green); }
.ft-pwd-rules li.rule-ok::before { content: '✓'; }

/* =========================================================
   BUTTONS
   ========================================================= */
.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  min-height: var(--btn-h);
  padding: 0 20px;
  cursor: pointer;
  transition: all var(--tr);
  text-decoration: none;
  letter-spacing: .02em;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.ft-btn--primary  { background: var(--navy); color: var(--white); width: 100%; margin-top: 6px; }
.ft-btn--primary:hover:not(:disabled) { background: var(--navy2); box-shadow: 0 4px 14px rgba(10,22,40,.22); }
.ft-btn--primary:active:not(:disabled){ transform: scale(.98); }

.ft-btn--ghost  { background: transparent; color: var(--navy); border: 1.5px solid var(--border); width: 100%; margin-top: 8px; }
.ft-btn--ghost:hover:not(:disabled) { border-color: var(--navy); }

.ft-btn--outline {
  background: transparent; color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 0 16px; font-size: 13px; min-height: 38px;
  white-space: nowrap; flex-shrink: 0;
}
.ft-btn--outline:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }

.ft-btn:disabled { opacity: .55; cursor: not-allowed; }

/* =========================================================
   SPINNER
   ========================================================= */
.ft-spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ft-spinner-big {
  width: 38px; height: 38px;
  border: 3px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 14px;
}
.ft-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--slate);
  font-size: 14px;
}

/* =========================================================
   ALERTS
   ========================================================= */
.ft-alert {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
  border-left: 4px solid;
  line-height: 1.45;
}
.ft-alert--error   { background: #fef2f2; border-color: var(--red);    color: #991b1b;  display: block; }
.ft-alert--success { background: #f0fdf4; border-color: var(--green);  color: #166534;  display: block; }
.ft-alert--info    { background: #eff6ff; border-color: var(--blue);   color: #1e40af;  display: block; }
.ft-alert--warn    { background: #fffbeb; border-color: var(--orange); color: #92400e;  display: block; }

/* =========================================================
   OTP
   ========================================================= */
.ft-otp-hint { font-size: 14px; color: var(--slate); margin-bottom: 20px; line-height: 1.5; }
.ft-otp-inputs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 20px;
}
.ft-otp-digit {
  width: 44px; height: 54px !important;
  border: 2px solid var(--border) !important;
  border-radius: 10px !important;
  font-size: 22px !important;
  font-weight: 700;
  text-align: center;
  padding: 0 !important;
  color: var(--navy);
  font-family: monospace;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.ft-otp-digit:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(201,168,76,.18); }

/* =========================================================
   SECURITY BADGE
   ========================================================= */
.ft-security-badge {
  text-align: center;
  font-size: 11px;
  color: var(--slate);
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* =========================================================
   TOPBAR / NAV
   ========================================================= */
.ft-topbar {
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
  height: 58px;
  box-shadow: 0 2px 10px rgba(10,22,40,.3);
  position: sticky; top: 0; z-index: 200;
  flex-shrink: 0;
}
.ft-topbar__brand {
  font-family: var(--fd);
  font-size: 18px;
  color: var(--white);
  white-space: nowrap;
  margin-right: 20px;
  flex-shrink: 0;
}
.ft-topbar__nav {
  display: flex;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ft-topbar__nav::-webkit-scrollbar { display: none; }
.ft-topbar__nav a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--tr);
  white-space: nowrap;
  min-height: 36px;
  display: flex; align-items: center;
}
.ft-topbar__nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.ft-topbar__nav a.active { color: var(--gold); background: rgba(255,255,255,.06); }

/* ── Menu burger mobile ─────────────────────────────────── */
.ft-menu-toggle {
  display: none;
  background: none; border: none;
  color: rgba(255,255,255,.8);
  font-size: 22px; cursor: pointer;
  padding: 6px; margin-left: auto; flex-shrink: 0;
}
.ft-mobile-nav {
  display: none;
  background: var(--navy2);
  padding: 12px 20px;
}
.ft-mobile-nav a {
  display: block;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ft-mobile-nav a.active { color: var(--gold); }
.ft-mobile-nav a:last-child { border-bottom: none; }

/* =========================================================
   LAYOUT DASHBOARD
   ========================================================= */
.ft-dashboard { display: flex; flex-direction: column; min-height: 100vh; }
.ft-main {
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}
.ft-page-title {
  font-family: var(--fd);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
}
.ft-section { margin-bottom: 24px; }
.ft-section__title {
  font-family: var(--fd);
  font-size: 19px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}

/* =========================================================
   BALANCE CARD
   ========================================================= */
.ft-hero { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; align-items: flex-start; }

.ft-balance-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  color: var(--white);
  border-radius: var(--r);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 0;
  box-shadow: var(--sh2);
  position: relative;
  overflow: hidden;
}
.ft-balance-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(201,168,76,.1);
}
.ft-balance__label {
  display: block; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.5); margin-bottom: 6px;
}
.ft-balance__amount {
  display: block;
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  font-weight: 700;
  font-size: clamp(28px, 5.5vw, 40px);
  color: var(--goldk);
  margin-bottom: 10px;
  line-height: 1.1;
  word-break: break-all;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.ft-balance__iban {
  display: block; font-size: 11px;
  font-family: monospace; color: rgba(255,255,255,.35);
  letter-spacing: .06em; word-break: break-all;
}
.ft-balance__user {
  display: block; font-size: 12px;
  color: rgba(255,255,255,.45); margin-top: 8px;
}

/* ── Quick actions ──────────────────────────────────────── */
.ft-quick-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}
.ft-action-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
  box-shadow: var(--sh);
  flex: 1 1 120px;
  min-height: 48px;
  font-family: var(--fb);
}
.ft-action-btn:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: var(--sh2);
}

/* =========================================================
   SECURITY INFO BAR
   ========================================================= */
.ft-security-info {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px; color: #92400e;
  margin-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* =========================================================
   TRANSACTIONS
   ========================================================= */
.ft-tx-filters { margin-bottom: 14px; }
.ft-tx-filters select {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0 14px; height: 42px;
  font-size: 13px; font-family: var(--fb);
  color: var(--text); outline: none; cursor: pointer;
  -webkit-appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding-right: 36px;
}

.ft-tx-list { display: flex; flex-direction: column; gap: 8px; }
.ft-tx-item {
  background: var(--white);
  border-radius: 9px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(10,22,40,.06);
  border-left: 3px solid transparent;
  transition: transform var(--tr), box-shadow var(--tr);
  min-width: 0;
}
.ft-tx-item:hover { transform: translateX(2px); box-shadow: var(--sh); }
.ft-tx--cr { border-color: var(--green); }
.ft-tx--db { border-color: var(--orange); }

.ft-tx-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.ft-tx--cr .ft-tx-icon { background: #f0fdf4; color: var(--green); }
.ft-tx--db .ft-tx-icon { background: #fff7ed; color: var(--orange); }

.ft-tx-info { flex: 1; min-width: 0; }
.ft-tx-desc { display: block; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-tx-date { display: block; font-size: 11px; color: var(--slate); margin-top: 2px; }
.ft-tx-ref  { display: block; font-size: 10px; font-family: monospace; color: #94a3b8; }

.ft-tx-amount { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ft-tx-val { font-size: 15px; font-weight: 700; }
.ft-tx--cr .ft-tx-val { color: var(--green); }
.ft-tx--db .ft-tx-val { color: var(--orange); }

.ft-tx-badge {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; padding: 2px 7px; border-radius: 100px;
}
.ft-badge--valide  { background: #dcfce7; color: #15803d; }
.ft-badge--refuse  { background: #fee2e2; color: #991b1b; }
.ft-badge--annule  { background: #f1f5f9; color: #475569; }
.ft-badge--en_attente { background: #fef3c7; color: #92400e; }

.ft-empty { color: var(--slate); text-align: center; padding: 48px 20px; font-size: 14px; }

/* =========================================================
   MODAL
   ========================================================= */
.ft-modal {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,22,40,.6);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}
.ft-modal__box {
  background: var(--white);
  border-radius: var(--r) var(--r) 0 0;
  padding: 28px 24px 32px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--sh2);
  animation: ftSlideUp .3s ease both;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@keyframes ftSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.ft-modal__box h3 {
  font-family: var(--fd); font-size: 20px; font-weight: 400;
  color: var(--navy); margin-bottom: 20px;
}
.ft-modal__actions { display: flex; gap: 10px; margin-top: 18px; }
.ft-modal__actions .ft-btn { flex: 1; margin-top: 0; }

/* =========================================================
   CRÉDIT – simulateur
   ========================================================= */
.ft-credit-card { max-width: 620px; }
.ft-simulator {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14px; color: #1e40af;
  margin: 12px 0;
  line-height: 1.5;
}
.ft-simulator strong { font-size: 17px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ── Tablette ≤ 768px ────────────────────────────────────── */
@media (max-width: 768px) {
  .fintech-wrap { padding: 16px 12px 40px; }

  .ft-card { padding: 28px 20px 26px; max-width: 100%; }
  .ft-card__title { font-size: 22px; }

  /* Topbar : masquer la nav desktop, afficher burger */
  .ft-topbar { padding: 0 14px; gap: 0; }
  .ft-topbar__nav { display: none; }
  .ft-menu-toggle { display: flex; align-items: center; justify-content: center; }
  /* Le bouton Déconnexion reste visible mais compact */
  #ft-logout-btn { padding: 0 12px; font-size: 12px; min-height: 34px; }

  .ft-hero { flex-direction: column; }
  .ft-quick-actions { flex-direction: row; flex-wrap: wrap; }
  .ft-action-btn { flex: 1 1 calc(50% - 5px); }

  .ft-main { padding: 16px 14px 32px; }
  .ft-page-title { font-size: 22px; }

  .ft-modal { align-items: flex-end; }
  .ft-modal__box { border-radius: var(--r) var(--r) 0 0; padding: 24px 18px 28px; }

  .ft-field-row { grid-template-columns: 1fr; }

  .ft-tx-item { padding: 12px; gap: 10px; }
  .ft-tx-desc { font-size: 13px; }
  .ft-tx-val  { font-size: 14px; }
}

/* ── Mobile ≤ 480px ──────────────────────────────────────── */
@media (max-width: 480px) {
  .fintech-wrap { padding: 12px 10px 36px; }

  .ft-card { padding: 24px 16px 22px; border-radius: 8px; }
  .ft-card__title { font-size: 20px; margin-bottom: 16px; }

  .ft-otp-inputs { gap: 6px; }
  .ft-otp-digit  { width: 40px !important; height: 50px !important; font-size: 20px !important; }

  .ft-balance-card { padding: 22px 18px; }
  .ft-balance__amount { font-size: 26px; }

  .ft-action-btn { flex: 1 1 calc(50% - 5px); font-size: 13px; padding: 10px 12px; }

  .ft-tx-ref { display: none; } /* masquer sur très petit écran */
  .ft-tx-icon { width: 30px; height: 30px; font-size: 12px; }

  .ft-topbar__brand { font-size: 16px; }
  #ft-logout-btn { display: none; } /* visible dans le menu mobile */

  .ft-security-info { font-size: 11px; gap: 8px; flex-direction: column; }
}

/* ── Très grands écrans ≥ 1200px ─────────────────────────── */
@media (min-width: 1200px) {
  .ft-main { padding: 32px 40px 48px; }
  .ft-modal { align-items: center; }
  .ft-modal__box { border-radius: var(--r); max-width: 480px; }
}

/* =========================================================
   MODULE VIREMENT MULTI-ÉTAPES
   ========================================================= */

/* Modal élargi pour le virement */
.ft-vir-modal-box {
  max-width: 560px !important;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ft-vir-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ft-vir-modal-header h3 { margin: 0; }

.ft-vir-badge {
  font-size: 10px;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 4px;
}

/* Champ requis */
.req { color: var(--red); }

/* Récap frais */
.vir-frais-recap {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 10px 0 14px;
}
.vir-frais-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  color: var(--slate);
}
.vir-frais-orange { color: #ea580c; font-weight: 500; }
.vir-frais-total  { color: var(--navy); font-weight: 700; font-size: 15px; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; }

/* Alerte inline formulaire */
.vir-inline-alert {
  background: #fef2f2;
  border-left: 3px solid var(--red);
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Récap transaction */
.vir-tx-recap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--navy);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.vir-tx-recap div { display: flex; flex-direction: column; gap: 2px; }
.vir-tx-recap span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.vir-tx-recap strong { color: #fff; font-size: 15px; }
.vir-tx-recap code { color: var(--goldk); font-family: monospace; font-size: 12px; }
.recap-total strong { color: var(--goldk); font-size: 17px; }

/* Barre de progression bancaire */
.vir-progress-wrap { margin-bottom: 18px; }
.vir-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 8px;
  font-weight: 500;
}
.vir-pct { font-size: 16px; font-weight: 700; color: var(--navy); }
.vir-progress-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.vir-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0a1628, #1d4ed8, #c9a84c);
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.bar-animated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.3) 50%, transparent 100%);
  animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* Indicateurs d'étapes (dots) */
.vir-step-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 12px;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
  transition: all .3s;
}
.step-dot.dot-done    { background: var(--green);  color: #fff; }
.step-dot.dot-active  { background: var(--navy);   color: #fff; box-shadow: 0 0 0 3px rgba(10,22,40,.2); animation: pulse-dot .8s ease-in-out infinite alternate; }
.step-dot.dot-pending { background: #e2e8f0; color: var(--slate); }
@keyframes pulse-dot { from { transform: scale(1); } to { transform: scale(1.1); } }
.step-line { height: 3px; width: 24px; background: #e2e8f0; flex-shrink: 0; }
.step-line.line-done  { background: var(--green); }

/* Message d'étape */
.vir-etape-msg { margin: 14px 0; }
.vir-msg-box {
  display: flex;
  gap: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 16px;
}
.vir-msg-icon { font-size: 24px; flex-shrink: 0; line-height: 1; }
.vir-msg-content strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 6px; }
.vir-msg-content p { color: #1e40af; font-size: 13px; line-height: 1.55; margin: 0; }

/* Code input */
.vir-code-wrap {
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 6px;
}
.vir-code-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate);
  margin-bottom: 10px;
}
.vir-code-input-row { display: flex; gap: 10px; align-items: center; }
.vir-code-input {
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: 14px;
  font-family: monospace;
  text-align: center;
  width: 130px;
  flex-shrink: 0;
  border: 2px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  color: var(--navy);
  height: 60px !important;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.vir-code-input:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(201,168,76,.18); }

.vir-code-error {
  background: #fef2f2;
  border-left: 3px solid var(--red);
  color: #991b1b;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* Animation shake sur code incorrect */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60%  { transform: translateX(-8px); }
  40%,80%  { transform: translateX(8px); }
}
.shake { animation: shake .4s ease; border-color: var(--red) !important; }

/* Vue succès */
.vir-success-icon {
  font-size: 56px;
  animation: popIn .4s cubic-bezier(.22,.68,0,1.4) both;
}
@keyframes popIn { from { transform: scale(0); opacity:0; } to { transform: scale(1); opacity:1; } }

/* Responsive modal virement */
@media (max-width: 480px) {
  .vir-tx-recap { grid-template-columns: 1fr; }
  .vir-code-input-row { flex-direction: column; align-items: stretch; }
  .vir-code-input { width: 100% !important; }
  .step-line { width: 16px; }
  .step-dot { width: 26px; height: 26px; font-size: 10px; }
}

/* =========================================================
   PATCH v1.4.1 — Design amélioré : gras, tableaux, lisibilité
   ========================================================= */

/* ── Textes importants en gras ────────────────────────────── */
.ft-balance__label    { font-weight: 700; }
.ft-tx-desc           { font-weight: 700; }
.ft-section__title    { font-weight: 700; }
.ft-page-title        { font-weight: 700; }
.ft-topbar__brand     { font-weight: 700; }
.vir-frais-total span { font-weight: 700 !important; }
.vir-frais-total strong { font-weight: 800 !important; font-size: 16px; }
.vir-msg-content strong { font-weight: 700; font-size: 15px; }
.ft-balance__amount   { font-weight: 700; }

/* ── Tableaux : bordures, alignement, lisibilité ─────────── */
.ft-tx-list { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.ft-tx-item {
    border-left: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 16px 20px;
}
.ft-tx-item:last-child { border-bottom: none; }
.ft-tx-item:first-child { border-radius: 10px 10px 0 0; }
.ft-tx-item:last-child  { border-radius: 0 0 10px 10px; }
.ft-tx--cr { border-left: 4px solid var(--green) !important; }
.ft-tx--db { border-left: 4px solid var(--orange) !important; }
.ft-tx-desc { font-size: 14px; font-weight: 700; color: var(--navy); }
.ft-tx-amount .ft-tx-val { font-size: 15px; font-weight: 800; }
.ft-tx-date { font-size: 12px; color: var(--slate); margin-top: 2px; }

/* ── Récap transaction virement (modal) ──────────────────── */
.vir-tx-recap {
    border: 1px solid rgba(255,255,255,.15);
    margin-bottom: 20px;
}
.vir-tx-recap div { padding: 4px 0; }
.vir-tx-recap span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.vir-tx-recap strong { font-size: 16px; font-weight: 700; }
.recap-total strong   { font-size: 20px; font-weight: 800; color: var(--goldk) !important; }
.vir-tx-recap code    { font-size: 11px; letter-spacing: .04em; }

/* ── Formulaire virement — validation erreurs inline ─────── */
.ft-field input.field-error {
    border-color: var(--red) !important;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220,38,38,.09);
}
.ft-field-err {
    display: block;
    color: var(--red);
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    padding-left: 2px;
}
.ft-field-err::before { content: '⚠ '; }

/* ── Alerte inline virement ──────────────────────────────── */
#vir-alert {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
    border-left: 4px solid;
}
.vir-alert-error   { background: #fef2f2; border-color: var(--red);   color: #991b1b; display: block !important; }
.vir-alert-success { background: #f0fdf4; border-color: var(--green); color: #15803d; display: block !important; }
.vir-alert-warn    { background: #fffbeb; border-color: #f59e0b;      color: #92400e; display: block !important; }

/* ── Barre de progression — plus lisible ─────────────────── */
.vir-progress-header { margin-bottom: 10px; font-weight: 600; }
.vir-pct { font-size: 18px; font-weight: 800; color: var(--navy); }
.vir-progress-track { height: 12px; border-radius: 100px; background: #e2e8f0; }
.vir-progress-bar   { border-radius: 100px; background: linear-gradient(90deg, #0a1628 0%, #1d4ed8 60%, #c9a84c 100%); }
#vir-step-label { font-size: 13px; font-weight: 700; color: var(--slate); }

/* ── Code input — plus visible ───────────────────────────── */
.vir-code-input {
    font-size: 32px !important;
    letter-spacing: 18px !important;
    border-width: 2.5px !important;
    font-weight: 800 !important;
}
.vir-code-label { font-weight: 700; color: var(--navy); font-size: 13px; }

/* ── Badges statuts — gras ───────────────────────────────── */
.ft-tx-badge  { font-weight: 700; }
.ft-security-info { font-weight: 500; }

/* ── Dashboard balance card ──────────────────────────────── */
.ft-balance-card { border: 1px solid rgba(201,168,76,.2); }
.ft-balance__label { font-size: 10px; letter-spacing: .12em; }
.ft-balance__user { font-weight: 600; font-size: 13px; color: rgba(255,255,255,.6); }

/* ── Quick actions boutons ───────────────────────────────── */
.ft-action-btn {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .02em;
    border-width: 2px;
}
.ft-action-btn:hover {
    transform: translateY(-3px);
    font-weight: 700;
}

/* ── Modal header virement ───────────────────────────────── */
.ft-vir-modal-header h3 { font-weight: 700; font-size: 20px; }

/* ── Recap frais — lisibilité ────────────────────────────── */
.vir-frais-recap { border-radius: 9px; background: #f8faff; }
.vir-frais-line span:first-child { font-weight: 600; color: var(--text); }
.vir-frais-total  span:first-child { font-weight: 800; }

/* ── Vue succès virement ─────────────────────────────────── */
#vir-success-view h3 { font-weight: 800; font-size: 22px; }
#vir-success-view p  { font-weight: 500; }

/* ── Correction responsive tablette (modal centré) ───────── */
@media (min-width: 600px) {
    .ft-modal { align-items: center; padding: 24px; }
    .ft-modal__box { border-radius: var(--r); }
    .ft-vir-modal-box { max-width: 560px; border-radius: var(--r) !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIREMENT v2.0 — Écrans Initialisation / Progression / Succès
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Bouton fermer ── */
.vir-x-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 18px; color: #94a3b8;
  cursor: pointer; padding: 4px 8px; border-radius: 4px;
  transition: color .15s, background .15s; z-index: 10;
}
.vir-x-close:hover { color: #1e293b; background: #f1f5f9; }

/* ── Champ montant avec signe € ── */
.vir-amount-wrap { position: relative; }
.vir-currency-sign {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #64748b; font-weight: 600; font-size: 15px; pointer-events: none;
}
.vir-amount-wrap input { padding-left: 28px !important; }

.ft-optional { font-size: 11px; color: #94a3b8; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════════════════
   ÉCRAN D'INITIALISATION
   ═══════════════════════════════════════════════════════════════════════════ */
.vir-init-screen {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 20px 28px; text-align: center;
}

/* Spinner bancaire triple */
.vir-bank-spinner {
  position: relative; width: 80px; height: 80px; margin-bottom: 28px;
}
.vir-spinner-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  animation: vir-spin 1.1s linear infinite;
}
.vir-spinner-ring--2 {
  inset: 8px;
  border-top-color: #3b82f6;
  animation-duration: 0.8s;
  animation-direction: reverse;
}
.vir-spinner-core {
  position: absolute; inset: 20px; display: flex;
  align-items: center; justify-content: center;
  font-size: 22px; border-radius: 50%;
  background: #f8fafc; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
@keyframes vir-spin { to { transform: rotate(360deg); } }

.vir-init-title {
  font-size: 16px; font-weight: 700; color: var(--navy);
  margin: 0 0 8px; min-height: 24px;
}
.vir-init-sub {
  font-size: 13px; color: #64748b; margin: 0 0 24px;
}
.vir-init-steps {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 320px; margin-bottom: 24px; text-align: left;
}
.vir-init-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #94a3b8;
  transition: color .3s;
}
.vir-init-step--active { color: var(--navy); font-weight: 600; }
.vir-init-step-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #e2e8f0;
  transition: background .3s;
}
.vir-init-step--active .vir-init-step-dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.2);
  animation: vir-pulse-dot .8s ease infinite alternate;
}
@keyframes vir-pulse-dot { to { transform: scale(1.3); } }

.vir-init-security {
  font-size: 11px; color: #94a3b8; margin: 0;
  letter-spacing: .02em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BARRE DE PROGRESSION — refonte
   ═══════════════════════════════════════════════════════════════════════════ */
.vir-progress-track {
  position: relative; height: 10px; background: #e2e8f0;
  border-radius: 99px; overflow: visible; margin-bottom: 12px;
}
.vir-progress-bar {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), #f59e0b);
  transition: none; /* géré par requestAnimationFrame */
  position: relative; z-index: 1;
}
.vir-progress-glow {
  position: absolute; top: -3px; height: 16px; width: 16px;
  border-radius: 50%; background: white;
  box-shadow: 0 0 0 3px rgba(201,168,76,.35), 0 0 12px rgba(201,168,76,.5);
  transform: translateX(-50%); pointer-events: none; z-index: 2;
  transition: none;
}

/* Étiquette step */
#vir-step-label { font-size: 13px; color: #64748b; }
#vir-step-label strong { color: var(--navy); }

/* ── Dots étapes améliorés ── */
.step-dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  transition: all .3s;
}
.dot-pending  { background: #f1f5f9; color: #94a3b8; border: 2px solid #e2e8f0; }
.dot-active   {
  background: var(--navy); color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,.18);
  animation: vir-dot-pulse .9s ease infinite alternate;
}
.dot-done     { background: #10b981; color: white; border: 2px solid #059669; }
.step-line    { flex: 1; height: 2px; background: #e2e8f0; transition: background .4s; }
.line-done    { background: #10b981; }
@keyframes vir-dot-pulse { to { box-shadow: 0 0 0 7px rgba(201,168,76,.08); } }

/* ── Message d'étape amélioré ── */
.vir-msg-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe; border-left: 4px solid #3b82f6;
  border-radius: 8px; padding: 14px 16px; margin: 14px 0;
}
.vir-msg-box--error {
  background: linear-gradient(135deg, #fff7ed 0%, #fef9f0 100%);
  border-color: #fed7aa; border-left-color: #f97316;
}
.vir-msg-box--appear { animation: vir-msg-appear .35s ease; }
@keyframes vir-msg-appear {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Saisie du code améliorée ── */
.vir-code-wrap {
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 10px; padding: 18px; margin-top: 8px;
}
.vir-code-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 12px;
}
.vir-code-label-icon { font-size: 16px; }
.vir-code-input {
  width: 120px !important; height: 56px;
  text-align: center; font-size: 28px; font-weight: 700;
  font-family: 'Courier New', monospace; letter-spacing: 10px;
  border: 2px solid #cbd5e1; border-radius: 8px;
  background: white; color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
  padding: 0 8px;
}
.vir-code-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.2);
  outline: none;
}
.vir-code-hint {
  font-size: 12px; color: #94a3b8; margin: 10px 0 0;
  line-height: 1.5;
}
.vir-code-error {
  background: #fef2f2; border: 1px solid #fecaca;
  border-left: 3px solid #ef4444;
  color: #dc2626; font-size: 13px; border-radius: 6px;
  padding: 10px 14px; margin-bottom: 10px;
}

/* Processing inline dots */
.vir-processing-dots { display: inline-flex; align-items: center; gap: 2px; }
.ft-spinner-inline {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: white;
  border-radius: 50%; animation: vir-spin .7s linear infinite;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ÉCRAN SUCCÈS
   ═══════════════════════════════════════════════════════════════════════════ */
.vir-success-screen {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 20px; text-align: center; position: relative;
}

/* Checkmark animé SVG */
.vir-success-checkmark {
  width: 80px; height: 80px; margin-bottom: 24px;
}
.vir-check-svg { width: 80px; height: 80px; }
.vir-check-circle {
  stroke: #10b981; stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: vir-check-circle .6s ease-in-out forwards;
}
.vir-check-path {
  stroke: #10b981; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: vir-check-path .4s .5s ease-in-out forwards;
}
@keyframes vir-check-circle { to { stroke-dashoffset: 0; } }
@keyframes vir-check-path   { to { stroke-dashoffset: 0; } }

.vir-success-title {
  font-size: 20px; font-weight: 800; color: #064e3b; margin: 0 0 8px;
}
.vir-success-sub {
  font-size: 14px; color: #64748b; margin: 0 0 24px;
}
.vir-success-ref-box {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 8px; padding: 14px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-bottom: 20px; width: 100%; max-width: 340px;
}
.vir-success-ref-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; }
.vir-success-ref-code  { font-family: monospace; font-size: 16px; font-weight: 700; color: #065f46; letter-spacing: .05em; }
.vir-success-footer { font-size: 13px; color: #94a3b8; line-height: 1.6; margin: 0; }
.vir-reload-msg     { font-size: 12px; }

/* Confettis */
.vir-confetti-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.confetti-piece {
  position: absolute; width: 8px; height: 8px; border-radius: 2px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  0%   { opacity: 1; transform: translateY(-20px) rotate(0deg); }
  100% { opacity: 0; transform: translateY(200px) rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .vir-code-input-row { flex-direction: column; }
  .vir-code-input { width: 100% !important; }
  .vir-init-screen { padding: 24px 12px 20px; }
  .vir-success-screen { padding: 24px 12px; }
  .ft-field-row { flex-direction: column; gap: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIREMENT v2.1 — Messages dynamiques + rouge code requis
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Statut dynamique sous la barre de progression ── */
.vir-dynamic-status {
  text-align: center; font-size: 13px; color: #64748b;
  min-height: 22px; margin: 6px 0 4px;
  font-style: italic; letter-spacing: .01em;
  transition: opacity .2s;
}

/* ── Bloc "code requis" — rouge vif ── */
.vir-msg-box--code-required {
  background: linear-gradient(135deg, #fff1f2 0%, #fff5f5 100%) !important;
  border-color: #fecaca !important;
  border-left: 4px solid #dc2626 !important;
}
.vir-msg-box--code-required .vir-msg-icon { font-size: 22px; }
.vir-code-required-title {
  display: block; color: #b91c1c !important;
  font-size: 14px; font-weight: 800; margin-bottom: 8px;
}
.vir-code-required-text {
  color: #dc2626 !important; font-size: 13px;
  line-height: 1.55; margin: 0 0 10px !important;
  font-weight: 500;
}
.vir-code-required-list {
  margin: 0; padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 5px;
}
.vir-code-required-list li {
  font-size: 12px; color: #b91c1c; font-weight: 500;
}

/* ── Bloc session expirée — rouge foncé ── */
.vir-msg-box--fatal {
  background: linear-gradient(135deg, #fef2f2 0%, #fff1f1 100%) !important;
  border-color: #f87171 !important;
  border-left: 4px solid #dc2626 !important;
}

/* ── Bouton danger ── */
.ft-btn--danger {
  background: #dc2626; color: white; border: none;
  padding: 10px 20px; border-radius: 7px; font-weight: 700;
  font-size: 13px; cursor: pointer;
  transition: background .15s, transform .1s;
}
.ft-btn--danger:hover  { background: #b91c1c; transform: translateY(-1px); }
.ft-btn--danger:active { transform: translateY(0); }

/* ── Icône ⚠️ dans les erreurs de code ── */
.vir-err-icon { font-size: 15px; margin-right: 4px; }

/* Surcharge vir-code-error pour bien afficher l'icône */
.vir-code-error {
  display: flex; align-items: flex-start; gap: 6px;
}

/* ── Couleur du % label selon phase ── */
#vir-pct-label {
  font-size: 17px; font-weight: 800; color: var(--navy);
  transition: color .4s;
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIREMENT v4.0 — CERCLE BLANC MODERNE (type néobanque / Arial Bold)
   Remplace entièrement v3.0 dark glassmorphism
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset modal : fond blanc pour la vue progress ── */
#vir-progress-view .ft-modal__box,
.ft-vir-modal-box { background: #ffffff !important; }

/* ══ NOUVEAU HTML v3 — CLASSES ALIGNÉES SUR LA DÉMO ═══════════════════════ */

/* Titres formulaire */
.vir-title {
  font-size: 22px;
  font-weight: 700;
  color: #0d1117;
  margin-bottom: 6px;
  letter-spacing: -.5px;
}
.vir-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Alerte formulaire */
.ft-vir-alert { display: none; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 14px; align-items: flex-start; gap: 8px; }
.ft-vir-alert--error   { display: flex; background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
.ft-vir-alert--success { display: flex; background: #dcfce7; color: #16a34a; border: 1px solid #86efac; }

/* Erreurs de champ */
.ft-field-err { font-size: 11px; color: #dc2626; margin-top: 4px; display: none; }

/* Frais temps réel */
.vir-frais-recap { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.vir-frais-line  { display: flex; justify-content: space-between; font-size: 13px; color: #64748b; padding: 3px 0; }
.vir-frais-val   { font-family: 'DM Mono', monospace; }
.vir-frais-total { font-weight: 700; color: #0d1117; font-size: 15px; border-top: 1px solid #e2e8f0; padding-top: 8px; margin-top: 6px; }

/* Écran init */
.vir-init-screen { text-align: center; padding: 40px 20px; }
.vir-init-icon   { font-size: 40px; margin-bottom: 16px; display: block; animation: vir-pulse 1.5s ease-in-out infinite; }
@keyframes vir-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
.vir-init-title  { font-size: 17px; font-weight: 700; color: #0d1117; margin-bottom: 8px; }
.vir-init-sub    { font-size: 13px; color: #64748b; }
.vir-init-loader { margin: 22px auto; width: 48px; height: 4px; background: #dbeafe; border-radius: 4px; overflow: hidden; position: relative; }
.vir-init-loader::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: #2563eb; border-radius: 4px; animation: vir-load 1.2s ease-in-out infinite;
}
@keyframes vir-load { to { left: 160%; } }

/* Vue progression */
.vir-progress-inner { text-align: center; padding: 4px 0; }

/* Arc SVG */
.vir-arc-wrap   { position: relative; width: 220px; height: 220px; margin: 0 auto 20px; }
.vir-arc-svg    { transform: rotate(-90deg); }
.vir-arc-bg     { fill: none; stroke: #e2e8f0; stroke-width: 10; }
.vir-arc-fg     { fill: none; stroke: #2563eb; stroke-width: 10; stroke-linecap: round;
                  stroke-dasharray: 565.49; stroke-dashoffset: 565.49;
                  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1), stroke .4s; }
.vir-arc-glow   { fill: none; stroke: #2563eb; stroke-width: 18; stroke-linecap: round; opacity: .12;
                  stroke-dasharray: 565.49; stroke-dashoffset: 565.49;
                  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1), stroke .4s; }
.vir-arc-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.vir-pct-label  { font-family: 'DM Mono', monospace; font-size: 38px; font-weight: 500; color: #0d1117; line-height: 1; display: block; transition: color .4s; }
.vir-arc-status { font-size: 11px; color: #64748b; margin-top: 4px; text-transform: uppercase; letter-spacing: .6px; display: block; }

/* Référence */
.vir-recap-ref      { font-family: 'DM Mono', monospace; font-size: 11px; color: #64748b;
                       background: #f8fafc; padding: 6px 12px; border-radius: 8px;
                       border: 1px solid #e2e8f0; margin-bottom: 18px; display: inline-block; }

/* Grille récap 3 colonnes */
.vir-recap-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.vir-recap-cell  { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; text-align: center; }
.vir-recap-lbl   { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: #64748b; margin-bottom: 4px; }
.vir-recap-val   { font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 500; color: #0d1117; }

/* Zone saisie code */
.vir-code-section { text-align: left; }
.vir-code-lbl     { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.vir-code-row     { display: flex; gap: 10px; margin-bottom: 8px; }
.vir-code-input   {
  flex: 1; padding: 14px; border: 1.5px solid #e2e8f0; border-radius: 10px;
  font-family: 'DM Mono', monospace; font-size: 28px; text-align: center;
  letter-spacing: 12px; color: #0d1117; background: #f8fafc; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.vir-code-input:focus    { border-color: #2563eb; box-shadow: 0 0 0 3px #2563eb1a; background: #fff; }
.vir-code-input.shake    { animation: vir-shake .4s ease; }
.vir-code-input.field-error { border-color: #dc2626; }
@keyframes vir-shake {
  0%,100%{transform:translateX(0)} 20%{transform:translateX(-8px)}
  40%{transform:translateX(8px)} 60%{transform:translateX(-5px)} 80%{transform:translateX(5px)}
}
.vir-code-err { font-size: 12px; color: #dc2626; margin-bottom: 8px; }
.vir-code-btn { flex: 0 0 auto; width: auto !important; padding: 14px 20px !important; }

/* ══ CARTE PRINCIPALE ════════════════════════════════════════════════════════ */
.vpc-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 22px 28px;
  font-family: Arial, Helvetica, sans-serif;
  color: #0f172a;
  position: relative;
  box-shadow: 0 2px 24px rgba(0,0,0,.10);
}

/* ── En-tête ── */
.vpc-header {
  text-align: center;
  margin-bottom: 18px;
}
.vpc-title {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 700; /* Arial Bold */
  color: #0f172a;
  letter-spacing: .01em;
  line-height: 1.2;
}
.vpc-subtitle {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  font-weight: 400;
  letter-spacing: .04em;
}

/* ── Récap montant ── */
.vpc-recap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 22px;
  gap: 0;
}
.vpc-recap-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.vpc-recap-sep {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
  flex-shrink: 0;
}
.vpc-recap-label {
  font-size: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 400;
}
.vpc-recap-val {
  font-size: 15px;
  font-weight: 700; /* Arial Bold */
  font-family: Arial, Helvetica, sans-serif;
  color: #1e293b;
}
.vpc-recap-total {
  color: #2563eb !important;
  font-size: 16px !important;
}

/* ══ CERCLE DE PROGRESSION ════════════════════════════════════════════════════
   SVG : viewBox="0 0 220 220", cx=cy=110, r=90
   Circumference = 2 * π * 90 = 565.49 px
   ══════════════════════════════════════════════════════════════════════════════ */
.vpc-circle-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 18px;
  background: #ffffff;       /* fond blanc — empêche le fond sombre du modal de traverser */
  border-radius: 50%;
}

.vpc-svg {
  width: 210px;
  height: 210px;
  transform: rotate(-90deg); /* arc commence à midi */
  display: block;
  overflow: visible;
  background: #ffffff;  /* blanc explicite — le fond du modal est semi-sombre */
  border-radius: 50%;   /* masque les coins du carré blanc */
}

/* Piste de fond : anneau gris clair */
.vpc-track {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 14;
}

/* Arc de progression principal — bleu → vert au 100% */
.vpc-arc {
  fill: none;
  stroke: #2563eb;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 565.49;
  stroke-dashoffset: 565.49; /* = 0% */
  transition: stroke 0.6s ease;
  filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.45));
}

/* Arc glow (arrière-plan flou, même dashoffset que l'arc) */
.vpc-arc-glow {
  fill: none;
  stroke: #2563eb;
  stroke-width: 22;
  stroke-linecap: round;
  stroke-dasharray: 565.49;
  stroke-dashoffset: 565.49;
  opacity: 0.13;
  transition: stroke 0.6s ease;
}

/* Contenu centré dans le cercle */
.vpc-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* % — Arial Bold, grande taille, bleu foncé */
.vpc-pct {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 46px;
  font-weight: 700; /* Arial Bold */
  color: #1e3a8a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  transition: color .4s ease;
}

.vpc-pct-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* ── Message dynamique sous le cercle ── */
.vpc-dyn-msg {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700; /* Arial Bold */
  color: #475569;
  min-height: 22px;
  margin: 0 0 14px;
  letter-spacing: .01em;
  transition: opacity .2s;
}

/* ══ MESSAGE ADMIN — BORDURE ALERTE / MESSAGE BRUT ════════════════════════════ */
.vpc-etape-wrap:empty { display: none; }

.vpc-admin-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8f0;
  border: 1.5px solid #fed7aa;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(217, 119, 6, 0.08);
}
.vpc-admin-msg--appear { animation: vpc-appear .35s ease; }
@keyframes vpc-appear {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vpc-admin-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.3;
}
.vpc-admin-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0d1117;
  line-height: 1.5;
  line-height: 1.5;
}

/* ── Référence transaction ── */
.vpc-ref {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin: 0 0 18px;
  font-family: Arial, Helvetica, sans-serif;
}
.vpc-ref code {
  color: #64748b;
  font-family: monospace;
  letter-spacing: .04em;
}

/* ══ ZONE ACTION ══════════════════════════════════════════════════════════════ */
.vpc-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.vpc-action form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Champ code — centré, sobre */
.vpc-code-input {
  width: 140px;
  height: 62px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 10px;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  caret-color: #2563eb;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  padding: 0 8px;
}
.vpc-code-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
  background: #f0f7ff;
}
.vpc-code-input::placeholder {
  color: #cbd5e1;
  letter-spacing: 6px;
}
.vpc-code-input.shake {
  animation: vir-shake .4s ease;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}

/* Bouton principal — Arial Bold, bleu plein */
.vpc-btn {
  width: 100%;
  max-width: 300px;
  padding: 16px 24px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700; /* Arial Bold */
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(37, 99, 235, .35);
}
.vpc-btn:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, .45);
}
.vpc-btn:active:not(:disabled) {
  transform: translateY(0);
}
.vpc-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.vpc-btn--ghost {
  background: transparent;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  box-shadow: none;
}
.vpc-btn--ghost:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* Erreur code */
.vpc-code-error {
  background: #fff1f2;
  border: 1px solid #fecaca;
  border-left: 3px solid #dc2626;
  border-radius: 8px;
  padding: 10px 14px;
  color: #dc2626;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 300px;
  text-align: left;
}

/* ══ RESPONSIVE ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .vpc-circle-wrap { width: 180px; height: 180px; }
  .vpc-svg         { width: 180px; height: 180px; }
  .vpc-pct         { font-size: 38px; }
  .vpc-recap       { flex-wrap: wrap; gap: 10px; }
  .vpc-recap-sep   { display: none; }
  .vpc-recap-item  { flex: 1 1 calc(33% - 10px); }
  .vpc-btn         { font-size: 15px; padding: 14px 20px; }
}

@media (max-width: 360px) {
  .vpc-pct         { font-size: 32px; }
  .vpc-circle-wrap { width: 160px; height: 160px; }
  .vpc-svg         { width: 160px; height: 160px; }
}

/* Protection SVG — empêche tout héritage de couleur de fond du thème */
#vir-circle-svg { background: #ffffff; border-radius: 50%; }
#vir-circle-svg circle { vector-effect: non-scaling-stroke; }

/* ============================================================
   CREDITEMO — Overrides typographiques globaux (Arial, 16-18px)
   Pour une meilleure lisibilité des seniors / personnes âgées
   ============================================================ */

/* Polices globales */
body,
.fintech-wrap,
.ft-card,
.ft-main,
.ft-topbar,
.ft-mobile-nav,
.ft-modal,
input, select, textarea, button {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Taille de base */
body { font-size: 16px !important; }

/* Inputs et labels — 17-18px */
.ft-field label,
.ft-pwd-rules li,
.ft-otp-hint,
.ft-card__footer,
.vir-subtitle,
.ft-simulator,
p { font-size: 17px !important; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}

/* Boutons */
.ft-btn,
.ft-action-btn,
.vir-code-btn {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

/* Titres */
.ft-card__title,
.ft-page-title,
.ft-section__title,
.vir-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 22px !important;
}

/* Logo / Topbar */
.ft-topbar__brand,
.ft-card__logo {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* Navigation */
.ft-topbar__nav a,
.ft-mobile-nav a {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
}

/* Balance dashboard */
.ft-balance__amount {
  font-size: 34px !important;
}
.ft-balance__label {
  font-size: 16px !important;
}
.ft-balance__iban,
.ft-balance__user {
  font-size: 16px !important;
}

/* Messages d'alerte — couleur verte pour succès */
.ft-alert--success {
  background-color: #f0fdf4 !important;
  border: 2px solid #16a34a !important;
  color: #14532d !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  padding: 14px 18px !important;
}
.ft-alert--error {
  background-color: #fef2f2 !important;
  border: 2px solid #dc2626 !important;
  color: #7f1d1d !important;
  font-size: 17px !important;
}
.ft-alert--warn {
  background-color: #fffbeb !important;
  border: 2px solid #d97706 !important;
  color: #78350f !important;
  font-size: 17px !important;
}
.ft-alert--info {
  background-color: #eff6ff !important;
  border: 2px solid #2563eb !important;
  color: #1e3a8a !important;
  font-size: 17px !important;
}

/* OTP digits — plus grands */
.ft-otp-digit {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 22px !important;
}

/* Tx list */
.ft-tx-desc,
.ft-tx-date,
.ft-tx-ref { font-size: 15px !important; }
.ft-tx-val { font-size: 18px !important; }

/* Virement modal */
.vir-title { font-size: 22px !important; }
.vir-code-lbl { font-size: 17px !important; }
.vir-success-title { font-size: 22px !important; }
.vir-success-sub { font-size: 17px !important; }

/* Formulaire crédit */
.ft-simulator { font-size: 17px !important; }

/* ============================================================
   CREDITEMO v2.1 — Crédit : simulateur, typographie, contact banque
   ============================================================ */

/* ── Hint sous champ ───────────────────────────────────────────────────────── */
.ft-field-hint {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ── Simulateur crédit — harmonisé avec historique transactions ─────────────── */
.ft-credit-simulator-box {
  background: #f0f9ff;
  border: 1.5px solid #38bdf8;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 18px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.ft-sim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e0f0fb;
  font-size: 17px;          /* même taille que .ft-tx-desc */
  color: #1e293b;
}

.ft-sim-row:last-child {
  border-bottom: none;
}

.ft-sim-row.ft-sim-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px solid #0369a1;
  border-bottom: none;
  font-weight: 700;
}

.ft-sim-val {
  font-size: 18px;          /* même taille que .ft-tx-val */
  font-weight: 700;
  color: #0369a1;
  font-family: Arial, Helvetica, sans-serif;
}

.ft-sim-total .ft-sim-val {
  color: #0a1628;
  font-size: 20px;
}

/* ── Harmonisation : solde crédit = même typo que tx-val ───────────────────── */
.ft-credit-card .ft-balance__amount,
#ft-balance {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* ── Message "Contacter la banque" dans le modal virement ──────────────────── */
.vir-code-contact-msg {
  background: #fff7ed;
  border: 2px solid #f97316;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #92400e;
  line-height: 1.5;
  text-align: center;
}

/* ── CSS Admin : tableau crédit amortissement ──────────────────────────────── */
.ft-credit-amort {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

/* ============================================================
   CREDITEMO v2.2 — BOLD GLOBAL + Solde Arial Bold + Online-Bank
   ============================================================ */

/* ── Gras global sur tout le contenu de l'espace client ──────────────────── */
.fintech-wrap,
.fintech-wrap p,
.fintech-wrap span,
.fintech-wrap div,
.fintech-wrap label,
.fintech-wrap a,
.fintech-wrap li,
.fintech-wrap td,
.fintech-wrap th,
.fintech-wrap small,
.fintech-wrap em,
.fintech-wrap h1,
.fintech-wrap h2,
.fintech-wrap h3,
.fintech-wrap h4,
.ft-topbar,
.ft-topbar__brand,
.ft-topbar__nav a,
.ft-mobile-nav a,
.ft-card,
.ft-card p,
.ft-card label,
.ft-card span,
.ft-card__title,
.ft-card__footer,
.ft-card__footer a,
.ft-security-badge,
.ft-otp-hint,
.ft-pwd-rules li,
.ft-tx-desc,
.ft-tx-date,
.ft-tx-ref,
.ft-tx-val,
.ft-balance__label,
.ft-balance__iban,
.ft-balance__user,
.ft-section__title,
.ft-page-title,
.ft-sim-row,
.ft-sim-val,
.ft-field-hint,
.ft-empty,
.vir-subtitle,
.vir-title,
.vir-frais-line,
.vir-recap-lbl,
.vir-recap-val,
.vir-success-title,
.vir-success-sub,
.vir-success-ref-label,
.vir-code-contact-msg,
.vir-init-title,
.vir-init-sub,
.vir-pct-label,
.vir-arc-status,
.ft-credit-simulator-box,
.ft-credit-simulator-box span,
.ft-simulator {
  font-weight: 700 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ── Inputs : Bold aussi pour la saisie ───────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea,
.ft-otp-digit {
  font-weight: 700 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ── Boutons : Bold maintenu ──────────────────────────────────────────────── */
.ft-btn,
.ft-action-btn,
button,
.vir-code-btn {
  font-weight: 900 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ── Solde bancaire : police à chiffres tabulaires, style bancaire ────────── */
#ft-balance,
.ft-balance__amount {
  font-family: 'Courier New', Courier, 'Lucida Console', monospace !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 5.5vw, 40px) !important;
  color: var(--goldk) !important;
  letter-spacing: 1px !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18) !important;
  font-variant-numeric: tabular-nums !important;
}

/* ── Badges et statuts ────────────────────────────────────────────────────── */
.ft-badge,
.ft-tx-badge {
  font-weight: 700 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ── Notifications / alertes : Bold + lisibles ────────────────────────────── */
.ft-alert,
.ft-alert--success,
.ft-alert--error,
.ft-alert--warn,
.ft-alert--info,
.ft-vir-alert {
  font-weight: 700 !important;
  font-size: 17px !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ── Dashboard security info ──────────────────────────────────────────────── */
.ft-security-info,
#ft-last-login,
#ft-last-country {
  font-weight: 700 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ── Navigation active ────────────────────────────────────────────────────── */
.ft-topbar__nav a.active,
.ft-mobile-nav a.active {
  font-weight: 900 !important;
}
