body.register-page {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f3f6fb;
  color: #1f2937;
}

.register-page form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.register-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: #ffffff;
}

.register-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3.5rem;
  background: linear-gradient(135deg, #5fbdf7 0%, #6cc5ff 45%, #57b2f1 100%);
  color: #ffffff;
}

.register-hero::before,
.register-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.register-hero::before {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -140px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
}

.register-hero::after {
  width: 760px;
  height: 760px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.register-hero-inner {
  position: relative;
  text-align: center;
  max-width: 520px;
  z-index: 1;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: #dbeafe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: none;
  color: #2563eb;
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.16);
}

.hero-icon svg {
  width: 64px;
  height: 64px;
}

.register-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.register-hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.register-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2.5rem;
  background: #ffffff;
}

.register-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.brand-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #dbeafe;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.brand-icon svg {
  width: 30px;
  height: 30px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2937;
}

.register-card h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.subtitle {
  margin: 0 0 0.75rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrap:focus-within {
  border-color: #5fbdf7;
  box-shadow: 0 0 0 3px rgba(95, 189, 247, 0.2);
}

.input-icon {
  width: 20px;
  height: 20px;
  color: #9ca3af;
  display: inline-flex;
}

.input-icon svg {
  width: 20px;
  height: 20px;
}

.input-wrap input {
  border: none;
  outline: none;
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: #111827;
  background: transparent;
  min-width: 0;
}

.input-wrap input::placeholder {
  color: #9ca3af;
}

.terms {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.terms input {
  width: 16px;
  height: 16px;
}

.terms a {
  color: #3b82f6;
  text-decoration: none;
}

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

.primary-btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7941d 0%, #ff8a00 100%);
  color: #ffffff;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(247, 148, 29, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(247, 148, 29, 0.35);
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.85rem;
}

.login-link {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.login-link a {
  color: #f7941d;
  text-decoration: none;
  font-weight: 600;
}

.divider {
  position: relative;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #e5e7eb;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-btn {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
  border-color: #cbd5f5;
  color: #1f2937;
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1024px) {
  .register-shell {
    grid-template-columns: 1fr;
  }

  .register-hero {
    min-height: 42vh;
  }

  .register-panel {
    padding: 2.5rem 1.5rem 3rem;
  }
}

@media (max-width: 640px) {
  .register-hero {
    padding: 3rem 2rem;
  }

  .register-hero h1 {
    font-size: 2.1rem;
  }

  .register-panel {
    padding: 2rem 1.25rem 2.5rem;
  }

  .primary-btn {
    justify-content: center;
  }
}
