@charset "UTF-8";
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.login-container {
  width: 400px;
  background-color: #fff;
  padding: 30px 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: fixed;
  right: 51vw;
}

.picture-container {
  width: 400px;
  margin-top: 7%;
  margin-left: 50%;
  height: 300px;
  background-color: #fff;
  padding: 30px 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h2 {
  margin-top: 0;
  color: #51a69c;
  text-align: center;
}

hr {
  border: none;
  background-color: #6ac3b9;
  height: 3px;
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #555;
}

input[type=text], input[type=password], input[type=email] {
  margin-left: 0px;
  width: 95%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

input[type=submit] {
  margin-left: 20px;
  width: 90%;
  height: 45px;
  background-color: #6ac3b9;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 20px;
  margin-top: 10px;
}

a {
  display: block;
  height: 25px;
  text-align: center;
  margin-left: 20px;
  width: 80%;
  background-color: #6ac3b9;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

input[type=file] {
  display: block;
  height: 25px;
  text-align: center;
  margin-left: 20px;
  width: 80%;
  background-color: #6ac3b9;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

a:hover {
  background-color: rgba(106, 195, 185, 0.8470588235);
}

input[type=submit]:hover {
  background-color: rgba(106, 195, 185, 0.8470588235);
}

input[type=file]:hover {
  background-color: rgba(106, 195, 185, 0.8470588235);
}

p {
  margin-top: -30px;
  text-align: center;
  color: red;
  font-weight: bold;
}

img {
  margin-top: -4%;
  margin-bottom: 4%;
  margin-left: 28%;
  padding: 1%;
  border-radius: 100%;
  width: 40%;
  height: 53%;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* espace pour l'icône */
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.toggle-password img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.toggle-password:hover img {
  opacity: 1;
}

.conditions-link {
  display: inline;
  text-decoration: underline;
  color: #51a69c;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0);
  font-size: small;
  width: 0;
  padding: 0%;
  margin-left: 0px;
}
.conditions-link:hover {
  background-color: rgba(255, 255, 255, 0);
}

.conditions-text {
  color: black;
  font-size: small;
  display: inline;
}

.InsDiv {
  width: 100%;
  background-color: #51a69c;
}

.accept-conditions {
  margin-top: 15px;
}

/* === Fenêtre modale Cropper === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.crop-container {
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crop-container img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin-top: 0%;
  margin-bottom: 10%;
  margin-left: 0%;
  padding: 0%;
  border-radius: 0%;
  width: 40%;
  height: 53%;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.modal-buttons button {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background-color: #539991;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-buttons button:hover {
  background-color: #417d77;
}

@media (max-width: 480px) {
  .login-container {
    padding: 30px 30px;
    border-radius: 8px;
    float: left;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0);
    margin-top: 10px;
    width: 70%;
    height: 400px;
    margin-left: 25px;
    position: initial;
  }
  .picture-container {
    padding: 30px 30px;
    border-radius: 8px;
    float: right;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
    height: 200px;
    margin-right: 0%;
    margin-top: 12px;
  }
  img {
    margin-top: 10px;
    width: 80px;
    height: 80px;
    margin-left: 44.5%;
  }
  h2 {
    font-size: medium;
  }
  label {
    font-size: medium;
  }
  a {
    font-size: medium;
    height: 17px;
    margin: auto;
    width: 180px;
  }
  input[type=submit], input[type=file], input[type=text], input[type=password], input[type=email] {
    font-size: medium;
  }
  input[type=email], input[type=password], input[type=text] {
    padding: 0;
    width: 100%;
  }
  input[type=submit] {
    height: 30px;
    padding-block: unset;
    margin-top: 220px;
    margin-left: 15px;
  }
  input[type=file] {
    margin-left: 12.5%;
    width: 80%;
  }
  .hr1 {
    display: none;
  }
  .pfp {
    margin-left: 50px;
  }
}/*# sourceMappingURL=Inscription.css.map */