/**
 * Auth Handoff Styles
 * Minimal, accessible, security-focused
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0f0f1a;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  line-height: 1.5;
}

.container {
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.brand {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #8b93a1;
  margin-bottom: 24px;
}

.state {
  display: block;
}

.state[hidden] {
  display: none;
}

h1 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.status {
  font-size: 0.9375rem;
  color: #aaaaaa;
  margin-bottom: 24px;
}

.error {
  color: #ef4444;
}

.btn {
  display: inline-block;
  background: #4a9eff;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  opacity: 0.8;
}

.btn:focus-visible {
  outline: 2px solid #4a9eff;
  outline-offset: 3px;
}

.btn[hidden] {
  display: none;
}

.fallback {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: #666666;
  line-height: 1.6;
}

.fallback[hidden] {
  display: none;
}

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

@media (prefers-color-scheme: light) {
  body {
    background: #f5f5f7;
    color: #1d1d1f;
  }
  
  .brand {
    color: #6e6e73;
  }
  
  h1 {
    color: #1d1d1f;
  }
  
  .status {
    color: #6e6e73;
  }
  
  .fallback {
    color: #86868b;
  }
}
