body {
  font-family: Inter, system-ui, sans-serif;
  background: #f3f4f6;
  color: #1f2937;
  margin: 0;
  font-size: 16px;
}

.register-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
}

.register-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: none;
  animation: fadeIn 0.3s ease-in;
}

.register-logo {
  display: block;
  width: 100px;
  margin: 0 auto 0.8rem auto;
}

.title {
  text-align: center;
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.step-card {
  display: none;
}

.step-card.active {
  display: block;
}

.step-title {
  font-weight: 600;
  color: #444;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.radio-group label {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.5rem;
  background: #ffffff;
  min-height: 44px;
  transition: 0.25s;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.radio-group label:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.radio-group label:has(input:checked) {
  border-color: #374151;
  background: #f3f4f6;
}

.input {
  width: 100%;
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
  min-height: 44px;
  background: #ffffff;
  color: #111827;
  box-sizing: border-box;
}

.input:focus {
  border-color: #374151;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.15);
  outline: none;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-size: 0.9rem;
}

.btn {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn.primary {
  background: #374151;
  color: #ffffff;
  min-height: 44px;
}

.btn.primary:hover {
  background: #111827;
}

.btn.secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
  min-height: 44px;
}

.btn.secondary:hover {
  background: #f3f4f6;
}

.btn:focus-visible,
.input:focus-visible,
.radio-group label:focus-within {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.btn.full {
  width: 100%;
}

a.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

a.btn.full {
  display: block;
}

.google-signup {
  margin: 0.75rem 0;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1rem;
}

.msg {
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.4rem;
}

.msg.error {
  color: #dc2626;
}

.msg.muted {
  color: #6b7280;
}

.terms-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #333;
  margin: 0.25rem 0 0.6rem;
}

.terms-row input[type="checkbox"] {
  margin-top: 0.2rem;
}

/* Spinner */
.spinner-overlay {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 999;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #374151;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

/* Thank You Screen */
.thankyou {
  display: none;
  text-align: left;
  color: #333;
  background: #f9fafb;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
  line-height: 1.5;
}

.thankyou h3 {
  color: #111827;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.thankyou a {
  color: #111827;
  text-decoration: none;
  font-weight: 500;
}

.thankyou a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
