/* ==========================================
   LANGUAGE SELECTOR - MINIMAL DESIGN
   Style élégant avec initiales uniquement
   ========================================== */

.language-selector-minimal {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-right: 0.75rem;
}

.lang-btn-minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Effet de survol */
.lang-btn-minimal:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* État actif */
.lang-btn-minimal.active {
  background: linear-gradient(135deg, #FF4500 0%, #ff6a33 100%);
  border-color: #FF4500;
  color: white;
  box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
}

.lang-btn-minimal.active:hover {
  background: linear-gradient(135deg, #ff5722 0%, #ff7a47 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.4);
}

/* Animation au clic */
.lang-btn-minimal:active {
  transform: scale(0.95);
}

/* Effet de brillance au survol */
.lang-btn-minimal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.lang-btn-minimal:hover::before {
  left: 100%;
}

/* Badge pour indiquer la langue active (petite pastille) */
.lang-btn-minimal.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px #FF4500;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
  .language-selector-minimal {
    margin-right: 0.75rem;
    gap: 0.4rem;
  }

  .lang-btn-minimal {
    width: 34px;
    height: 34px;
    font-size: 0.7rem;
    border-radius: 7px;
  }
}

@media (max-width: 480px) {
  .language-selector-minimal {
    margin-right: 0.5rem;
    gap: 0.3rem;
  }

  .lang-btn-minimal {
    width: 32px;
    height: 32px;
    font-size: 0.65rem;
    border-radius: 6px;
  }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
  .lang-btn-minimal,
  .lang-btn-minimal::before {
    transition: none;
  }
}

/* Focus visible pour accessibilité clavier */
.lang-btn-minimal:focus-visible {
  outline: 2px solid #FF4500;
  outline-offset: 2px;
}
