/**
* Theme Name: Neotech Child
* Description: This is a child theme of Neotech, generated by Merlin WP.
* Author: <a href="http://themelexus.com/">Themelexus</a>
* Template: neotech
* Version: 1.0.11
*/
/* Container */


/* Force the AI Engine container to float */
.mw-ai-chatbot-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
}

/* Ensure the button inside also behaves */
.mw-ai-chatbot-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
}




/* ============================================================
   ISCAE LANGUAGE SWITCHER — DUAL MODE (sombre + blanc)
   Coller dans style.css du thème ou thème enfant
   ============================================================

   UTILISATION :
   - Navbar sombre (navy) : ajoute la classe "header-dark"
     sur ton header Elementor
   - Navbar blanche       : ajoute la classe "header-light"
     sur ton header Elementor

   Dans Elementor → sélectionne la section Header
   → Avancé → Classes CSS → tape "header-dark" ou "header-light"
   ============================================================ */


/* ============================================================
   1. BASE COMMUNE — structure et dropdown (identique aux 2 modes)
   ============================================================ */

.cpel-switcher__nav {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  font-family: inherit !important;
}



.cpel-switcher__toggle.cpel-switcher__lang {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  border-radius: 6px !important;
  padding: 6px 11px !important;
  cursor: pointer !important;
  transition: background 0.2s, border-color 0.2s !important;
  user-select: none !important;
  border: 1px solid transparent !important;
  list-style: none !important;
}

.cpel-switcher__toggle > a {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  text-decoration: none !important;
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.cpel-switcher__toggle > a .cpel-switcher__name {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

.cpel-switcher__flag {
  display: inline-flex !important;
  align-items: center !important;
}

.cpel-switcher__flag img {
  width: 20px !important;
  height: 14px !important;
  border-radius: 2px !important;
  display: block !important;
  object-fit: cover !important;
}

.cpel-switcher__icon {
  font-size: 11px !important;
  margin-left: 2px !important;
  transition: transform 0.2s !important;
  display: inline-block !important;
}

.cpel-switcher__toggle--on .cpel-switcher__icon {
  transform: rotate(180deg) !important;
}

/* --- Dropdown (blanc dans les 2 modes) --- */

.cpel-switcher__list {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 190px !important;
  width: auto !important;
  list-style: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.13) !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  transform: translateY(-6px) !important;
  pointer-events: none !important;
  transition: opacity 0.18s, transform 0.18s !important;
  z-index: 9999 !important;
  display: block !important;
}

.cpel-switcher__toggle--on ~ .cpel-switcher__list {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: all !important;
}

.cpel-switcher__list::before {
  content: "Choisir la langue" !important;
  display: block !important;
  padding: 8px 14px 7px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #8a9ab5 !important;
  border-bottom: 1px solid #f0f2f5 !important;
  margin-bottom: 4px !important;
}

.cpel-switcher__list::after {
  content: "Groupe ISCAE \2014  Site officiel" !important;
  display: block !important;
  padding: 7px 14px !important;
  font-size: 10.5px !important;
  color: #a0aec0 !important;
  border-top: 1px solid #f0f2f5 !important;
  margin-top: 4px !important;
  text-align: center !important;
  letter-spacing: 0.01em !important;
}

.cpel-switcher__list .cpel-switcher__lang {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cpel-switcher__list .cpel-switcher__lang a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 14px !important;
  text-decoration: none !important;
  color: #1a2a45 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: background 0.15s !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
}

.cpel-switcher__list .cpel-switcher__lang a:hover {
  background: #f4f7fb !important;
  color: #1a2a45 !important;
  text-decoration: none !important;
}

.cpel-switcher__list .cpel-switcher__lang .cpel-switcher__flag img {
  width: 22px !important;
  height: 15px !important;
  border-radius: 2px !important;
}

.cpel-switcher__list .cpel-switcher__lang .cpel-switcher__name {
  font-size: 13.5px !important;
  color: #1a2a45 !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}


/* ============================================================
   2. MODE SOMBRE — classe "header-dark" sur le header Elementor
   Parfait sur fond navy #0a1e3d ou tout fond foncé
   ============================================================ */

.header-dark .cpel-switcher__toggle.cpel-switcher__lang {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.15) !important;
}

.header-dark .cpel-switcher__toggle.cpel-switcher__lang:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(200,168,75,0.65) !important;
}

.header-dark .cpel-switcher__toggle.cpel-switcher__lang.cpel-switcher__toggle--on {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(200,168,75,0.85) !important;
}

.header-dark .cpel-switcher__toggle > a .cpel-switcher__name {
  color: #ffffff !important;
}

.header-dark .cpel-switcher__icon {
  color: rgba(255,255,255,0.55) !important;
}



/* ============================================================
   3. MODE CLAIR — classe "header-light" sur le header Elementor
   Parfait sur fond blanc ou très clair
   ============================================================ */

.header-light .cpel-switcher__toggle.cpel-switcher__lang {
  background: rgba(10,30,61,0.05) !important;
  border-color: rgba(10,30,61,0.15) !important;
}

.header-light .cpel-switcher__toggle.cpel-switcher__lang:hover {
  background: rgba(10,30,61,0.08) !important;
  border-color: rgba(200,168,75,0.7) !important;
}

.header-light .cpel-switcher__toggle.cpel-switcher__lang.cpel-switcher__toggle--on {
  background: rgba(10,30,61,0.08) !important;
  border-color: rgba(200,168,75,0.85) !important;
}

.header-light .cpel-switcher__toggle > a .cpel-switcher__name {
  color: #0a1e3d !important;
}

.header-light .cpel-switcher__icon {
  color: rgba(10,30,61,0.45) !important;
}