/* Modal width: content-driven */
#localeModal .locale-modal-auto {
  max-width: min(95vw, 1200px);
  width: auto;
}

#localeModal .locale-modal-auto .modal-content  {
  width: auto;
}

/* =================================================
   Styles for Locale SIMPLE Modal
================================================= */

/* =================================================
   Locale simple modal – volledige styling (FIXED)
================================================= */

/* -------------------------------------------------
   Column sizing
------------------------------------------------- */
#localeModal .locale-simple-modal .locale-section {
  min-width: 200px;
}

#localeModal .locale-simple-modal .currency-section {
  min-width: 130px;
}

/* -------------------------------------------------
   Headings
------------------------------------------------- */
#localeModal .locale-simple-modal h6 {
  font-weight: 600;
  font-size: 16px;
}

/* -------------------------------------------------
   Flags & images
------------------------------------------------- */
#localeModal .locale-simple-modal .icon-flag {
  width: 25px;
  margin-left: 10px;
}

#localeModal .locale-simple-modal img {
  vertical-align: middle;
  margin-right: 6px;
}

/* -------------------------------------------------
   Country label
------------------------------------------------- */
#localeModal .locale-simple-modal .country {
  font-weight: 500;
  margin-left: 5px;
}

/* -------------------------------------------------
   Lists reset
------------------------------------------------- */
#localeModal .locale-simple-modal ul {
  margin: 0;
  padding-left: 0;
}

/* -------------------------------------------------
   List items & links
------------------------------------------------- */
#localeModal .locale-simple-modal li {
  list-style: none;
  margin-bottom: 6px;
  padding: 0;
  position: relative;
}

#localeModal .locale-simple-modal li > a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 10px;
  border-radius: 3px;
  color: #212529;
  text-decoration: none;
  position: relative;
  transition: background-color 0.15s ease, font-weight 0.15s ease;
}

/* Hover + focus */
#localeModal .locale-simple-modal li > a:hover,
#localeModal .locale-simple-modal li > a:focus-visible {
  background-color: #F5F7FA;
  font-weight: 500;
  text-decoration: none;
}

/* Active link (taal) */
#localeModal .locale-simple-modal li > a.active,
#localeModal .locale-simple-modal li > a.is-active,
#localeModal .locale-simple-modal li > a[aria-current="true"] {
  cursor: default;
  pointer-events: none;
  font-weight: 500;
  background-color: transparent;
  text-decoration: none;
}

/* -------------------------------------------------
   Active badge
------------------------------------------------- */
#localeModal .locale-simple-modal .locale-active-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1;
  color: #6c757d;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

/* -------------------------------------------------
   Currency badge
------------------------------------------------- */
#localeModal .locale-simple-modal .currency-badge {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 500;
  color: #868e96;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  background: transparent;
  transition: all 0.15s ease;
}

#localeModal .locale-simple-modal li:hover .currency-badge {
  background: #F5F7FA;
  border-color: #ced4da;
  color: #000;
}

#localeModal .locale-simple-modal .currency-badge.active {
  border-color: #adb5bd;
  background: #FBFCFF;
  font-weight: 600;
}

/* =================================================
   Taalrelatie – DEFINITIEF CORRECT
================================================= */

/* groep */
#localeModal .locale-simple-modal .locale-group {
  position: relative;
}

/* lijstpositie */
#localeModal .locale-simple-modal .locale-group ul {
  position: relative;
  margin-left: 22px;
  padding-left: 12px;
}

/* verticale lijn:
   van midden eerste <a> tot midden laatste <a> */
#localeModal .locale-simple-modal .locale-group ul::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(6px + 0.5em);     /* padding-top + halve teksthoogte */
  bottom: calc(6px + 0.5em);  /* padding-bottom + halve teksthoogte */
  width: 1px;
  background-color: #dee2e6;
}

/* horizontale aftakking per taal (behalve eerste) */
#localeModal .locale-simple-modal .locale-group li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 12px;
  height: 1px;
  background-color: #dee2e6;
  transform: translateY(-50%);
}




