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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #11181C;
  background-color: #fff;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  color: #0a7ea4;
  margin-bottom: 24px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 16px;
}

p {
  color: #687076;
  margin-bottom: 16px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e0e0e0;
  border-top-color: #0a7ea4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 24px;
}

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

.success-icon {
  width: 64px;
  height: 64px;
  background-color: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: #16a34a;
}

.error-icon {
  width: 64px;
  height: 64px;
  background-color: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.error-icon svg {
  width: 32px;
  height: 32px;
  color: #dc2626;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background-color: #0a7ea4;
  color: #fff;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #11181C;
}

.hidden {
  display: none;
}

/* Legal pages */
.legal-content {
  padding-top: 60px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-size: 14px;
  color: #9BA1A6;
  margin-bottom: 32px;
}

.legal-content h2 {
  margin-top: 40px;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
  color: #687076;
}

.legal-content a {
  color: #0a7ea4;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: #0a7ea4;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 14px;
  color: #9BA1A6;
}

footer a {
  color: #687076;
  text-decoration: none;
  margin: 0 12px;
}

footer a:hover {
  color: #0a7ea4;
}
