@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "inter";
  text-decoration: none;
}
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  padding: 25px 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #120016;
}
.nav {
  max-width: 1000px;
  width: 100%;
  margin: auto;
}
.retour {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #000;
  font-size: 1.2rem;
  font-weight: 600;
}
.retour:hover {
  cursor: pointer;
  color: #2a62ff;
}
.compte a {
  background: blueviolet;
  color: #fff;
  padding: 6px 20px;
  border-radius: 15px;
}
.compte a:hover {
  background: #1e4db7;
  color: #fff;
}

.grandcont {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5rem auto;
  background: #fff;
}

.leform {
  width: 450px;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  font-family: "Roboto", sans-serif;
}

.leform h4,
.leform p {
  color: #333;
}
.leform p {
  margin-bottom: 10px;
}
.leform .form-group {
  margin-bottom: 15px;
}

.leform .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.leform .form-group label span {
  color: red;
}

.leform .form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.leform .form-group input:focus {
  border-color: #2a62ff;
  outline: none;
  box-shadow: 0 0 5px rgba(42, 98, 255, 0.5);
}

.leform .btn-submit {
  width: 100%;
  padding: 10px;
  background: blueviolet;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.leform .btn-submit:hover {
  background: #1e4db7;
}

.err {
  background-color: #ffe6e6;
  color: #cc0000;
  border: 1px solid #cc0000;
  padding: 3px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}
.huo {
  padding: 10px;
  width: 30px;
  height: 3px;
}
.login-link {
  text-align: center;
  margin-top: 10px;
}
@media (max-width: 790px) {
  header {
    padding: 20px 0;
  }
  .nav {
    width: 94%;
  }
  .grandcont {
    margin: 4rem auto;
  }
  .leform {
    padding: 20px;
    width: 100%;
    margin: 20px auto;
  }

  .leform h2 {
    font-size: 18px;
  }

  .leform .form-group label {
    font-size: 14px;
  }

  .leform .form-group input {
    font-size: 1rem;
    padding: 10px;
  }

  .leform .btn-submit {
    font-size: 14px;
    padding: 8px;
  }
}
