form {
  display: none;
  flex-direction: column;
  justify-content: center;
  max-width: 450px;
  width: 100%;
  gap: 20px;
}

form h2 {
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--primary);
}

form label {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primary);
}

form input {
  margin-top: 5px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  width: 100%;
  font-size: 1.3rem;
  padding: 10px;
}

form textarea {
  margin-top: 5px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  width: 100%;
  font-size: 1.3rem;
  padding: 10px;
  resize: vertical;
}

form button {
  position: relative;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  width: 100%;
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 15px 0;
  font-weight: 500;
  color: #fff;
  background: var(--secondary);
  text-transform: uppercase;
  transition: filter 0.2s;
}

form button.button_empresa {
  background: var(--primary);
}

form button.button_manager {
  background: var(--manager);
}

form button:hover {
  filter: opacity(0.8);
}

form button.loading {
  padding: 5px 0;
  pointer-events: none;
}

.loading-effect {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 40px;
}

.loading-effect div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: loading-effect 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.loading-effect div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}

.loading-effect div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}

.loading-effect div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes loading-effect {
  0% {
    top: 8px;
    height: 32px;
  }
  50%, 100% {
    top: 24px;
    height: 16px;
  }
}

form p {
  text-align: center;
  font-size: 1.2rem;
}

form a {
  font-size: 1.2rem;
  text-align: center;
  color: var(--primary);
  text-decoration: none;
}

form a:hover {
  text-decoration: underline;
}

form .alert {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--danger);
  border-radius: 5px;
  background: var(--danger-transparent);
  color: var(--danger);
}

form .alert.success {
  border-color: var(--success);
  background: var(--success-transparent);
  color: var(--success);
}

form .close {
  cursor: pointer;
}

form.active {
  display: flex;
}

form .formgroup_cpf.error label::after {
  content: " inválido. Informe seu CPF corretamente!";
  font-weight: 500;
  letter-spacing: 1px;
}

form .buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

form .tipo_pessoa {
  padding: 10px;
  font-size: 1rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

form .tipo_pessoa.active {
  font-size: 1rem;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
}

form .formgroup_fisica {
  display: none;
}

form .formCheck {
  display: flex;
  align-items: baseline;
  gap: 10px;
  user-select: none;
  font-size: 17px;
}

form .formCheck.error label {
  color: red;
}

form .formCheck input {
  margin-top: 0;
  width: auto;
  transform: scale(1.3);
}

/*Visiualizar senha*/
.check {
  display: flex;
  position: relative;
}
.check input {
  padding-right: 41px;
}
.eye {
  position: absolute;
  top: 16px;
  right: 10px;
  cursor: pointer;
}
/*Fim Visiualizar senha*/

@media (max-width: 800px) {
  form h2 {
    font-size: 1.5rem;
  }

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