main {
  height: 48.6875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 2.5rem;
}

.container-not-account {
  display: none;
}

.form-container {
  max-width: 26.875rem;
  width: 100%;
  background-color: var(--w);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;

  border-radius: 8px;
  border: 1px solid var(--c2);
  background: var(--w);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
}

.form-container:nth-child(2) {
  background-color: var(--c9);
}

.form-container:nth-child(2) .title-container p {
  color: white;
}

.form {
  display: flex;
  flex-direction: column;
}

.title-container {
  display: flex;
}

.title-container p {
  color: var(--c11);
  font-family: "Poppins";
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.0225rem;
  text-transform: uppercase;
}

.title-container img {
  width: 2.375rem;
  height: 2.375rem;
  margin-right: 0.38rem;
}

.form {
  margin-top: 2.75rem;
}

.form button {
  margin: 0 auto;
  margin-top: 2rem;
  width: 200px;
  padding: 10px;
  border: none;
  gap: 10px;
  border-radius: 8px;
  background: linear-gradient(#ff3c2e, #b52628);
  color: var(--c1);
  font-family: "Poppins";
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
}

.form button:hover {
  background: linear-gradient(#d43226, #b52628);
}

.container-form-input {
  width: 21.875rem;
  height: 3rem;
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
}

.container-form-label {
  width: 100%;
}

.container-form-input + .container-form-label {
  margin-top: 1.5rem;
}

.container-sub-info {
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

.link_login {
  color: #309cff;
}

.link_login:hover {
  color: #0a68bf;
}

.container-sub-info p {
  color: #309cff;
  font-family: "Poppins";
  font-size: 14px;
  font-style: normal;
  margin-left: auto;
  font-weight: 500;
  line-height: 24px;
}

.container-sub-info label {
  margin-left: 12px;
  width: auto;
}

.form-container:nth-child(2) label {
  color: var(--w);
}

/* .form-container:nth-child(2) span {
  text-decoration-line: underline;
} */

@media screen and (max-width: 500px) {
  .form {
    margin-top: 1.5rem;
  }

  .form-container {
    width: 90%;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .title-container {
    align-items: center;
    justify-content: center;
  }

  .container-sub-info {
    width: 90%;
  }

  .title-container p {
    font-size: 1.3rem;
  }

  .form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .container-form-input {
    width: 90%;
    height: 2.5rem;
  }

  .container-form-label {
    width: 90%;
  }

  .form button {
    width: 60%;
    padding: 10px;
    border-radius: 7;
    font-size: 1rem;
  }
}

@media screen and (max-width: 410px) {
  .title-container p {
    font-size: 1.1rem;
  }

  .container-not-account {
    text-align: center;
    width: 90%;
  }
}

@media screen and (max-width: 916px) {
  #form-register {
    display: none;
  }

  main {
    height: auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .container-not-account {
    font-size: 1.1rem;
    margin-top: 20px;
    display: block;
  }

  #form-register .container-not-account {
    color: var(--w);
  }

  .container-not-account span {
    color: var(--p3-b);
    font-family: "Poppins";
    text-decoration-line: underline;
  }
}

#error-message_pass {
  padding-top: 5px;
  color: #ff550b;
}
