:root {
  --clr-theme-purple: #7c4dff;
  --clr-text: #7a7a7a;
  --clr-black: #000000;
  --clr-slate: #94a3b8;
  --clr-error: #ff4c4c;
  --clr-blue-link: #0c59cf;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

input {
  outline: none;
}

/* For mobile */
html {
  font-size: 0.8rem;
  scroll-behavior: smooth;
}
.auth-container {
  width: 90%;
}
.auth-container .auth-wrapper {
  width: 100%;
  /* min-height: 70vh; */
  min-height: 65vh;

  overflow-y: auto;
}

/* For laptops - above 600px */
@media (min-width: 600px) {
  html {
    font-size: 0.7rem;
  }
  html .auth-container {
    width: 40%;
  }
  html .auth-container .auth-wrapper {
    width: 100%;
  }
}
/* For large screens - above 1300px */
@media (min-width: 1300px) {
  html {
    font-size: 0.7rem;
  }
  html .auth-container {
    width: 30%;
  }
  html .auth-container .auth-wrapper {
    width: 100%;
  }
}
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  font-style: normal;
  height: 100vh;
  font-size: 1.25rem;
}

.auth-container {
  display: grid;
  /* place-items: center; */
  height: 100%;
  margin-inline: auto;
}
.logo {
  width: 15rem;
}

