.st-wecom-sso {
  margin-top: 18px;
  text-align: center;
}

.st-wecom-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  color: var(--st-text-muted, #6b7280);
  font-size: 12px;
}

.st-wecom-divider::before,
.st-wecom-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--st-text-muted, #6b7280) 24%, transparent);
}

.st-wecom-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid #07c160;
  border-radius: 8px;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.st-wecom-button:not(.is-disabled):hover,
.st-wecom-button:not(.is-disabled):focus-visible {
  color: #fff;
  filter: brightness(0.94);
  transform: translateY(-1px);
  text-decoration: none;
}

.st-wecom-button.is-disabled {
  border-color: #d1d5db;
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
  pointer-events: none;
}

.st-wecom-hint,
.st-wecom-alert {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.st-wecom-hint {
  color: var(--st-text-muted, #6b7280);
}

.st-wecom-alert {
  padding: 9px 10px;
  border-radius: 7px;
  background: #fff7ed;
  color: #9a3412;
  text-align: left;
}

[data-theme='dark'] .st-wecom-button.is-disabled {
  border-color: #3f4554;
  background: #303543;
  color: #a7afbf;
}

[data-theme='dark'] .st-wecom-alert {
  background: #3b2a20;
  color: #fed7aa;
}

@media (prefers-reduced-motion: reduce) {
  .st-wecom-button {
    transition: none;
  }
}
