.error-banner {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ff4d4d;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    z-index: 1000;
}
.success-banner {
    display: block;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 200, 83, 0.15); /* Vert foncé transparent */
    color: #00C853; /* Vert néon */
    padding: 15px 25px;
    border: 1px solid #00C853;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 200, 83, 0.5); /* Effet de glow */
    backdrop-filter: blur(10px); /* Effet de flou pour plus d'élégance */
    z-index: 1000;
    opacity: 0;
    animation: fadeInSlide 0.5s ease-out forwards;
}

/* Animation d'apparition */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Bouton pour fermer le bandeau */
.close-banner {
  position: absolute;
  right: 15px;
  top: 5px;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

/* Ajoute un espace en haut du body pour ne pas cacher le contenu */
body.error-active {
  padding-top: 60px;
}


body{
  background-color: #1d2227;
  height: 100vh;
  font-family: 'Montserrat', sans-serif;
}

div.container{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

p {
  color: #b5b5b5;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
}

/* form design */

form {
  text-align: center;
  border: 1px solid #4A4A4A;
  padding: 30px;
}

label {
  display: block;
  letter-spacing: 4px;
  padding-top: 30px;
  text-align: center;
}

/* animation for the text to float up */

label .label-text {
  color: #9B9B9B;
  cursor: text;
  font-size: 15px;
  line-height: 20px;
  text-transform: uppercase;
  -moz-transform: translateY(-34px);
  -ms-transform: translateY(-34px);
  -webkit-transform: translateY(-34px);
  transform: translateY(-34px);
  transition: all 0.3s;
}

label .label-text2 {
  color: #9B9B9B;
  cursor: text;
  font-size: 15px;
  line-height: 20px;
  text-transform: uppercase;
  padding-bottom: 10px;
}

/* remove the input box styling */
label input {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid #4A4A4A;
  color: white;
  font-size: 16px;
  letter-spacing: 1px;
  outline: 0;
  padding: 5px 20px;
  text-align: center;
  transition: all 0.3s;
  width: 300px;
}

/* once you click in the input the input width box animates */

label input:focus {
  max-width: 100%;
  width: 300px;
}

/* the text floats up and turns white */

label input:focus + .label-text {
  color: #F0F0F0;
  font-size: 13px;
  margin-top: 10px;
  -moz-transform: translateY(-64px);
  -ms-transform: translateY(-64px);
  -webkit-transform: translateY(-64px);
  transform: translateY(-64px);
}

/* the text floats up during form validation */

label input:valid + .label-text {
  font-size: 13px;
  margin-top: 10px;
  -moz-transform: translateY(-64px);
  -ms-transform: translateY(-64px);
  -webkit-transform: translateY(-64px);
  transform: translateY(-64px);
}

/* button styling */
/*
button {
  background: transparent;
  color: #F0F0F0;
  border: 2px solid #F0F0F0;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 20px 75px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  margin: 15px 30px;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

button:hover, button:focus {
  background-color: white;
  color: #333333;
}
*/
@media screen and (min-width: 0px) and (max-width: 400px) {
  form {
    border: 0px solid #4A4A4A;
    padding: 15px;
  }
}