.auth-container .logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  position: relative;
  /* margin-bottom: 50px; */
}
.logo-wrapper .logo {
  position: absolute;
  top: 0rem;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: 10rem;
}
.text-logo {
  font-size: 3rem;
  color: #000000;
  font-size: 2.6rem;
  font-weight: 700;
  margin-top: 8rem;
}
.text-login {
  font-size: 3rem;
  color: #7c4dff;
  font-weight: bold;
  position: relative;
  top: -1.4rem;
  text-align: center;
}
.auth-container .auth-wrapper {
  display: grid;
  /* gap: 0.2rem; */
  padding: 2rem 3rem;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background-color: #fafafa;
  position: relative;
  /* top: -2rem; */
  margin-bottom: 20px;
}
.auth-container .auth-wrapper .positioned-bottom {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

/* .auth-container .auth-wrapper .title {
    color: #000000;
    font-size: 2.6rem;
    font-weight: 700;
  } */
.auth-container .auth-wrapper .description {
  color: var(--clr-text);
  font-size: 1.25rem;
  /* line-height: 2rem; */
  margin-bottom: 0rem;
  text-align: center;
}
.auth-container .auth-wrapper .link-primary {
  display: inline-block;
  color: var(--clr-theme-purple);
  font-size: 1.5rem;
  text-decoration: underline;
}
.auth-container .auth-wrapper .link-primary.link-sm {
  font-size: 1.2rem;
}
.auth-container .auth-wrapper .link-primary.inline {
  display: inline-block;
}
.auth-container .auth-wrapper button {
  border-radius: 0.8rem;
}
.auth-container .auth-wrapper .tc_privacy {
  color: #7a7a7a;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.8rem;
}
.auth-container .auth-wrapper .tc_privacy .link {
  color: var(--clr-blue-link);
  font-size: 1.3rem;
}
.auth-container .form-group {
  display: grid;
  gap: 0.5rem;
}
.auth-container .form-group label {
  color: #7a7a7a;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.2rem;
}
.auth-container .form-group .input-wrapper {
  position: relative;
}
.auth-container .form-group .input-wrapper input {
  border: 0.1rem solid #ebebeb;
  font-size: 1.6rem;
  height: 4rem;
  padding: 0.5rem 0.8rem;
  padding-left: 4rem;
  border-radius: 0.5rem;
  width: 100%;
}
.auth-container .form-group .input-wrapper input::-moz-placeholder {
  color: #c0c0c0;
  font-size: 1.6rem;
}
.auth-container .form-group .input-wrapper input::placeholder {
  color: #c0c0c0;
  font-size: 1.6rem;
}
.auth-container .form-group .input-wrapper.has-error input {
  border: 1px solid #ff4c4c;
}
.auth-container .form-group .input-wrapper.has-error .error {
  visibility: visible;
}
.auth-container .form-group .input-wrapper .error {
  position: absolute;
  top: 100%;
  visibility: hidden;
  color: var(--clr-error);
}
.auth-container .form-group .input-wrapper img {
  position: absolute;
  transform: translateY(-50%);
  width: 2rem;
  top: 50%;
}

/* Input icons */
.auth-container .form-group .input-wrapper .icon {
  position: absolute;
  left: 1rem;
  color: var(--clr-theme-purple);
  width: 20px;
  transform: translateY(-50%);
  top: 50%;
  font-size: 1.8rem;
}

.auth-container .form-group .input-wrapper .icon.btn-icon {
  position: absolute;
  right: 2rem;
  left: auto;
  transform: translateY(-50%);
  top: 50%;
}

.auth-container .form-group .input-wrapper .icon.btn-icon i {
  font-size: 1.8rem;
}

.auth-container button {
  padding: 1.2rem 0.75rem;
  border: none;
  border-radius: 5px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.auth-container button.button-autofit {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.5rem 4rem;
  margin-inline: auto;
}
.auth-container button.primary {
  background-color: #7c4dff;
  color: #fff;
}
.auth-container button.primary:hover {
  background-color: #5a2ade;
}
.auth-container button:disabled {
  background-color: #cdbef7;
  cursor: not-allowed;
}
.auth-container button:disabled:hover {
  background-color: #cdbef7;
}
.auth-container .link-button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 1.6rem 0.75rem;
  border: none;
  border-radius: 5px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.auth-container .link-button.primary {
  background-color: #7c4dff;
  color: #fff;
}
.auth-container .link-button.primary:hover {
  background-color: #5a2ade;
  text-decoration: none;
}
.auth-container .verification-message {
  color: green;
  font-weight: 500;
  text-align: center;
  font-size: 1.25rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.checkbox-container input {
  width: 4rem;
  height: 2.4rem;
  cursor: pointer;
  position: relative;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  background: #d6d6d6;
  outline: none;
  border-radius: 2rem;
  transition: 0.7s;
}
.checkbox-container input:checked[type="checkbox"] {
  background: #7c4dff;
}
.checkbox-container input:checked[type="checkbox"]:before {
  left: 1.8rem;
}
.checkbox-container input:before {
  content: "";
  position: absolute;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 20px;
  top: 0.3rem;
  left: 0.4rem;
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}
.checkbox-container label {
  color: #444444;
  font-weight: 400;
  font-size: 1.25rem;
  cursor: pointer;
}

.activation-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.activation-container h3 {
  color: #7a7a7a;
  font-size: 1.4em;
  margin-bottom: 0.8rem;
  line-height: 2rem;
  font-weight: 400;
}
.activation-container .input-wrapper {
  display: flex;
  gap: 1rem;
  position: relative;
}
.activation-container .input-wrapper .dash {
  text-align: center;
  width: 4rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activation-container .input-wrapper .dash div {
  width: 1.6rem;
  background: #c0c0c0;
  height: 0.3rem;
  border-radius: 10px;
}
.activation-container .input-wrapper input {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  width: 5rem;
  height: 5rem;
  font-weight: 500;
}
.activation-container .input-wrapper input.dash {
  border: none;
}

@media (max-width: 768px) {
  .auth-container .auth-wrapper {
    padding: 3rem 1rem 1rem;
    top: -6rem;
  }

  .auth-container .logo-wrapper {
    display: flex;
    flex-direction: row;
  }

  .logo-wrapper .logo {
    position: static;
    margin-bottom: 4rem;
    left: 5rem;
    transform: none;
    margin-left: -8rem;
  }
  .text-logo {
    color: #000000;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 4rem;
    margin-top: 0px;
    margin-left: -2.2rem;
  }

  .text-login {
    font-size: 2rem;
    margin-bottom: 0rem;
  }

  .auth-container .auth-wrapper .description {
    color: var(--clr-text);
    font-size: 1.25rem;
    margin-bottom: 0rem;
    text-align: center;
  }

  .auth-container button {
    padding: 1rem 0.75rem;
  }
}
