/*!
 * multiselect-dropdown-va.css — THÈME VA — v1.1.0
 * CSS esthétique uniquement. Requiert la CSS core embarquée dans le JS.
 * Tous les sélecteurs sont préfixés par pour éviter
 * les conflits si plusieurs thèmes sont chargés simultanément.
 *
 * Usage HTML : ajouter data-theme="va" sur le <select>
 * Le JS ajoute automatiquement la classe sur .msd-container.
 *
 * Palette :
 *   Fond clair : #eee / #f9f9f9
 *   Primaire :   #0a5896 (bleu)   Sombre : #0a0b48 (marine)
 *   Texte :      #353535           Radius : 3px
 */

/* ── Conteneur ── */
.msd-container {
  background-color: #eee;
  border-radius: 3px;
  cursor: pointer;
}

/* ── Trigger ── */
.msd-container .msd-trigger {
  height: 50px;
  padding: 0 1em;
  border-radius: 3px;
  margin: 0;
  text-transform: none;
}

.msd-container .msd-trigger-label {
  font-family: "NeoSansStd-Medium", "Source Sans Pro", sans-serif;
  color: #0a0b48;
  line-height: 2;
}

.msd-container .msd-trigger:before {
  content: none;
}

.msd-container .msd-trigger:hover, .msd-container .msd-trigger:focus {
  background-color: #C8C8C8;
}

.msd-container .msd-arrow {
  width: 16px;
  color: #0a0b48;
}

.msd-container .msd-arrow:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' viewBox='0 0 448 512'%3E%3Cpath d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3E%3C/svg%3E");
}

/* ── Focus visible ── */
.msd-container .msd-trigger:focus-visible {
  outline-color: #0a5896;
}

/* ── Panneau ── */
.msd-container .msd-dropdown {
  left: 2px;
  right: 2px;
  background-color: #fff;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.15);
}

/* ── Groupe optgroup ── */
.msd-container .msd-group-label {
  color: #0a0b48;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2px;
}

/* ── Options ── */
.msd-container .msd-option {
  padding: 0 14px 0 10px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transition: background-color 0.1s, border-color 0.1s;
}
.msd-container .msd-option:hover,
.msd-container .msd-option:focus-within {
  background-color: #f9f9f9;
  border-top-color: #b9b9b9;
  border-bottom-color: #b9b9b9;
}

.msd-container .msd-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 12px 0;
  accent-color: #0a5896;
}

.msd-container .msd-opt-label {
  height: 40px;
  line-height: 40px;
  padding: 0 0 0 10px;
  color: #353535;
  font-weight: normal;
}

/* ── Footer ── */
.msd-container .msd-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-top:rgba(0, 0, 0, 0.15) 1px solid;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -ms-flex-pack:distribute;justify-content:space-around;
  justify-content: space-around;
  align-items: normal;
}

.msd-container .msd-btn {
  padding: 10px;
  color: #0a5896 !important;
  transition: color 0.15s, background-color 0.15s;
  margin: 0;
  flex: none;
  text-transform: none;
  height: auto;
}
.msd-container .msd-btn:before {
  content: none;
}
.msd-container .msd-btn:hover,
.msd-container .msd-btn:focus-visible {
  color: #de1a11 !important;
  background-color: transparent;
}

.msd-container .msd-btn.msd-btn-close {
  background-color: #0a5896;
  color: #fff !important;
}
.msd-container .msd-btn.msd-btn-close:hover,
.msd-container .msd-btn.msd-btn-close:focus-visible {
  background-color: #0a0b48;
  color: #fff;
}

/* ── Responsive ── */
@media screen and (max-width: 768px) {
  .msd-container .msd-footer {
    display: block;
  }
  .msd-container .msd-btn {
    text-align: center;
  }
}
