/* Complementos da página de cadastro do cliente (usa a base do login.css). */

/* Carregamento enquanto o convite é validado: mesma linguagem da tela de
   carregamento do login (roda dourada sobre branco). */
.signup-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: #62778a;
  padding: 26px 0;
  font-weight: 600;
}

.signup-loading::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--gray-200);
  border-top-color: var(--gold);
  animation: oauth-spin 0.8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .signup-loading::before {
    animation-duration: 1.6s;
  }
}

.signup-invalid {
  text-align: center;
  padding: 8px 0 4px;
}

.signup-invalid p {
  color: #62778a;
  margin: 0 0 16px;
  font-weight: 600;
}

.social-login {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

/* Primeira opção de entrada em todas as telas de acesso: fundo branco (exigido
   pela marca do Google) com presença suficiente para não parecer secundário. */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #c9d6e2;
  background: #ffffff;
  color: #1a2c3d;
  font: inherit;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  border-color: #f1b545;
  box-shadow: 0 4px 14px rgba(13, 63, 101, 0.1);
  outline: none;
}

.social-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.social-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  color: #8aa0b2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-divider::before,
.social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dde6ee;
}

.signup-password-hint {
  margin: 6px 0 0;
  color: #8aa0b2;
  font-size: 0.78rem;
}

.google-connected {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e2f5eb;
  color: #1e8e5a;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

#signup-password-step input[readonly] {
  background: #f4f6f8;
  color: #62778a;
  cursor: default;
}

.link-google-text {
  text-align: center;
  color: #355166;
  font-size: 0.95rem;
  margin: 4px 0 16px;
}

.link-google-hint {
  text-align: center;
  margin-top: 12px;
}

/* Aceite dos Termos de Uso e da Política de Privacidade (LGPD).
   Fica logo acima do botão de envio: a pessoa lê antes de concluir, não depois. */
.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f4f6f8;
  border: 1px solid #d7e1ea;
  border-radius: 12px;
  padding: 12px 14px;
}

.legal-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  accent-color: #164f7a;
  cursor: pointer;
}

.legal-consent label {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #355166;
  cursor: pointer;
  font-weight: 500;
}

.legal-consent a {
  color: #164f7a;
  font-weight: 700;
  text-decoration: underline;
}

.legal-consent a:hover {
  color: #0d3f65;
}