/* =================================================
   Styles for Locale MULTI Modal
================================================= */

/* =================================================
   Locale Multi Modal – volledige styling
   Namespace: #localeModal .locale-multi-modal
================================================= */

/* -------------------------------------------------
   Modal sizing (content-driven)
------------------------------------------------- */
#localeModal .locale-multi-modal {
  /* lege container, puur namespace */
}

#localeModal .locale-multi-modal .modal-content {
  width: auto;
}

#localeModal .locale-modal-auto {
  max-width: min(95vw, 1200px);
  width: auto;
}

/* -------------------------------------------------
   Kolommen
------------------------------------------------- */
#localeModal .locale-multi-modal .locale-section {
  min-width: 200px;
}

#localeModal .locale-multi-modal .currency-section {
  min-width: 130px;
}

/* -------------------------------------------------
   Headings & typografie
------------------------------------------------- */
#localeModal .locale-multi-modal h6 {
  font-weight: 600;
  /*font-size: 16px;*/
  
  font-size: 18px;
    font-family: 'Futura PT';
    font-style: italic;  
}

/* -------------------------------------------------
   Flags & country labels
------------------------------------------------- */
#localeModal .locale-multi-modal .icon-flag {
  width: 25px;
  margin-left: 10px;
  vertical-align: middle;
}

#localeModal .locale-multi-modal .country {
  font-weight: 500;
}

/* -------------------------------------------------
   Lists – reset Bootstrap spacing
------------------------------------------------- */
#localeModal .locale-multi-modal ul {
  margin: 0;
  padding-left: 0;
}

#localeModal .locale-multi-modal .list-unstyled {
  margin-left: 20px;
}

/* -------------------------------------------------
   List items & links (clickable rows)
------------------------------------------------- */
#localeModal .locale-multi-modal li {
  list-style: none;
  margin: 0;
  position: relative;
}

#localeModal .locale-multi-modal li > a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 10px;
  border-radius: 4px;
  color: #212529;
  text-decoration: none;
  transition: background-color 0.15s ease, font-weight 0.15s ease;
}

#localeModal .locale-multi-modal li > a:hover,
#localeModal .locale-multi-modal li > a:focus-visible {
  background-color: #F5F7FA;
  font-weight: 500;
  text-decoration: none;
}

/* Active link (taal) */
#localeModal .locale-multi-modal li > a.active,
#localeModal .locale-multi-modal li > a[aria-current="true"] {
  cursor: default;
  pointer-events: none;
  font-weight: 500;
  background-color: transparent;
  text-decoration: none;
}

/* -------------------------------------------------
   Active locale badge
------------------------------------------------- */
#localeModal .locale-multi-modal .locale-active-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1;
  color: #6c757d;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

/* -------------------------------------------------
   Currency badge
------------------------------------------------- */



#localeModal .locale-multi-modal .currency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  margin-left: 10px;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 500;
  color: #868e96;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#localeModal .locale-multi-modal li > a:hover .currency-badge {
  background-color: #F5F7FA;
  border-color: #ced4da;
  color: #000;
}
/* actieve valuta */
#localeModal .locale-multi-modal .currency-badge.active {
  border-color: #adb5bd;
  background: #FBFCFF;
  font-weight: 600;
}


/* -------------------------------------------------
   Relatie-lijnen: land → talen
------------------------------------------------- */
#localeModal .locale-multi-modal .locale-group {
  position: relative;
}

/* ruimte voor de lijn */
#localeModal .locale-multi-modal .locale-group ul {
  position: relative;
  margin-left: 26px;
  padding-left: 14px;
}

/* verticale lijn */
#localeModal .locale-multi-modal .locale-group ul::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  bottom: 0.4em;
  width: 1px;
  background-color: #dee2e6;
}

