.oauth2-callback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.85);
}

.oauth2-callback__card {
  text-align: center;
  max-width: 340px;
  padding: 48px 32px;
}

.oauth2-callback__swoosh {
  width: 36px;
  height: auto;
  opacity: 0.9;
  margin-bottom: 24px;
}

.oauth2-callback__status {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.oauth2-callback__sub {
  font-size: 0.8rem;
  opacity: 0.45;
  line-height: 1.5;
}

.oauth2-callback__error {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(247, 140, 108, 0.12);
  border: 1px solid rgba(247, 140, 108, 0.3);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #f78c6c;
  text-align: left;
  line-height: 1.6;
}

.oauth2-callback__retry {
  margin-top: 20px;
  padding: 10px 24px;
  background: rgba(130, 170, 255, 0.12);
  border: 1px solid rgba(130, 170, 255, 0.3);
  border-radius: 8px;
  color: #82aaff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.oauth2-callback__retry:hover {
  background: rgba(130, 170, 255, 0.22);
}

.oauth2-callback__spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(130, 170, 255, 0.7);
  border-radius: 50%;
  animation: oauth2-spin 0.7s linear infinite;
  margin-bottom: 20px;
}

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

.auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.85);
}

.auth-loading__card {
  text-align: center;
  max-width: 340px;
  padding: 48px 32px;
}

.auth-loading__spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(130, 170, 255, 0.7);
  border-radius: 50%;
  animation: oauth2-spin 0.7s linear infinite;
  margin-bottom: 20px;
}

.auth-loading__status {
  font-size: 1rem;
  font-weight: 600;
}

.auth-loop-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: sans-serif;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.auth-loop-error a {
  color: #82aaff;
}
