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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f7fa;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

.nav {
  background: #fff;
  border-bottom: 2px solid #6366f1;
  padding: 0.75rem 0;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.2rem; font-weight: bold; color: #6366f1; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.user-email { font-size: 0.85rem; color: #666; }

.hero {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 { font-size: 2rem; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; }

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }
.btn:disabled { cursor: not-allowed; opacity: 0.55; }
.btn-primary { background: #6366f1; color: #fff; }
.btn-secondary { background: #e9ecef; color: #333; }
.btn-cta { background: #fff; color: #6366f1; font-weight: bold; padding: 0.8rem 2rem; font-size: 1rem; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-sm { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card h2 { font-size: 1.2rem; margin-bottom: 1rem; color: #6366f1; }

.method-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}
.method-item:last-child { border-bottom: none; }
.method-info { display: flex; gap: 1rem; align-items: center; }
.method-type { font-weight: 600; min-width: 80px; }
.method-id { color: #666; }

.passkey-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.passkey-note { color: #666; font-size: 0.9rem; margin-top: 0.25rem; }
.status-message {
  display: block;
  min-height: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.status-message.info { color: #333; }
.status-message.error { color: #dc3545; }

.loading { text-align: center; padding: 3rem; color: #666; }
.error { color: #dc3545; }
.text-muted { color: #999; }
.text-center { text-align: center; }

footer {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 3rem;
}

main.container { padding-top: 2rem; padding-bottom: 2rem; }

@media (max-width: 640px) {
  .nav-content,
  .nav-actions,
  .method-item,
  .passkey-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .method-item .btn {
    width: 100%;
  }
}
