@font-face {font-family: 'Archia'; src: url('/wp-content/themes/wp_theme_imdm/assets/fonts/archia-regular.woff2') format('woff2'); font-weight: 400; font-style: normal;}
@font-face {font-family: 'Archia'; src: url('/wp-content/themes/wp_theme_imdm/assets/fonts/archia-medium.woff2') format('woff2'); font-weight: 500; font-style: normal;}
@font-face {font-family: 'Archia'; src: url('/wp-content/themes/wp_theme_imdm/assets/fonts/archia-bold.woff2') format('woff2'); font-weight: 700; font-style: normal;}

body {
  font-family: 'Archia', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #0F121A;
  margin: 0;
  padding-inline:20px;
}
.box-login {
  background: white;
  padding: 2rem 3rem;
  text-align: center;
}
button {
  border: none;
  cursor: pointer;
  color: #fff;
  background: #0F121A;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 16px;
  width:100%;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  font-family: 'Archia', sans-serif;
  font-weight:500;
}
button:hover {
  background: rgb(15 18 26 / 89%);
}
.error {
  color: red;
  display: none;
  margin-top: 0.5rem;
}
.section-login{
  display:flex;
  flex-direction:column;
  gap:40px;
  align-items:center;
}
h1{
  margin-top:0px;
}
input[type=password]{
  margin-top:0px;
  width:100%;
  border: 1px solid #56585c;
  border-radius: 10px;
  padding: 15px;
  margin-bottom:15px;
  box-sizing: border-box;
}
.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper input[type=password],
.password-wrapper input[type=text] {
  width: 100%;
  padding-right: 45px; /* laisse la place pour l'icône */
}
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: auto;
  padding: 0;
  cursor: pointer;
  color: #56585c;
  display: flex;
  align-items: center;
}
.toggle-password:hover {
  background: none;
  color: #0F121A;
}