/* .view-animate-container {

}

.view-animate {
    transition: all 1s ease-in-out;
    opacity: 1;
}

.view-animate.ng-enter {
    opacity: 0;
}

.view-animate.ng-enter-active {
    opacity: 1;
}

.view-animate.ng-leave {
    opacity: 1;
}

.view-animate.ng-leave-active {
    opacity: 0;
} */

/* ------------- Transition basique ----------- */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ------------- card-left-to-right ------------ */
.inscription-steps-container.card-left-to-right.ng-enter {
    animation: slideInFromRight 0.4s ease-out both;
}

.inscription-steps-container.card-left-to-right.ng-leave {
    animation: slideOutToLeft 0.4s ease-in both;
}

/* Tu peux faire aussi card-right-to-left etc. */
@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

@keyframes slideOutToLeft {
    from { transform: translateX(0);    opacity: 1; }
    to   { transform: translateX(-100%); opacity: 0; }
}
/* --------------- Animation de sortie de la carte --------------- */
/* Lorsqu'on ajoute la classe "card-exit", la carte s'efface et se translate */
.card.card-exit {
    transition: opacity 0.5s ease, transform 0.7s ease;
    opacity: 0;
    transform: translateY(100vw);
}


/* --------------- Animation d'entrée de la carte --------------- */
/* Angular Animate ajoute ng-enter et ng-enter-active lors de l'insertion */
.view-animate .card.ng-enter {
    opacity: 0;
    transform: translateY(100vw);
}
.view-animate .card.ng-enter.ng-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ------------- card-right-to-left ------------ */
/* Entrée depuis la gauche (retour arrière) */
.inscription-steps-container.card-right-to-left.ng-enter {
    animation: slideInFromLeft 0.4s ease-out both;
}

/* Sortie vers la droite */
.inscription-steps-container.card-right-to-left.ng-leave {
    animation: slideOutToRight 0.4s ease-in both;
}

/* Animations associées */
@keyframes slideInFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

@keyframes slideOutToRight {
    from { transform: translateX(0);     opacity: 1; }
    to   { transform: translateX(100%);  opacity: 0; }
}

.form-login-disappear{
    transform: translate(0,-100vh);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.loading-message{
    margin-top: 3rem;
/*     opacity: 1 !important;
    transition: opacity 0.5s ease-in-out ; */
}

.loading-message.ng-hide {
  opacity: 0;
}

.loading-message.ng-hide-remove {
  opacity: 0;
}

.loading-message.ng-hide-remove-active {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.loading-message.ng-hide-add {
  opacity: 1;
}

.loading-message.ng-hide-add-active {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}