@import url(https://fonts.googleapis.com/css?family=Open+Sans);
/* classement.css */
.top-vendeur {
    background-color: #d4edda!important;
    font-weight: bold;
    border-left: 4px solid #28a745!important;
}

.top-argent {
    background-color: #e2e3e5!important;
    font-weight: bold;
    border-left: 4px solid #6c757d!important;
}

.top-bronze {
    background-color: #fff3cd!important;
    font-weight: bold;
    border-left: 4px solid #ffc107!important;
}

.vendeur-connecte {
    background-color: #d0ebff !important;
    border-left: 5px solid #007bff!important;
}

.classement-message {
    margin: 20px 0;
    padding: 15px;
    background-color: #f3f8ff;
    border-left: 4px solid #007bff;
    font-size: 1.1em;
    font-weight: bold;
    color: #004085;
}

.icon-top {
    margin-right: 5px!important;
    font-size: 18px!important;
}
.challenge-message.info {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #0d47a1;
}
@keyframes sparkle {
    0%, 100% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.4); }
    50% { box-shadow: 0 0 30px rgba(76, 175, 80, 1); }
}

.dashboard-challenges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 20px;
}

.challenge-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #ccc;
    transition: transform 0.2s ease-in-out;
    position: relative;
}

.challenge-card:hover {
    transform: scale(1.02);
}

.challenge-title {
    margin-top: 0;
    font-size: 1.2em;
    color: #2c3e50;
}

.challenge-meta p {
    margin: 0.4em 0;
    font-size: 0.95em;
    color: #444;
}

.challenge-desc {
    margin-top: 10px;
    font-style: italic;
    font-size: 0.9em;
    color: #666;
    border-top: 1px dashed #ddd;
    padding-top: 8px;
    white-space: pre-wrap;
}

.challenge-status {
    margin-top: 10px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 5px;
    display: inline-block;
}

.challenge-message {
    margin: 10px 0;
    padding: 8px 12px;
    background: #f1f1f1;
    border-left: 4px solid #999;
    font-size: 0.95em;
    color: #333;
}

.challenge-message.success {
    background: #e0f7fa;
    border-color: #00796b;
    color: #004d40;
    font-weight: bold;
}

.challenge-message.warning {
    background: #fff3e0;
    border-color: #f57c00;
    color: #e65100;
}

.challenge-message.error {
    background: #ffebee;
    border-color: #c62828;
    color: #b71c1c;
    font-style: italic;
}

.status-en_cours {
    background: #e3f2fd;
    color: #0d47a1;
}

.status-en_avance {
    background: #d0f8ce;
    color: #1b5e20;
}

.status-en_retard {
    background: #fff3e0;
    color: #e65100;
}

.status-objectif_atteint {
    background: #c8e6c9;
    color: #2e7d32;
    font-size: 1.1em;
    border: 2px solid #388e3c;
    animation: sparkle 2s infinite;
}

.status-echoue {
    background: #ffebee;
    color: #b71c1c;
}

.icon-trophy {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 3rem;
    transform: rotate(-15deg);
    color: gold;
    filter: drop-shadow(0 0 5px gold);
    pointer-events: none;
}
.challenge-progress {
    margin-top: 8px;
    background: #eee;
    border-radius: 20px;
    height: 10px;
    overflow: hidden;
}

.challenge-progress .bar {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
}

.challenge-progress .fill {
    height: 100%;
    background: linear-gradient(90deg, #42a5f5, #478ed1);
    border-radius: 20px;
    transition: width 0.6s ease;
}
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;
  font-family: 'Open Sans', sans-serif;
  line-height: 1;
  background: #ffffff;
}
#menu-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #429120;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  padding: 20px;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000000;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  
  
}
.active{
	color: #429120!important;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #429120;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 25px;
}
#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 21px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #429120;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}
#cssmenu ul li:hover > ul > li {
  height: 32px;
}
#cssmenu ul ul li a {
  padding: 10px 20px;
  width: 160px;
  font-size: 12px;
  background: #333333;
  text-decoration: none;
  color: #dddddd;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #ffffff;
}
#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    width: 100%;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
  }
  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(120, 120, 120, 0.15);
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu ul ul li a {
    padding: 20px 20px 20px 30px;
    font-size: 12px;
    color: #000000;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #000000;
  }
  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  #menu-line {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
    padding: 20px;
    color: #000000;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
  }
  #cssmenu #menu-button::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    width: 15px;
    height: 2px;
    background: #000000;
  }
  #cssmenu #menu-button::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 20px;
    display: block;
    width: 15px;
    height: 3px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.15);
    height: 52px;
    width: 52px;
    cursor: pointer;
  }
  #cssmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 21px;
    left: 26px;
    display: block;
    width: 1px;
    height: 11px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 26px;
    display: block;
    width: 11px;
    height: 1px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}
