body {
  margin: 0;
  min-height: 100vh;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  background: #FAFAFA;
  color: #2D2D2D;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  padding: 36px;
}

.auth-brand {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto 30px;
  width: 100%;
}

.auth-brand img {
  height: 38px;
  width: auto;
  display: block;
}

.auth-copy {
  margin: 0 0 20px;
  color: #7A7A7A;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.auth-button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #ff2599;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.auth-button:hover {
  background: #ff4daf;
}

.auth-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-status {
  margin-top: 14px;
  color: #7A7A7A;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-line;
}

.auth-status.is-error {
  color: #E53935;
}

/* Loading state — shown while processing redirect result */
.auth-card.is-loading .auth-copy,
.auth-card.is-loading .auth-button {
  display: none;
}

.auth-loading-spinner {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.auth-card.is-loading .auth-loading-spinner {
  display: flex;
}

.auth-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #ffe0f0;
  border-top-color: #ff2599;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}

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

.auth-loading-text {
  color: #7A7A7A;
  font-size: 14px;
}
