/* register.css · standalone register page · matches premium aesthetic */

.register-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #1a1a1a 0%, #0a0a0a 60%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.register-shell {
  width: 100%;
  max-width: 480px;
}

.register-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%), #171717;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 4px 8px rgba(0,0,0,0.4);
}

.register-brand {
  text-align: center;
  margin-bottom: 28px;
}

.register-logo {
  font-size: 40px;
  margin-bottom: 12px;
}

.register-title {
  font-size: 24px;
  font-weight: 700;
  color: #EA8623;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.register-subtitle {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* Form */
.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reg-field {
  margin-bottom: 16px;
}

.reg-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #E5E5E5;
  margin-bottom: 6px;
}

.reg-field .req {
  color: #EA8623;
}

.reg-field input {
  width: 100%;
  box-sizing: border-box;
  background: #262626;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  color: #f0f0f0;
  font-size: 14px;
  font-family: inherit;
  transition: all 120ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reg-field input:focus {
  outline: none;
  border-color: #EA8623;
  background: #1F1F1F;
  box-shadow: 0 0 0 3px rgba(234,134,35,0.18);
}

.reg-field input.reg-input-err {
  border-color: #EF4444;
  background: rgba(239,68,68,0.05);
}

.reg-hint {
  font-size: 11px;
  color: #737373;
  margin-top: 4px;
}

.reg-hint code {
  background: #262626;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #EA8623;
}

.reg-err {
  font-size: 12px;
  color: #EF4444;
  margin-top: 6px;
  display: none;
}

/* Actions */
.reg-actions {
  margin-top: 24px;
}

.reg-btn-primary {
  width: 100%;
  background: linear-gradient(180deg, #EA8623, #D67518);
  color: #fff;
  border: 1px solid #EA8623;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 120ms cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.reg-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(234,134,35,0.3);
  background: linear-gradient(180deg, #FF9933, #EA8623);
}

.reg-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Global messages */
.reg-global-err,
.reg-global-ok {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.reg-global-err {
  background: rgba(239,68,68,0.1);
  color: #FCA5A5;
  border: 1px solid rgba(239,68,68,0.3);
}

.reg-global-ok {
  background: rgba(16,185,129,0.1);
  color: #6EE7B7;
  border: 1px solid rgba(16,185,129,0.3);
}

/* Footer link */
.reg-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.reg-footer a {
  color: #EA8623;
  font-size: 13px;
  text-decoration: none;
}

.reg-footer a:hover {
  color: #FF9933;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .register-card {
    padding: 24px 20px;
  }
  .reg-row {
    grid-template-columns: 1fr;
  }
}
