.register-page {
  min-height: calc(100vh - 60px);
  background: linear-gradient(135deg, #f4f7fb 0%, #e8eef6 100%);
  padding: 4rem 1rem;
}

.register-shell {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.register-hero,
.register-card {
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.register-hero {
  position: sticky;
  top: 90px;
  background: linear-gradient(135deg, #101828, #1f2937);
  color: white;
  padding: 3rem;
  transition: all 0.25s ease;
}

.register-eyebrow {
  color: #00d9ff;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.register-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0;
}

.register-hero p {
  color: #cbd5e1;
  max-width: 560px;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.register-benefits {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.register-benefits div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: #e5e7eb;
  font-weight: 700;
}

.register-card {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 2rem;
}

.register-card h2 {
  margin: 0;
  font-size: 2rem;
  color: #0f172a;
}

.register-card-subtitle,
.section-helper {
  color: #64748b;
}

.register-card-subtitle {
  margin: 0.5rem 0 1.5rem;
}

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

.form-group,
.form-section p {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label,
.form-section label {
  font-weight: 800;
  color: #111827;
  font-size: 0.9rem;
}

.form-group select,
.form-section input,
.form-section textarea,
.form-section select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d2d6dc;
  border-radius: 12px;
  font-size: 1rem;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-section textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select:focus,
.form-section input:focus,
.form-section textarea:focus,
.form-section select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
  outline: none;
}

.form-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.2rem;
}

.form-section h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.2rem;
}

.section-helper {
  margin: 0.35rem 0 1rem;
  font-size: 0.95rem;
}

.form-section .helptext {
  display: block;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-section .helptext::before {
  content: "Password requirements";
  display: block;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.form-section .helptext ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.form-section .helptext li {
  margin-bottom: 0.35rem;
}

.form-section .errorlist,
.register-form .errorlist {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  color: #dc2626;
  font-size: 0.92rem;
}

.btn-primary {
  margin-top: 0.4rem;
  background: #00d9ff;
  color: #03121a;
  padding: 0.95rem 1.2rem;
  border: none;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 217, 255, 0.35);
}

.register-login-link {
  text-align: center;
  margin-top: 1.4rem;
  color: #64748b;
}

.register-login-link a {
  color: #0284c7;
  font-weight: 800;
  text-decoration: none;
}

.form-section ul {
  display: none;
}

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

  .register-hero {
    position: static;
    padding: 2rem;
  }

}