/**
 * Decisium Finance — Simulateurs gratuits
 * Feuille de style
 */

.df-sim {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 80px;
  color: #0f2044;
  line-height: 1.6;
}

/* ─── Header ─── */
.df-sim-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 2px solid #d4af37;
}
.df-sim-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: #0a0e17;
  margin: 0 0 12px 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.df-sim-intro {
  font-size: 16px;
  color: #5e6b84;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── Nav tabs ─── */
.df-sim-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e4dfd4;
  padding-bottom: 0;
}
.df-sim-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: #5e6b84;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease, border-color 0.15s ease;
  flex: 1 1 auto;
  min-width: 180px;
  justify-content: flex-start;
}
.df-sim-tab:hover {
  color: #0a0e17;
}
.df-sim-tab-active {
  color: #0a0e17;
  border-bottom-color: #d4af37;
}
.df-sim-tab-number {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #b8860b;
  font-weight: 600;
}
.df-sim-tab-label {
  font-weight: 500;
}

/* ─── Panneau simulateur ─── */
.df-sim-panel {
  background: #fbfaf6;
  border: 1px solid #e4dfd4;
  border-radius: 6px;
  padding: 28px 24px;
}
.df-sim-panel-header {
  margin-bottom: 28px;
}
.df-sim-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #0a0e17;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.df-sim-h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0a0e17;
  margin: 0 0 12px 0;
}
.df-sim-h3-accent {
  color: #b8860b;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid #e4dfd4;
  padding-bottom: 6px;
}
.df-sim-desc {
  font-size: 15px;
  color: #5e6b84;
  margin: 0;
  line-height: 1.55;
}

/* ─── Grid inputs/résultat (sim 1-2-3) ─── */
.df-sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .df-sim-grid {
    grid-template-columns: 1fr 320px;
  }
}

/* ─── Inputs ─── */
.df-sim-inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.df-sim-slider-wrap,
.df-sim-number-wrap,
.df-sim-radio-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.df-sim-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.df-sim-slider-label {
  font-size: 14px;
  color: #1a2847;
  font-weight: 500;
}
.df-sim-slider-value {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: #0a0e17;
  background: #fff;
  padding: 2px 10px;
  border-radius: 3px;
  border: 1px solid #e4dfd4;
}
.df-sim-slider-input {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: #e4dfd4;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.df-sim-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #d4af37;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.df-sim-slider-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #d4af37;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Number input */
.df-sim-number-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.df-sim-number-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 15px;
  font-family: 'DM Mono', monospace;
  border: 1px solid #c9c3b3;
  border-radius: 3px;
  background: #fff;
  color: #0a0e17;
}
.df-sim-number-input:focus {
  outline: none;
  border-color: #d4af37;
}
.df-sim-number-unit {
  font-size: 15px;
  color: #5e6b84;
  font-family: 'DM Mono', monospace;
}

/* Radio buttons (sim 3) */
.df-sim-radio-row {
  display: flex;
  gap: 6px;
}
.df-sim-radio-btn {
  flex: 1;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #c9c3b3;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #1a2847;
  transition: all 0.15s ease;
}
.df-sim-radio-btn:hover {
  border-color: #d4af37;
}
.df-sim-radio-btn-active {
  background: #0a0e17;
  color: #d4af37;
  border-color: #0a0e17;
  font-weight: 600;
}

