/***************************************************************************************/
/*                               CSS l'application Timeless                            */
/***************************************************************************************/


.cloture-btn {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: #000000;
  transition: all 0.3s ease;
}

/* Effet au survol : couleur + ombre + agrandissement */
.cloture-btn:hover {
  background-color: #000000;
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

/* Brillance animée (reflet qui traverse le bouton) */
.cloture-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}


/* Animation au survol */
.cloture-btn:hover::before {
  animation: shine 0.8s forwards;
}

/* Définition de l’animation */
@keyframes shine {
  from {
    left: -75%;
  }
  to {
    left: 125%;
  }
}

/* Effet d’appui au clic */
.cloture-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(220, 53, 69, 0.3);
}




.btn-add-fixed {
  width: 70px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4e9ce5 !important;
  border: none;
  padding: 0; /* empêche le décalage */
  line-height: 1; /* supprime le centrage vertical de Bootstrap */
  box-shadow: 0 4px 12px rgba(78, 156, 229, 0.5);
  z-index: 1050;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.btn-add-fixed i {
  font-size: 22px;
  color: #fff;
  transition: transform 0.3s ease;
}

/* --- Survol du bouton --- */
.btn-add-fixed:hover {
  background-color: #2f80d1 !important;
  transform: scale(1.1);
}

.btn-add-fixed:hover i {
  transform: scale(1.2) rotate(360deg);
}

/* --- Infobulle stylisée --- */
.tooltip-inner {
  background-color: #ee1084 !important;
  color: #fff !important;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Flèche couleur */
.bs-tooltip-top .tooltip-arrow::before { border-top-color: #ee1084 !important; }
.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: #ee1084 !important; }
.bs-tooltip-start .tooltip-arrow::before { border-left-color: #ee1084 !important; }
.bs-tooltip-end .tooltip-arrow::before { border-right-color: #ee1084 !important; }

/* Fade-in smooth pour le tooltip */
.tooltip {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tooltip.show {
  opacity: 1;
}


.custom-select-anim {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;  
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  border: 1px solid #4e9ce5;
  color: #4e9ce5;
  font-size: 13px;
  padding: 8px 34px 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center;
}


.custom-select-anim:hover {
  background-color: #cbe6fc;
  background: linear-gradient(#cbe6fc,#ffffff);
  transform: translateY(-2px) scale(1.03);
  animation: elasticHover 0.4s cubic-bezier(.36,.07,.19,.97) both;
  box-shadow: 0 4px 10px rgba(78,156,229,0.25);
}


.custom-select-anim:focus {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(78,156,229,0.4);
  border-color: #4e9ce5;
  outline: none;
  animation: none;
}


.custom-select-anim:focus:not(:active) {
  animation: elasticReturn 0.45s cubic-bezier(.36,.07,.19,.97) both;
}


@keyframes selectFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.custom-select-anim option {
  animation: selectFadeIn 0.25s ease;
}


@keyframes elasticHover {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.04); }
  50%  { transform: scale(0.98); }
  70%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}


@keyframes elasticReturn {
  0%   { transform: scale(1.1); }  
  100% { transform: scale(1); }
}


.custom-select-anim::-ms-expand {
  display: none;
}

.tooltip-inner {
  /*background-color: #5f9ed5 !important;*/
  background-color: #ee1084 !important;  
  color: #fff !important;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.50);
  border : 0px;
}


.bs-tooltip-top .tooltip-arrow::before { border-top-color: #ee1084 !important; }
.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: #ee1084 !important; }
.bs-tooltip-start .tooltip-arrow::before { border-left-color: #ee1084 !important; }
.bs-tooltip-end .tooltip-arrow::before { border-right-color: #ee1084 !important; }


.tooltip {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tooltip.show {
  opacity: 1;
}


.btn-arrow-left {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4e9ce5;
  border: none;
  box-shadow: 0 4px 12px rgba(78, 156, 229, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn-arrow-left i {
  font-size: 22px;
  color: #fff;
  transition: transform 0.4s ease;
}

.btn-arrow-left:hover {
  background-color: #2f80d1;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(78,156,229,0.5);
}

.btn-arrow-left:hover i {
  transform: scale(1.3) rotate(360deg);
}




.skull-icon {
  position: fixed;
  font-size: 60px;
  color: #dc3545;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transform: scale(0.5);
  transition: all 0.5s ease-out;
}

/* Effet animé quand elle apparaît */
.skull-icon.active {
  opacity: 1;
  transform: scale(1.3) rotate(10deg);
}


.cloture-btn {
  position: relative;
  overflow: hidden;
  color: #000000;
  border-color: #dc3545;
  transition: all 0.3s ease;
}

/* Effet au survol : couleur + ombre + agrandissement */
.cloture-btn:hover {
  background-color: #dc3545;
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.6);
}

/* Brillance animée (reflet qui traverse le bouton) */
.cloture-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}


/* Animation au survol */
.cloture-btn:hover::before {
  animation: shine 0.8s forwards;
}

/* Définition de l’animation */
@keyframes shine {
  from {
    left: -75%;
  }
  to {
    left: 125%;
  }
}

/* Effet d’appui au clic */
.cloture-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(220, 53, 69, 0.3);
}



.cloture-btn2 {
  position: relative;
  overflow: hidden;
  background-color: #448bc9;
  color: #ffffff;
  border-color: #619dd5;
  transition: all 0.3s ease;
}

/* Effet au survol : couleur + ombre + agrandissement */
.cloture-btn2:hover {
  background-color: #619dd5;
  color: #ffffff !important;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Brillance animée (reflet qui traverse le bouton) */
.cloture-btn2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}

/* Animation au survol */
.cloture-btn2:hover::before {
  animation: shine 0.8s forwards;
}

/* Définition de l’animation */
@keyframes shine {
  from {
    left: -75%;
  }
  to {
    left: 125%;
  }
}

/* Effet d’appui au clic */
.cloture-btn2:active {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}




.cloture-btn3 {
  position: relative;
  overflow: hidden;
  background-color: #48b461;
  color: #ffffff;
  border-color: #48b461;
  transition: all 0.3s ease;
   border-radius: 6px;
  padding: 5px 15px;
}

/* Effet au survol : couleur + ombre + agrandissement */
.cloture-btn3:hover {
  background-color: #48b461;
  color: #ffffff !important;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Brillance animée (reflet qui traverse le bouton) */
.cloture-btn3::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}

/* Animation au survol */
.cloture-btn3:hover::before {
  animation: shine 0.8s forwards;
}

/* Définition de l’animation */
@keyframes shine {
  from {
    left: -75%;
  }
  to {
    left: 125%;
  }
}

/* Effet d’appui au clic */
.cloture-btn3:active {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}




.cloture-btn4 {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-color: #ff0000;
  background-color: #ff0000;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding: 5px 15px;
}

/* Effet au survol : couleur + ombre + agrandissement */
.cloture-btn4:hover {
  background-color: #ff0000;
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.6);
}

/* Brillance animée (reflet qui traverse le bouton) */
.cloture-btn4::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}


/* Animation au survol */
.cloture-btn4:hover::before {
  animation: shine 0.8s forwards;
}

/* Définition de l’animation */
@keyframes shine {
  from {
    left: -75%;
  }
  to {
    left: 125%;
  }
}

/* Effet d’appui au clic */
.cloture-btn4:active {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(220, 53, 69, 0.3);
}





 

/* Style de base du crâne */
._temp-skull {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 28px;
  color: #ff0000; /* rouge sombre */
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  filter: blur(0px);
  transition: none;
}

/* Animation de dissolution */
@keyframes skull-dissolve {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -60%) scale(1.15) rotate(-6deg);
    filter: blur(0.5px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -90%) scale(1.6) rotate(12deg);
    filter: blur(6px);
  }
}



.bgindx {
  background-image: url("../img/noel_background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} 




.passwd {
  cursor: pointer;
  color:#cccccc;
  text-decoration: none;
}

.passwd:hover {
  cursor: pointer;
  color:#cccccc;
  text-decoration: underline;
}


#index_res,#mdp_result {
  height: 40px;
  margin-top: 0px;
}

.resno {
  color:#000000;
  font-size:14px;
  background: #e12121;
  padding: 5px;
  border-radius: 6px;
  color: #ffffff;
  text-align: center;
}  


.resok {
  color:#000000;
  font-size:14px;
  background: #48b461;
  padding: 5px;
  border-radius: 6px;
  color: #ffffff;
  text-align: center;
}  


.mdp_info {
  color: #b2b2b2;
  font-size: 13px;
  line-height: 16px;
  text-align: left;
  margin: 0px 40px 20px 40px;
}



#emg_day {
  width: 100%;
  font-family: Comfortaa, sans-serif;
  font-size: 26px;
  font-weight: bold;  
}


.card {
  border : 1px solid #cccccc;  
}



.cardmenu {
  border : 1px solid #cccccc;  
  cursor: pointer;
}


.cardmenu:hover {
  border : 1px solid #48b461;  
}



.user_ident {
  border: 1px solid #cccccc;
  padding: 5px 25px;
  border-radius: 120px;
}




#user_logo {
  margin-left: 50px;
  height:40px;
}



#horloge {
  color:#000000;
  font-size:30px;
}  


.cardbody {
  text-align: center;
  padding: 0px 0px 20px 0px;
}  


#map {
  height:180px;
  border:1px solid #ee1084;
  display: none;
}


.cardtext {
  font-size: 12px;
  color: #000000;
  padding-top: 15px;
}



.color_orange {
  color: #ff5402;
}



.color_vert {
  color: #48b461;
}



#mainboard_res {
  height: 30px;
}


.faoff {  
  margin-top: -20px;  
  margin-bottom: 10px;
}



.fa_off {
  text-align: right;
  color: #cccccc;    
  cursor: pointer;  
}


.fa_off:hover {
  color: #000000;  
}

.cardtitle {
  margin-top: -15px;
}



.ms_80 {
  size: 80%;
}









