.cgd-form {
  background-color: #ffffff;
  border: 1px solid rgba(0, 44, 82, 0.2);
  border-radius: 6px;
  width: 100%;
  max-width: 460px;
}

.cgd-form .cgd-form-content {
  padding: 32px;
}

.cgd-form .cgd-form-content .cgd-form-body ~ .cgd-form-body {
  margin-top: 32px;
}

.cgd-form .cgd-form-content .cgd-form-header {
  margin-bottom: 32px;
}

.cgd-form .cgd-form-content .cgd-form-logo {
  height: 30px;
  vertical-align: top;
  margin-right: 8px;
}

.cgd-form .cgd-form-content .cgd-form-title {
  display: inline-block;
  font-family: 'Poppins';
  color: rgba(0, 44, 82, 0.639);
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
  margin: 0;
}

.cgd-form .cgd-form-body .cgd-form-message {
  font-family: 'Poppins';
  margin-top: 8px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-input {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-label {
  display: block;
  color: rgba(0, 44, 82, 0.639);
  font-family: 'Poppins';
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:focus ~ .cgd-form-label {
  color: #0046fe;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:disabled ~ .cgd-form-label {
  color: rgba(0, 44, 82, 0.322);
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield {
  display: block;
  border: 1px solid rgba(0, 44, 82, 0.2);
  border-radius: 6px;
  font-size: 16px;
  color: rgb(0, 44, 82);
  height: 36px;
  width: 100%;
  margin-bottom: 16px;
  padding: 8px 12px 8px 12px;
  box-sizing: border-box;
  caret-color: #0046fe; /* caret-color is not supported on IE/Edge */
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield-password {
  padding: 8px 46px 8px 12px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield-password:focus {
  padding: 7px 45px 7px 11px !important;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield::-ms-clear,
.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield::-ms-reveal {
  display: none;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:hover:not(:disabled):not(:focus) {
  border: 1px solid #002c52;
  background-color: #e8edf4;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:focus {
  border: 2px solid #0046fe;
  background-color: #ffffff;
  padding: 7px 11px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:focus-visible {
  outline: none !important;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:disabled {
  border: 1px solid rgba(0, 44, 82, 0.322);
  color: rgba(0, 44, 82, 0.322);
  background-color: #f7f9fe;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:not(:disabled)::placeholder {
  color: rgba(0, 44, 82, 0.639) !important;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:not(:disabled):-ms-input-placeholder {
  color: rgba(0, 44, 82, 0.639) !important;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-textfield:disabled::placeholder {
  color: rgba(0, 44, 82, 0.322);
}

.cgd-form .cgd-form-content .cgd-form-body #eye {
  color: rgba(0, 44, 82, 0.639);
  position: absolute;
  height: 40px;
  width: 40px;
  margin: 8px;
  top: 14px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cgd-form .cgd-form-content .cgd-form-body #eye:hover {
  background-color: rgba(0, 0, 0, 0.12);
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-select-wrapper {
  margin: 24px 0;
  position: relative;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-select-wrapper .cgd-form-select-arrow {
  color: rgba(0,0,0,0.630);
  position: absolute;
  right: 12px;
  top: 6px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-select-wrapper select.cgd-form-textfield {
  appearance: none;
}
.cgd-form .cgd-form-content .cgd-form-body .cgd-form-select-wrapper select.cgd-form-textfield::-ms-expand {
  display: none;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-footer .cgd-form-button-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-footer .cgd-form-button-wrapper-col {
  display: flex;
  flex-direction: column;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-footer .cgd-form-button-wrapper-col > button {
  margin-top: 8px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-footer .cgd-form-caption {
  color: #0046fe;
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 16px;
  margin-top: 16px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-caption:hover,
.cgd-form .cgd-form-content .cgd-form-body .cgd-form-caption:active,
.cgd-form .cgd-form-content .cgd-form-body .cgd-form-caption:focus {
  color: #002eaa;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-caption:focus {
  border: 1px solid #002eaa;
  border-radius: 6px;
  padding: 4px;
  margin: -5px;
  margin-top: 11px;
  outline-style: none; /* remove default dotted outline on IE */
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-caption:focus-visible {
  outline: none;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-external {
  /* not supported on IE - see workaround below */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row-gap: 16px;
  justify-items: center;
  margin-top: 24px;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-logo-external {
  width: fit-content;
  color: rgba(0, 0, 0, 0.86);
  font-size: 16px;
  text-decoration: none;
}

.cgd-form .cgd-form-content .cgd-form-body .cgd-form-logo-external img {
  height: 64px;
}

/* Workaround for IE, using an IE-only media query */
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .cgd-form .cgd-form-content .cgd-form-body ~ .cgd-form-body {
    display: flex;
    flex-direction: column;
  }

  .cgd-form .cgd-form-content .cgd-form-body .cgd-form-external {
    display: flex;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .cgd-form .cgd-form-content .cgd-form-body .cgd-form-logo-external {
    flex: 0 0 33%;
    text-align: center;
    margin-top: 8px;
  }
}

/* A VOIR */
.cgd-form-overline {
  height: 40px;
  width: 153px;
  color: rgba(0, 0, 0, 0.87);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 16px;
}

.hidden {
  display: none;
}

.loader {
  position: relative;
  margin: 0 auto;
  width: 150px;
}
.loader:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.circular {
  -webkit-animation: rotate 2s linear infinite;
  animation: rotate 2s linear infinite;
  height: 100%;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.path {
  stroke: #ff5c35;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: dash 1.5s ease-in-out infinite;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

/* Small/Medium mobile devices styles */
@media (max-width: 320px) {
  .cgd-form .cgd-form-content .cgd-form-body .cgd-form-external {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .cgd-form .cgd-form-content .cgd-form-body .cgd-form-external .cgd-form-logo-external img {
    height: 48px;
  }
}

@media (max-width: 425px) {
  .cgd-form {
    border: none;
  }
}

@media (max-width: 460px) {
  .cgd-form {
    max-width: 100vw;
  }
}