/* ─── Résultat : score ring ─── */
.df-sim-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.df-sim-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
}
.df-sim-ring {
  width: 130px;
  height: 130px;
}
.df-sim-ring-track {
  fill: none;
  stroke: #e4dfd4;
  stroke-width: 8;
}
.df-sim-ring-progress {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}
.df-sim-ring-success { stroke: #16a34a; }
.df-sim-ring-warning { stroke: #d98e04; }
.df-sim-ring-danger { stroke: #c73a3a; }
.df-sim-ring-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.df-sim-ring-value {
  font-family: 'DM Mono', monospace;
  font-size: 34px;
  font-weight: 600;
  color: #0a0e17;
  line-height: 1;
}
.df-sim-ring-label {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: #5e6b84;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ─── Verdict box ─── */
.df-sim-verdict {
  padding: 14px 18px;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  border: 1px solid;
}
.df-sim-verdict-success {
  background: #eef9f0;
  border-color: #16a34a;
}
.df-sim-verdict-warning {
  background: #fef5e7;
  border-color: #d98e04;
}
.df-sim-verdict-danger {
  background: #fdecec;
  border-color: #c73a3a;
}
.df-sim-verdict-label {
  font-size: 15px;
  font-weight: 600;
  color: #0a0e17;
  margin-bottom: 6px;
}
.df-sim-verdict-detail {
  font-size: 13px;
  color: #1a2847;
  margin-top: 4px;
}
.df-sim-verdict-flag {
  font-size: 12px;
  color: #c73a3a;
  font-family: 'DM Mono', monospace;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #c73a3a;
}

/* ─── KPIs (sim 2) ─── */
.df-sim-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.df-sim-kpi {
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 4px;
  padding: 12px 10px;
  text-align: center;
}
.df-sim-kpi-label {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: #5e6b84;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.df-sim-kpi-value {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: #0a0e17;
  line-height: 1.1;
}
.df-sim-kpi-sub {
  font-size: 11px;
  color: #b8860b;
  margin-top: 4px;
  font-weight: 500;
}

/* ─── Interprétation (sous chaque simulateur) ─── */
.df-sim-interp {
  background: #fff;
  border-left: 3px solid #b8860b;
  padding: 16px 20px;
  border-radius: 2px;
  margin-top: 24px;
}
.df-sim-interp p {
  font-size: 14px;
  color: #1a2847;
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.df-sim-interp p:last-child { margin-bottom: 0; }
.df-sim-interp code {
  background: #fbfaf6;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid #e4dfd4;
  color: #0a0e17;
}

/* ═══════════════════════════════════════════════════════════ */
/* SIMULATEUR 4 — Cartographie DSI (layout spécifique)          */
/* ═══════════════════════════════════════════════════════════ */

.df-sim-dsi-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .df-sim-dsi-inputs {
    grid-template-columns: repeat(3, 1fr);
  }
}
.df-sim-dsi-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 4px;
}

.df-sim-dsi-results {
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 6px;
  padding: 24px;
}

.df-sim-dsi-dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e4dfd4;
}
.df-sim-dsi-dim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.df-sim-dsi-dim-label {
  font-size: 12px;
  color: #5e6b84;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* DSR + DBI Cards */
.df-sim-ratings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 580px) {
  .df-sim-ratings { grid-template-columns: 1fr; }
}
.df-sim-rating-card {
  padding: 22px;
  border-radius: 6px;
  text-align: center;
  color: #fff;
}
.df-sim-rating-dsr {
  background: linear-gradient(135deg, #081224 0%, #0a0e17 100%);
  border: 1px solid #d4af37;
}
.df-sim-rating-dbi {
  background: linear-gradient(135deg, #1a2847 0%, #0f2044 100%);
  border: 1px solid #d4af37;
}
.df-sim-rating-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 10px;
}
.df-sim-rating-grade {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin: 10px 0;
}
.df-sim-rating-desc {
  font-size: 14px;
  color: #e4dfd4;
  margin-bottom: 10px;
}
.df-sim-rating-score {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #c9c3b3;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}
.df-sim-rating-capped {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #ff9500;
  margin-top: 6px;
  font-style: italic;
}

/* Red flags box */
.df-sim-flags-box {
  margin-top: 20px;
  padding: 16px 18px;
  background: #fdecec;
  border: 1px solid #c73a3a;
  border-radius: 4px;
}
.df-sim-flags-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.df-sim-flags-list li {
  font-size: 13px;
  color: #7a1818;
  font-family: 'DM Mono', monospace;
  padding-left: 22px;
  position: relative;
}
.df-sim-flags-list li::before {
  content: '⚑';
  position: absolute;
  left: 0;
  color: #c73a3a;
  font-size: 14px;
}

/* ─── Footer du simulateur ─── */
.df-sim-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e4dfd4;
  text-align: center;
}
.df-sim-footer-text {
  font-size: 13px;
  color: #5e6b84;
  margin: 0 0 8px 0;
}
.df-sim-footer-text code {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  background: #fbfaf6;
  padding: 1px 6px;
  border-radius: 2px;
  color: #0a0e17;
  border: 1px solid #e4dfd4;
}
.df-sim-footer-disclaimer {
  font-size: 11px;
  color: #5e6b84;
  font-style: italic;
  margin: 0;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .df-sim {
    padding: 16px 12px 40px;
  }
  .df-sim-h1 { font-size: 28px; }
  .df-sim-h2 { font-size: 22px; }
  .df-sim-panel { padding: 20px 16px; }
  .df-sim-tab {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 0;
    flex: 1 1 45%;
  }
  .df-sim-kpis {
    gap: 6px;
  }
  .df-sim-kpi-value { font-size: 15px; }
  .df-sim-rating-grade { font-size: 44px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* TUNNEL DE CONVERSION — Sprint 2c                              */
/* ═══════════════════════════════════════════════════════════ */

.df-sim-tunnel {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #e4dfd4;
}

/* Diagnostic box */
.df-sim-tunnel-diag {
  background: #fff;
  border-radius: 6px;
  padding: 18px 22px;
  border-left: 4px solid #d4af37;
  margin-bottom: 20px;
}
.df-sim-tunnel-scalable .df-sim-tunnel-diag { border-left-color: #16a34a; }
.df-sim-tunnel-strained .df-sim-tunnel-diag { border-left-color: #d98e04; }
.df-sim-tunnel-critical .df-sim-tunnel-diag { border-left-color: #c73a3a; }

.df-sim-tunnel-zone {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b8860b;
  margin-bottom: 8px;
}
.df-sim-tunnel-scalable .df-sim-tunnel-zone { color: #16a34a; }
.df-sim-tunnel-strained .df-sim-tunnel-zone { color: #d98e04; }
.df-sim-tunnel-critical .df-sim-tunnel-zone { color: #c73a3a; }

.df-sim-tunnel-diagtext {
  font-size: 16px;
  color: #0f2044;
  margin: 0 0 12px 0;
  line-height: 1.55;
  font-weight: 500;
}
.df-sim-tunnel-redflag {
  font-size: 13px;
  color: #c73a3a;
  font-family: 'DM Mono', monospace;
  margin: 8px 0 0 0;
  padding: 8px 12px;
  background: #fdecec;
  border-radius: 3px;
  border: 1px solid #f5c6c6;
}

/* Bridge text */
.df-sim-tunnel-bridge {
  margin-bottom: 24px;
}
.df-sim-tunnel-bridge-text {
  font-size: 15px;
  color: #1a2847;
  line-height: 1.65;
  margin: 0;
  font-style: italic;
  padding: 0 8px;
}

/* Card tier recommandé */
.df-sim-tunnel-card {
  background: linear-gradient(180deg, #fbfaf6 0%, #fff 100%);
  border: 2px solid #d4af37;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}
.df-sim-tunnel-card-header {
  background: linear-gradient(135deg, #081224 0%, #0a0e17 100%);
  color: #fff;
  padding: 20px 24px;
  text-align: center;
  border-bottom: 2px solid #d4af37;
}
.df-sim-tunnel-card-recommended {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 8px;
}
.df-sim-tunnel-card-tier {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin: 4px 0 6px 0;
}
.df-sim-tunnel-card-tagline {
  font-size: 14px;
  color: #e4dfd4;
  font-style: italic;
}
.df-sim-tunnel-card-body {
  padding: 24px 26px;
}
.df-sim-tunnel-card-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #0a0e17;
  margin: 0 0 12px 0;
  line-height: 1.25;
}
.df-sim-tunnel-card-forwhom {
  font-size: 14px;
  color: #5e6b84;
  font-style: italic;
  margin: 0 0 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4dfd4;
}
.df-sim-tunnel-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.df-sim-tunnel-features li {
  font-size: 14px;
  color: #1a2847;
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.55;
}
.df-sim-tunnel-features li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 8px;
  color: #d4af37;
  font-weight: 700;
  font-size: 15px;
}

/* CTA Stripe */
.df-sim-tunnel-cta-wrap {
  padding: 0 26px 26px 26px;
  text-align: center;
}
.df-sim-tunnel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  background: #d4af37;
  color: #0a0e17;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}
.df-sim-tunnel-cta:hover,
.df-sim-tunnel-cta:focus {
  background: #b8860b;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}
.df-sim-tunnel-cta-label {
  font-size: 16px;
  letter-spacing: 0.2px;
}
.df-sim-tunnel-cta-price {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  padding: 4px 12px;
  border-left: 2px solid rgba(10, 14, 23, 0.25);
}
.df-sim-tunnel-cta:hover .df-sim-tunnel-cta-price {
  border-left-color: rgba(255, 255, 255, 0.3);
}
.df-sim-tunnel-stripe-mention {
  font-size: 12px;
  color: #5e6b84;
  font-family: 'DM Mono', monospace;
  margin: 12px 0 0 0;
  letter-spacing: 0.2px;
}

/* Comparatif 3 tiers */
.df-sim-tunnel-compare {
  margin-top: 20px;
  text-align: center;
}
.df-sim-tunnel-compare-btn {
  background: transparent;
  border: 1px solid #c9c3b3;
  border-radius: 3px;
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5e6b84;
  cursor: pointer;
  transition: all 0.15s ease;
}
.df-sim-tunnel-compare-btn:hover {
  border-color: #d4af37;
  color: #0a0e17;
  background: #fbfaf6;
}

.df-sim-tunnel-compare-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
  text-align: left;
}
@media (min-width: 768px) {
  .df-sim-tunnel-compare-table {
    grid-template-columns: repeat(3, 1fr);
  }
}
.df-sim-compare-col {
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 6px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}
.df-sim-compare-col-essential { border-top: 3px solid #5e6b84; }
.df-sim-compare-col-advanced {
  border-top: 3px solid #d4af37;
  background: #fbfaf6;
}
.df-sim-compare-col-strategic {
  border-top: 3px solid #6d3df5;
}
.df-sim-compare-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #0a0e17;
  margin-bottom: 4px;
}
.df-sim-compare-price {
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #b8860b;
  margin-bottom: 4px;
}
.df-sim-compare-tagline {
  font-size: 12px;
  color: #5e6b84;
  font-style: italic;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e4dfd4;
}
.df-sim-compare-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  flex: 1;
}
.df-sim-compare-features li {
  font-size: 12px;
  color: #1a2847;
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.4;
}
.df-sim-compare-features li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: #d4af37;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.df-sim-compare-link {
  display: block;
  padding: 10px 14px;
  background: #0a0e17;
  color: #d4af37;
  text-align: center;
  border-radius: 3px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.df-sim-compare-link:hover {
  background: #d4af37;
  color: #0a0e17;
  text-decoration: none;
}

/* Mobile tweaks pour le tunnel */
@media (max-width: 640px) {
  .df-sim-tunnel-card-tier { font-size: 32px; }
  .df-sim-tunnel-cta {
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
  }
  .df-sim-tunnel-cta-price {
    border-left: none;
    border-top: 1px solid rgba(10, 14, 23, 0.25);
    padding: 4px 0 0 0;
  }
  .df-sim-tunnel-diagtext { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* SELECTEUR DE JURIDICTION — Sprint 5b                         */
/* ═══════════════════════════════════════════════════════════ */

.df-sim-jurisdiction-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  margin: 0 0 20px 0;
  background: #fbfaf6;
  border: 1px solid #e4dfd4;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
}

.df-sim-jurisdiction-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #5e6b84;
  font-weight: 600;
}

.df-sim-jurisdiction-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
}

.df-sim-jurisdiction-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #e4dfd4;
  color: #5e6b84;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}

.df-sim-jurisdiction-option:hover {
  border-color: #d4af37;
  color: #0a0e17;
  background: #fff;
  text-decoration: none;
}

.df-sim-jurisdiction-option-active {
  background: #0a0e17;
  color: #d4af37;
  border-color: #d4af37;
}

.df-sim-jurisdiction-option-active:hover {
  background: #0a0e17;
  color: #d4af37;
}

.df-sim-jurisdiction-flag {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.df-sim-jurisdiction-name {
  font-size: 13px;
}

.df-sim-jurisdiction-current {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #b8860b;
  padding: 4px 10px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #e4dfd4;
  letter-spacing: 0.3px;
}

/* Mobile : le dropdown se stacke */
@media (max-width: 640px) {
  .df-sim-jurisdiction-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .df-sim-jurisdiction-options {
    justify-content: flex-start;
  }
  .df-sim-jurisdiction-name {
    display: none;  /* sur mobile, ne montrer que le flag */
  }
  .df-sim-jurisdiction-option {
    padding: 6px 10px;
  }
  .df-sim-jurisdiction-current {
    text-align: center;
  }
}
