.register-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(160deg, #faf5ff 0%, #f9fafb 50%, #fff 100%);
}
.register-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
  padding: 32px 28px;
}
.register-card h1 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.register-card .subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 24px;
}
.register-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.register-step {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}
.register-step.active {
  color: #7c3aed;
  border-bottom-color: #7c3aed;
  font-weight: 600;
}
.register-step.done {
  color: #059669;
  border-bottom-color: #059669;
}
.register-field {
  margin-bottom: 16px;
}
.register-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}
.register-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.register-field input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.register-code-row {
  display: flex;
  gap: 10px;
}
.register-code-row input {
  flex: 1;
  letter-spacing: 6px;
  text-align: center;
  font-weight: 600;
}
.register-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.register-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.register-btn-primary {
  background: #7c3aed;
  color: #fff;
}
.register-btn-primary:hover:not(:disabled) {
  background: #6d28d9;
}
.register-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  margin-top: 10px;
}
.register-btn-secondary:hover:not(:disabled) {
  background: #e5e7eb;
}
.register-msg {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  min-height: 20px;
}
.register-msg.error { color: #dc2626; }
.register-msg.success { color: #059669; }
.register-msg.info { color: #6b7280; }
.register-next {
  margin-top: 20px;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  text-align: center;
}
.register-next h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #166534;
}
.register-next p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}
.register-next .register-btn {
  margin-top: 14px;
}
.register-google-info {
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: left;
}
.register-google-info h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.register-google-info p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}
.register-google-info ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
.register-google-info li { margin-bottom: 4px; }
.register-tip {
  padding: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.55;
  margin-bottom: 12px;
}
.register-google-note {
  font-size: 12px !important;
  color: #94a3b8 !important;
  margin-bottom: 0 !important;
}
.register-btn-google {
  margin-top: 16px;
  background: #fff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.register-btn-google:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #9ca3af;
}
.register-g-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.register-complete {
  margin-top: 8px;
  padding: 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  text-align: center;
}
.register-complete h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #166534;
}
.register-complete p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
}
.register-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.register-links a {
  text-decoration: none;
  display: block;
  text-align: center;
}
