/**
 * Shared “auth finished” UI (extension callback, device approve success,
 * OAuth redirect back to localhost). Matches the original ext-callback look:
 * light gray card on white, IBM Plex via the page’s <link> to Google Fonts.
 */

.auth-complete-page {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  margin: 0;
}

.auth-complete-card {
  background: #f5f5f5;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.auth-complete-card h1,
.auth-complete-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-complete-subtitle {
  color: #525252;
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

.auth-complete-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.auth-complete-icon-error {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.auth-complete-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #d4d4d4;
  border-top-color: #111111;
  border-radius: 0;
  margin-bottom: 16px;
  animation: auth-complete-spin 0.7s linear infinite;
}

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