:root {
  --su-color-bg: linear-gradient(
    182.88deg,
    #ffffff 28.41%,
    rgba(0, 173, 238, 0.22) 104.92%
  );
  --su-color-bg-sec: linear-gradient(
    0deg,
    #ffffff 75%,
    rgba(0, 173, 238, 0.22) 95%
  );
  --su-color-prim: rgba(33, 50, 130, 1);
  --su-color-prim-hover: rgba(33, 50, 130, 0.75);
  --su-color-sec: rgba(0, 116, 255, 1);
  --su-color-ter: rgba(0, 173, 238, 1);
  --su-text-description: rgba(121, 123, 137, 1);
}

* {
  padding: 0;
  margin: 0;
  font-family: Montserrat;
}

/* CORE */
.bc-logo {
  background-image: url("../../../img/menu/logo-color.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  max-width: 221.5px;
  height: 100%;
}

.logo .divider-logo {
  border: 1px solid rgba(188, 186, 186, 1);
  height: 100%;
}

.logo .alianza-logo {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  max-width: 221.5px;
  height: 100%;
}

/* SIGNUP */
#bg-body {
  width: 100vw;
  height: 100dvh;
  background: var(--su-color-bg);
  backdrop-filter: blur(24px);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: absolute;
  z-index: -1;
}

#content {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 2rem;
  height: 100dvh;
}

/* LEFT SIDE */
#content #left-side {
  height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  padding: 32px 44px;
}

#content #left-side .title,
#content #left-side .title-description {
  color: var(--su-color-prim);
  font-size: 24px;
  font-weight: 600;
}

#content #left-side .title-description {
  margin-top: 40px;
}

#content #left-side .description {
  font-size: 20px;
  color: #333;
  margin-top: 12px;
  font-weight: 400;
}

#content #left-side .logo {
  max-width: 467px;
  height: 100%;
  max-height: 57px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}

#content #left-side .bg-article {
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: center;
  height: 100%;
  max-height: 662px;
  margin-top: 72px;
}

#content #left-side .bg-article.signup {
  background-image: url("../../../img/login/signup.png");
}

#content #left-side .bg-article.new-user,
#content #left-side .bg-article.check-email {
  background-image: url("../../../img/login/check_email.png");
}

/* RIGHT SIDE */
#content #right-side {
  background-color: #fff;
  height: -webkit-fill-available;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.25);
  border-radius: 40px 0 0 40px;
  padding: 45px 65px;
  display: flex;
  flex-direction: column;
}

#content #right-side.check-email {
  padding: 144px 60px;
}

#content #right-side.check-email .description {
  font-size: 22px;
  text-align: center;
  color: #333;
}

#content #right-side.check-email .description .email {
  color: var(--su-color-prim);
  font-weight: bold;
  font-size: 22px;
}

#content #right-side .back-button {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  gap: 10px;
  width: fit-content;
}

#content #right-side .back-button span {
  font-size: 40px;
  margin-left: -10px;
  width: 22px;
  color: var(--su-color-prim);
}

#content #right-side .title {
  margin-top: 47px;
  font-size: 30px;
  font-weight: 600;
  color: var(--su-color-prim);
}

#content #right-side .google-link {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  padding: 12.2px;
  border-radius: 50px;
  box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.25);
}

#content #right-side .google-link svg {
  width: 24px;
}

#content #right-side .google-link:hover {
  background-color: #f1f1f1;
}

#content #right-side fieldset {
  display: grid;
  border: none;
  color: rgba(188, 186, 186, 0.76);
  margin-top: 30px;
}

#content #right-side fieldset.fieldset-linea {
  border-top: 2px solid rgba(188, 186, 186, 0.76);
}

#content #right-side fieldset.fieldset-linea legend {
  font-size: 29px;
  padding: 18px;
  width: auto;
  text-align: center;
}

#content #right-side form {
  display: flex;
  flex-direction: column;
  height: -webkit-fill-available;
}

#content #right-side form .input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  width: 100%;
}

#content #right-side form .input-group .error {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

#content #right-side form .input-group label {
  font-size: 16px;
  font-weight: 600;
  color: var(--su-color-prim);
  margin-bottom: 8px;
}

#content #right-side form .input-group .input-addon {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 17px;
  border: 1px solid rgba(234, 238, 244, 1);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
  color: rgba(126, 146, 162, 1);
}

#content #right-side form .input-group .input-addon span {
  font-size: 25px;
}

#content #right-side form .input-group .input-addon input,
#content #right-side form .input-group .input-addon select {
  background-color: #fff !important;
  border: none;
  width: 100%;
  height: 55px;
  font-size: 16px;
}

#content #right-side form .input-group .input-addon input:focus,
#content #right-side form .input-group .input-addon select:focus {
  outline: none;
}

#content #right-side .already-account {
  font-size: 18px;
}

#content #right-side .already-account a {
  color: var(--su-color-prim);
  text-decoration: none;
  font-weight: bold;
}