/* horizontale aftakking per taal */
#localeModal .locale-multi-modal .locale-group li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 14px;
  height: 1px;
  background-color: #dee2e6;
  transform: translateY(-50%);
}

/* -------------------------------------------------
   Kleine visuele polish
------------------------------------------------- */
#localeModal .locale-multi-modal i.fa {
  margin-right: 6px;
}



/* -------------------------------------------------
   Optional: non-clickable active row
   (alleen gebruiken als je actieve taal GEEN link heeft)
------------------------------------------------- */

/*
#localeModal li.is-active {
  padding: 6px 10px;
  border-radius: 3px;
}

#localeModal li.is-active:hover {
  background-color: #efefef;
}
*/


/* =================================================
   Locale Global Modal – land → talen relaties
================================================= */

/* =================================================
   Locale Global Modal – volledige styling
   Namespace: #localeModal .locale-global-modal
================================================= */

/* -------------------------------------------------
   Modal sizing (content-driven)
------------------------------------------------- */
#localeModal .locale-global-modal {
  /* namespace only */
}

#localeModal .locale-global-modal .modal-content {
  width: auto;
}

#localeModal .locale-modal-auto {
  max-width: min(95vw, 1400px);
  width: auto;
}

/* -------------------------------------------------
   Kolommen (continenten)
------------------------------------------------- */
#localeModal .locale-global-modal .locale-section {
  min-width: 220px;
}

/* -------------------------------------------------
   Continent headings
------------------------------------------------- */
#localeModal .locale-global-modal h6 {
  font-weight: 600;
  font-size: 18px;
  font-family: 'Futura PT';
  font-style: italic;
  margin-bottom: 14px;
  padding: 10px 0;
}

/* -------------------------------------------------
   Land headers (niet klikbaar)
------------------------------------------------- */
#localeModal .locale-global-modal .country {
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  margin-top: 10px;
}

/* Flags */
#localeModal .locale-global-modal .icon-flag {
  width: 22px;
  margin-left: 8px;
  vertical-align: middle;
}

/* -------------------------------------------------
   Lists reset
------------------------------------------------- */
#localeModal .locale-global-modal ul {
  margin: 0;
  padding-left: 0;
}

#localeModal .locale-global-modal li {
  list-style: none;
  margin: 0;
  position: relative;
}

/* -------------------------------------------------
   Taal-links (klikbaar)
------------------------------------------------- */
#localeModal .locale-global-modal li > a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 10px;
  border-radius: 4px;
  color: #212529;
  text-decoration: none;
  transition: background-color 0.15s ease, font-weight 0.15s ease;
}

#localeModal .locale-global-modal li > a:hover,
#localeModal .locale-global-modal li > a:focus-visible {
  background-color: #F5F7FA;
  font-weight: 500;
  text-decoration: none;
}

/* Active taal (optioneel) */
#localeModal .locale-global-modal li > a.active,
#localeModal .locale-global-modal li > a[aria-current="true"] {
  cursor: default;
  pointer-events: none;
  font-weight: 500;
  background-color: transparent;
  text-decoration: none;
}

/* -------------------------------------------------
   Locale group (land → talen)
------------------------------------------------- */
#localeModal .locale-global-modal .locale-group {
  position: relative;
  margin-bottom: 16px;
}

/* ruimte voor relatie-lijn */
#localeModal .locale-global-modal .locale-group ul {
  position: relative;
  margin-left: 26px;
  padding-left: 14px;
}

/* verticale relatie-lijn */
#localeModal .locale-global-modal .locale-group ul::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(6px + 0.5em);
  bottom: calc(6px + 0.5em);
  width: 1px;
  background-color: #dee2e6;
}

/* horizontale aftakking per taal */
#localeModal .locale-global-modal .locale-group li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 14px;
  height: 1px;
  background-color: #dee2e6;
  transform: translateY(-50%);
}



/* -------------------------------------------------
   Kleine visuele polish
------------------------------------------------- */
#localeModal .locale-global-modal i.fa {
  margin-right: 6px;
}



