.google-auth {
  display: none;
  margin: -14px 0 24px;
}

.google-auth.ready,
.google-auth.loading,
.google-auth.error {
  display: block;
}

.google-auth-button {
  min-height: 44px;
  display: flex;
  justify-content: center;
  position: relative;
}

.google-auth.loading .google-auth-button {
  opacity: 0.62;
  pointer-events: none;
}

.google-auth-spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin: 10px auto 0;
  border: 2px solid rgba(255,255,255,0.22);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.google-auth.loading .google-auth-spinner {
  display: block;
}

.google-auth-error {
  display: none;
  margin-top: 10px;
  color: var(--danger);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.google-auth.error .google-auth-error {
  display: block;
}

.google-auth-terms {
  margin: 10px auto 0;
  max-width: 340px;
  color: var(--text-3);
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

.google-auth-terms a {
  color: var(--accent-3);
}

.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(260px, 78%);
  margin: 22px auto 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  color: var(--text-3);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