#content #right-side form button {
  width: 500px;
  height: 50px;
  background-color: var(--su-color-prim);
  color: #fff;
  font-size: 18px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  margin: auto auto 0;
}

#content #right-side form button:hover {
  background-color: var(--su-color-prim-hover);
}

#content #right-side .terms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

#content #right-side .terms-checkbox label {
  font-size: 18px;
}

#content #right-side .terms-checkbox label a {
  color: var(--su-color-prim);
}

#content #right-side .terms-checkbox input {
  margin: 0;
}

#content #right-side .terms-checkbox input[type="checkbox"] {
  appearance: none;
  height: 24px;
  width: 24px;
  outline: none;
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin: 0;
  cursor: pointer;
  border: 2px solid var(--su-color-prim);
  background: #fff;
  transition: background 0.3s;
}

#content #right-side .terms-checkbox input[type="checkbox"]:after {
  content: "";
  display: block;
  position: absolute;
  transition: opacity 0.3s ease;
  width: 5px;
  height: 10px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  left: 7px;
  top: 2px;
  transform: rotate(43deg);
  opacity: 1;
}

#content #right-side .terms-checkbox input[type="checkbox"]:checked {
  background-color: var(--su-color-prim);
}

#content #right-side .terms-checkbox input[type="checkbox"] + label {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  margin-left: 4px;
  width: -webkit-fill-available;
}

#content #right-side .terms-checkbox input[type="checkbox"] {
  border-radius: 7px;
}

.bc-button {
  background-color: #022f9e !important;
  padding: 10px 40px !important;
  color: #fff !important;
  border-radius: 12px !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none;
  font-size: 1.4rem !important;
}

.mobile-view {
  display: none;
}

@media (max-width: 768px) {
  .logo {
    display: block;
  }

  .bc-logo {
    height: 25px;
    display: inline-block;
    width: 125px;
  }

  .logo .divider-logo {
    height: 25px;
    margin: 0 5px;
    display: inline-block;
  }

  .logo .alianza-logo {
    height: 25px;
    display: inline-block;
    width: 125px;
  }

  #content {
    position: unset;
    display: block;
    width: 100vw;
  }

  #content #left-side {
    display: none;
  }

  #content #right-side {
    display: inline-block;
    width: inherit;
    padding: 0;
    border-radius: unset;
    background: var(--su-color-bg-sec);
    position: fixed;
    overflow: auto;
  }

  #content #right-side::before {
    content: "";
    position: fixed;
    top: 25%;
    left: 60%;
    width: 100%;
    height: 75dvh;
    background-image: url("../../../img/login/signup.png");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    z-index: -1;
  }

  #content #right-side h1.title {
    display: none;
  }

  #content #right-side .back-button {
    display: none;
  }

  #content #right-side .google-link {
    width: -webkit-fill-available;
    font-size: 14px;
    margin: 0 30px 30px;
  }

  #content #right-side fieldset {
    margin: 0 30px 30px;
  }

  #content #right-side fieldset.fieldset-linea legend {
    font-size: 24px;
    padding: 0 18px;
  }

  #content #right-side form {
    display: inline-block;
    height: auto;
    width: -webkit-fill-available;
    margin: 0 30px;
  }

  #content #right-side form .input-group {
    margin-bottom: 30px;
  }

  #content #right-side form .input-group label {
    font-size: 14px;
  }

  #content #right-side form .input-group .input-addon input,
  #content #right-side form .input-group .input-addon select {
    height: 45px;
  }

  #content #right-side .already-account {
    font-size: 14px;
    margin: -15px 0 30px;
  }

  #content #right-side form button {
    width: -webkit-fill-available;
    font-size: 14px;
    margin-bottom: 30px;
  }

  #content #right-side .terms-checkbox {
    margin-bottom: 30px;
  }

  #content #right-side .terms-checkbox input[type="checkbox"] + label {
    font-size: 14px;
  }

  .mobile-view {
    display: block;
  }

  .mobile-view.mobile-description {
    margin: 30px;
    place-items: center;
  }

  .mobile-view.mobile-description .title {
    font-size: 18px !important;
    margin-top: 30px !important;
  }

  .mobile-description .description {
    font-size: 14px;
    color: #333;
    font-weight: 400;
  }

  #content #right-side.check-email {
    padding: 0;
    background: var(--su-color-bg);
  }

  #content #right-side.check-email::before {
    content: none;
  }

  #content #right-side.check-email .bc-logo {
    margin: 30px auto;
  }

  #content #right-side.check-email .description {
    font-size: 14px;
    text-align: center;
    color: #333;
    margin: 0 30px 30px;
  }

  #content #right-side.check-email .description .email {
    font-size: 14px;
  }

  #content #right-side.check-email .check-email-image {
    background-image: url("../../../img/login/check_email.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 0 30px;
    height: 350px;
  }
}
