/*
 Theme Name:   eCademy Child
 Theme URI:    https://themes.envytheme.com/ecademy/
 Description:  eCademy Child Theme
 Author:       EnvyTheme
 Author URI:   https://envytheme.com/
 Template:     ecademy
 Version:      6.8
*/

/* ecademy-education-lms-online-training-courses-wordpress-theme */

/* Container principal du sélecteur */


  /* Sticky top bar */
  #top-lang-bar {
    position: sticky;
    top: 0;
    z-index: 99999;
    background-color: #3FC807;
    padding: 6px 15px;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  /* Animation class */
  #top-lang-bar.fade-in-top.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .top-lang-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .top-header-left {
    color: #fff;
    font-size: 14px;
  }

  .top-header-right ul {
	color: #fff;
    margin: 0;
    padding: 0;
    list-style: none;
	flex-wrap: nowrap;
    display: flex;
    gap: 10px;
  }

  .top-header-right li {
	   display: inline-flex; 
    list-style: none;
	  color: #fff;
	   gap: 10px;
  }

  .top-header-right a {
	  color: #fff;
    display: inline-block;
    transition: transform 0.2s ease;
  }

  .top-header-right a:hover {
    transform: scale(1.1);
  }

  .top-header-right img {
    width: 24px;
    height: auto;
    border-radius: 3px;
  }

  /* === Responsive === */
  @media screen and (max-width: 768px) {
    .top-lang-container {
	    z-index: 0 !important;
    justify-content: center; /* centre sur mobile */
    padding: 8px 10px;
    }
	  
	  #top-lang-bar {
	display: none; 
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    z-index: 0 !important;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
 }
    .top-header-left {
      font-size: 13px;
    }

    .top-header-right img {
      width: 20px;
    }
  }

  @media screen and (max-width: 480px) {
	      .top-lang-container {
	    z-index: 0;
    justify-content: center; /* centre sur mobile */
    padding: 8px 10px;
    }
    .top-header-left {
      font-size: 12px;
    }

    .top-header-right ul {
      gap: 50px;
    }

    .top-header-right img {
      width: 18px;
    }
  }
