/* Votre sélecteur de langue personnalisé */
.language-selector {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

.selector-toggle {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.selector-toggle img {
  width: 20px;
  height: auto;
}

.language-name, .arrow {
  color: #000;
  font-size: 14px;
}

.arrow {
  margin-left: 5px;
  font-size: 10px;
}

.language-list {
  list-style: none;
  padding: 5px 0;
  margin: 5px 0 0 0;
  display: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 4px;
  position: absolute;
  left: 0;
  bottom: 100%;
  min-width: 140px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.language-list li {
  padding: 6px 12px;
}

.language-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
}

.language-list li:hover {
  background-color: #f5f5f5;
}

/* Masquage complet de tous les éléments Google Translate */
.goog-te-banner-frame {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
  position: absolute !important;
  top: -9999px !important;
}

body {
  top: 0 !important;
  position: static !important;
}

.goog-te-menu-frame {
  max-width: 0 !important;
  max-height: 0 !important;
  display: none !important;
  z-index: -9999 !important;
  opacity: 0 !important;
}

.goog-te-menu-value {
  display: none !important;
}

#google_translate_element {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Correction du décalage du body */
body.goog-te-banner-frame {
  position: static !important;
  margin-top: 0 !important;
}

/* Masquer le tooltip de traduction */
.goog-tooltip {
  display: none !important;
}