.custom-body-1 {
  margin: 0;
  padding: 0;
  background-image: url('../../../assets/images/new york.jpg');
  background-size: contain;
  background-position: center;
  height: 100vh;
}

.register-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px 48px;
  background: linear-gradient(180deg, #f7f7f5 0%, #ffffff 50%, #f3f6f2 100%);
}

.register-page .logo {
  align-self: flex-start;
  width: auto;
  height: 72px;
  margin-left: 4px;
}

#login {
  width: 100%;
}

#login .container {
  max-width: 720px;
}

#login .container #login-row #login-column #login-box {
  margin-top: 12px;
  max-width: 640px;
  padding: 28px 24px 32px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(12, 40, 12, 0.08);
}

#login .container #login-row #login-column #login-box #login-form {
  padding: 20px;
}

#login .container #login-row #login-column #login-box #login-form #register-link {
  margin-top: -85px;
}

#login .register-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
  margin-top: 10px;
}

#login .register-actions .btn {
  width: min(100%, 360px);
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .register-page {
    padding-top: 20px;
  }

  .register-page .logo {
    height: 64px;
  }

  #login .container #login-row #login-column #login-box {
    padding: 22px 18px 26px;
  }
}

.registration-portal {
  position: relative;
  min-height: 100vh;
  background-image: url('/assets/images/engineers.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.registration-portal::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(247, 251, 247, 0.78) 0%, rgba(255, 255, 255, 0.82) 60%, rgba(245, 248, 245, 0.84) 100%);
  pointer-events: none;
}

.registration-portal .home-header {
  position: relative;
  z-index: 1;
}

.registration-portal .auth-header {
  position: relative;
  z-index: 1;
}

.registration-portal main {
  position: relative;
  z-index: 1;
}

.portal-hero {
  padding: 48px 0 28px;
}

.portal-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.portal-eyebrow {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f5d2f;
  margin-bottom: 12px;
}

.portal-title {
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.2;
  color: #123312;
  margin-bottom: 16px;
}

.portal-sub {
  font-size: 1.05rem;
  color: #2f3a2f;
  margin-bottom: 20px;
}

.portal-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.portal-note {
  color: #4c5b4c;
}

.portal-hero-media {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.portal-hero-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(18, 40, 18, 0.12);
  max-width: 520px;
}

.portal-hero-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.portal-hero-stat {
  background: #0b7a36;
  color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  text-align: left;
  width: min(100%, 360px);
  box-shadow: 0 14px 32px rgba(11, 122, 54, 0.25);
}

.portal-hero-stat strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.portal-section {
  padding: 36px 0 48px;
}

.portal-section-only {
  padding-top: 64px;
  padding-bottom: 72px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 16px 30px rgba(16, 36, 16, 0.08);
  border: 1px solid rgba(15, 54, 15, 0.08);
  display: grid;
  gap: 16px;
}

.portal-card-highlight {
  border: 1px solid rgba(12, 120, 44, 0.35);
  box-shadow: 0 20px 40px rgba(9, 113, 40, 0.2);
}

.portal-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(10, 128, 46, 0.12);
  display: grid;
  place-items: center;
}

.portal-card-icon img {
  width: 28px;
  height: 28px;
}

.portal-card h3 {
  margin: 0;
  color: #123312;
}

.portal-card p {
  color: #3b463b;
  margin: 0;
}

.portal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #2f3a2f;
}

.portal-list li {
  padding-left: 18px;
  position: relative;
}

.portal-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b7a36;
  position: absolute;
  left: 0;
  top: 7px;
}

.portal-split {
  padding-top: 12px;
}

.portal-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.portal-split-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 36px rgba(14, 35, 14, 0.14);
}

.portal-split-copy h2 {
  color: #123312;
  margin-bottom: 12px;
}

.portal-split-copy p {
  color: #3b463b;
  margin-bottom: 18px;
}

.portal-split-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 992px) {
  .portal-hero-grid,
  .portal-split-grid {
    grid-template-columns: 1fr;
  }

  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-hero-media {
    justify-items: stretch;
  }
}

@media (max-width: 768px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-cta,
  .portal-split-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
