.tgtg-wrapper {
  display: block;
}

.tgtg-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.tgtg-subtitle {
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.tgtg-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tgtg-form input[type=text],
.tgtg-form input[type=email] {
  padding: 0.5rem;
  font-size: 1rem;
}
.tgtg-form button {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: #0066cc;
  color: #fff;
  border: none;
  cursor: pointer;
}
.tgtg-form button.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.tgtg-form button.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.tgtg-form .error {
  color: red;
  margin: 0.5rem 0;
  text-align: center;
}
.tgtg-form .codes {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
.tgtg-form .codes li {
  padding: 0.25rem 0;
  text-align: center;
}

.tgtg-confirmation {
  text-align: center;
  padding: 1rem 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
