/* 视觉规格：
 *   - 全宽，52px 高
 *   - 粉渐变（#f96ADE → #f657A0）
 *   - 半径 24，白字 16px/600
 *   - 阴影 0 3px 5px rgba(208,12,65,0.20)
 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 var(--spacing-lg);
  border: none;
  border-radius: var(--radius-xxxl);
  background: linear-gradient(
    90deg,
    var(--color-auth-primary-gradient-start),
    var(--color-auth-primary-gradient-end)
  );
  box-shadow: 0 3px 5px var(--color-auth-primary-button-shadow);
  color: #ffffff;
  font-size: var(--font-size-lg);
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.05s ease, opacity 0.15s ease;
}

.button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button:not(:disabled):active {
  transform: scale(0.98);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-width: 2px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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