.registerPage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #f6f6f6;
  background-image: url(fond2Hexa.png);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 107em;
  background-attachment: fixed;
}
.registerPage .loginHeader {
  position: absolute;
  top: 0;
  width: 100%;
  height: 70px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.registerPage .loginHeader a {
  text-decoration: none;
  padding: 0;
  margin: 0;
}
.registerPage .loginHeader a:hover {
  cursor: pointer;
}
.registerPage .loginHeader h1 {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%);
  width: auto;
  color: #ff00a8;
}
.registerPage .loginHeader h1:hover {
  cursor: pointer;
}
.registerPage .cguContainer {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  z-index: 50;
  background: rgba(123, 123, 123, 0.75);
}
.registerPage .cguContainer .cguCard {
  width: 95%;
  height: fit-content;
  max-height: 95%;
  overflow-y: auto;
  padding: 12px 20px;
  background-color: #fbfbfb;
  box-shadow: 0 0 10px 1px #a3a3a340;
  border-radius: 4px;
}
.registerPage .cguContainer .cguCard header {
  padding: 12px 24px;
  border-bottom: solid 2px #66bad9;
}
.registerPage .cguContainer .cguCard header h1 {
  text-align: center;
  color: #606060;
}
.registerPage .cguContainer .cguCard h4 {
  margin-top: 22px;
  color: #4d4d4d;
  text-decoration: underline;
}
.registerPage .cguContainer .cguCard p {
  margin-top: 12px;
  color: #606060;
}
.registerPage .cguContainer .cguCard .agreeCgu {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8bb9cc;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.registerPage .cguContainer .cguCard .agreeCgu:hover {
  cursor: pointer;
  background-color: #66c6f0;
}
.registerPage .cguContainer .cguCard::-webkit-scrollbar {
  width: 4px;
}
.registerPage .cguContainer .cguCard::-webkit-scrollbar-track {
  background: #dcdcdc;
  border-radius: 2px;
}
.registerPage .cguContainer .cguCard::-webkit-scrollbar-thumb {
  background: #acacac;
  border-radius: 2px;
}
.registerPage .cguContainer .cguCard::-webkit-scrollbar-thumb:hover {
  background: #8a8a8a;
}
.containerReg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100;
  background: none;
  padding: 70px 0;
}
.containerReg p {
  margin: 16px 0 6px;
  width: 85%;
  text-align: left;
  color: #8d8d8d;
}
.containerReg .registerDisplay {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0 15px;
  width: 95%;
  height: auto;
  border-radius: 10px;
  background-color: #fbfbfb;
  box-shadow: 0 0 10px 1px #a3a3a340;
}
.containerReg .registerDisplay .choice-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.containerReg .registerDisplay .choice-header h1 {
  text-align: center;
  margin-bottom: 20px;
}
.containerReg .registerDisplay .choice-header .or {
  margin: 0;
}
.containerReg .registerDisplay .choice-header p {
  margin: 12px 0;
  text-align: center;
}
.containerReg .registerDisplay .choice-header p.smallText.textBlue {
  color: #66bad9;
}
.containerReg .registerDisplay .form-title {
  margin-top: 16px;
  color: #606060;
}
.containerReg .registerDisplay .stylingBar,
.containerReg .registerDisplay .stylingBar.helloAsso .midBar {
  background-color: #32a1bf;
  height: 2px;
  margin: 24px 0 6px;
  width: 90%;
}
.containerReg .registerDisplay .stylingBar.top,
.containerReg .registerDisplay .stylingBar.helloAsso .top.midBar {
  margin-top: 8px;
}
.containerReg .registerDisplay .stylingBar.helloAsso,
.containerReg .registerDisplay .stylingBar.helloAsso .helloAsso.midBar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 12px;
  width: 90%;
  height: auto;
  background: none;
}
.containerReg .registerDisplay .stylingBar.helloAsso h1,
.containerReg .registerDisplay .stylingBar.helloAsso .helloAsso.midBar h1 {
  color: #ff00a8;
}
.containerReg .registerDisplay .stylingBar.helloAsso .midBar {
  margin: 0;
  width: 42%;
  background-color: #ff00a8;
}
.containerReg .registerDisplay form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.containerReg .registerDisplay form .input {
  padding: 8px 12px;
  margin: 0 12px;
  width: 85%;
  height: 3em;
  border: none;
  border-radius: 10px;
  background-color: #f1f1f1;
}
.containerReg .registerDisplay form .input:focus {
  outline: solid 1px rgb(206, 206, 206);
}
.containerReg .registerDisplay form .otherProfession {
  margin-top: 4px;
  margin-bottom: 4px;
  width: 85%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  color: #8d8d8d;
  font-size: 0.9em;
}
.containerReg .registerDisplay form .otherProfession input {
  margin-right: 4px;
}
.containerReg .registerDisplay form .register-form-address-container {
  display: flex;
  flex-direction: column;
  width: 85%;
}
.containerReg .registerDisplay form .register-form-address-container .input {
  padding: 8px 12px;
  width: 100%;
  margin: 6px 0;
  height: 3em;
  border: none;
  border-radius: 10px;
  background-color: #f1f1f1;
}
.containerReg
  .registerDisplay
  form
  .register-form-address-container
  .register-form-address-div {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.containerReg
  .registerDisplay
  form
  .register-form-address-container
  .postal-input {
  width: 30%;
  min-width: 150px;
}
.containerReg
  .registerDisplay
  form
  .register-form-address-container
  .publicAddress {
  margin-top: 4px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  color: #8d8d8d;
}
.containerReg
  .registerDisplay
  form
  .register-form-address-container
  .publicAddress
  input {
  margin-right: 12px;
}
.containerReg .registerDisplay form .cguLabel {
  width: 90%;
  margin: 18px 0;
  text-align: center;
}
.containerReg .registerDisplay form .cguLabel input {
  margin-right: 12px;
}
.containerReg .registerDisplay form .cguLabel .cguNav {
  width: auto;
  height: auto;
  display: inline-block;
  background: none;
  padding: 0;
  margin: 0;
  border: none;
  color: #606060;
  text-decoration: underline;
}
.containerReg .registerDisplay form .submitButton {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8bb9cc;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
}
.containerReg .registerDisplay form .submitButton:hover {
  cursor: pointer;
  background-color: #66c6f0;
}
.containerReg .registerDisplay form .statusInputs {
  width: 85%;
}
.containerReg .registerDisplay form .statusInputs input {
  margin-right: 6px;
}
.containerReg .registerDisplay form .msgSec {
  width: 85%;
}
.containerReg .registerDisplay form .msgSec input {
  margin-right: 6px;
}
.containerReg .registerDisplay form .msgSec label {
  margin-right: 12px;
}
.containerReg .registerDisplay form .paymentInput {
  width: 85%;
}
.containerReg .registerDisplay form .paymentInput input {
  margin-right: 6px;
}
.containerReg .registerDisplay form .paymentInput label {
  width: 100%;
  margin-right: 12px;
}
.containerReg .registerDisplay form .paymentInput label .rib {
  color: #606060;
}
.containerReg .registerDisplay .homeButton {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 20%;
}
.containerReg .registerDisplay h1 {
  margin: 24px 24px 0;
  font-size: 1.8em;
  color: #606060;
}
.containerReg .registerDisplay a {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 55px;
  text-decoration: none;
  background-color: #f2f2f2;
  color: #8d8d8d;
  border-bottom: 1px solid #e6e6e6;
}
.containerReg .registerDisplay a:hover {
  background-color: #fbfbfb;
  color: #606060;
}
.containerReg .registerDisplay .navBottom {
  bottom: 0px;
  border-radius: 0 0 4px 4px;
}
@media screen and (min-width: 960px) {
  .registerPage .loginHeader {
    height: 115px;
  }
  .registerPage .cguContainer .cguCard {
    width: 50%;
  }
  .registerPage .cguContainer .cguCard h4 {
    margin-top: 22px;
  }
  .containerReg {
    padding-top: 115px;
  }
  .containerReg .registerDisplay {
    max-width: 750px;
  }
  .containerReg .registerDisplay .stylingBar,
  .containerReg .registerDisplay .stylingBar.helloAsso .midBar {
    width: 50%;
  }
  .containerReg .registerDisplay .stylingBar.helloAsso .midBar {
    width: 42%;
  }
  .containerReg .registerDisplay .statusInputs {
    width: 75%;
    display: flex;
    margin-top: 24px;
  }
  .containerReg .registerDisplay .statusInputs p {
    width: 30%;
    margin-top: 4px;
    margin-right: 16px;
  }
  .containerReg .registerDisplay .statusInputs p.exMode {
    width: fit-content;
    margin: 0;
  }
  .containerReg .registerDisplay .statusInputs .input {
    margin: 0;
    padding: 0 12px;
  }
  .containerReg .registerDisplay h3 {
    margin: 8px 0;
    font-weight: 500;
  }
  .containerReg .registerDisplay .paymentInput {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 70%;
    margin-top: 12px;
  }
  .containerReg .registerDisplay .paymentInput input {
    margin: 4px;
  }
  .containerReg .registerDisplay .paymentInput label {
    text-align: left;
  }
  .containerReg .registerDisplay .paymentInput label p {
    margin: 4px 0;
  }
  .containerReg .msgSec {
    width: 75%;
    display: flex;
    flex-direction: row;
  }
  .containerReg .msgSec .msgSecChoice {
    width: 30%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .containerReg .choices {
    display: grid;
    width: 100%;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 1fr) 2fr;
    grid-column-gap: 12px;
    grid-row-gap: 6px;
  }
  .containerReg .choices div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4px 0;
  }
  .containerReg .choices div input {
    margin-right: 4px;
  }
  .containerReg .choices div label {
    font-size: 0.85em;
  }
  .containerReg .div1 {
    grid-area: 1/1/2/2;
  }
  .containerReg .div2 {
    grid-area: 1/2/2/3;
  }
  .containerReg .div3 {
    grid-area: 2/1/3/2;
  }
  .containerReg .div4 {
    grid-area: 2/2/3/3;
  }
  .containerReg .div5 {
    grid-area: 3/1/4/2;
  }
  .containerReg .div6 {
    grid-area: 4/1/5/2;
  }
  .containerReg .div6 input {
    width: 100%;
    margin: 0;
  }
}

.error-container {
  display: none;
  background-color: #ffebeb;
  color: #d8000c;
  border: 1px solid #d8000c;
  border-radius: 6px;
  padding: 12px;
  margin: 15px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 600px;
  text-align: left;
  box-shadow: 2px 2px 8px rgba(216, 0, 12, 0.1);
}

.error-container strong {
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

.error-message {
  display: flex;
  align-items: center;
  margin: 5px 0;
  font-size: 14px;
}

.error-message::before {
  content: "⚠️";
  margin-right: 8px;
  font-size: 16px;
}
