html,
body.auth-register-page {
  min-height: 100%;
  margin: 0;
  background: #f3f6fa;
  color: #111827;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.auth-register-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.register-shell {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 44%) minmax(0, 1fr);
  min-height: calc(100vh - 56px);
}

.register-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .16)),
    url("https://cdn.listeur.us/plutus/plutus-signup-bg-04.png") center / cover no-repeat;
  border-right: 1px solid #d9e0ea;
}

.register-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(255, 255, 255, .74) 100%);
  pointer-events: none;
}

.register-visual__content {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 4vw, 64px);
  right: clamp(28px, 4vw, 64px);
  bottom: clamp(36px, 7vh, 74px);
  max-width: 500px;
}

.register-visual__eyebrow {
  margin: 0 0 10px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.register-visual__title {
  margin: 0;
  max-width: 13ch;
  color: #111827;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.register-visual__copy {
  margin: 15px 0 0;
  max-width: 43ch;
  color: #475467;
  font-size: 14px;
  line-height: 1.6;
}

.register-main {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px clamp(24px, 4vw, 64px) 64px;
  background: #fff;
}

.register-panel {
  width: min(100%, 520px);
}

.register-heading {
  margin-bottom: 24px;
}

.register-heading__eyebrow {
  margin: 0 0 6px;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.register-heading__title {
  margin: 0;
  color: #111827;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.register-heading__subtitle {
  margin: 8px 0 0;
  max-width: 46ch;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.register-alert {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #f3b7b7;
  border-radius: 4px;
  background: #fff7f7;
  color: #9b1c1c;
  font-size: 13px;
  line-height: 1.45;
}

.register-alert ul,
.register-field .errorlist {
  margin: 0;
  padding-left: 18px;
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.register-field {
  margin-bottom: 15px;
}

.register-field--full {
  grid-column: 1 / -1;
}

.register-field label {
  display: block;
  margin: 0 0 6px;
  color: #475467;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.register-field input,
.register-field select,
.register-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #cfd7e3;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  outline: none;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.register-field input:hover,
.register-field select:hover,
.register-field textarea:hover {
  border-color: #aeb8c6;
}

.register-field input:focus,
.register-field select:focus,
.register-field textarea:focus {
  border-color: #667085;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, .08);
}

.register-field .helptext {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 11px;
  line-height: 1.45;
}

.register-field .errorlist {
  margin-top: 5px;
  color: #b42318;
  font-size: 11px;
  line-height: 1.4;
}

.register-security {
  display: flex;
  align-items: center;
  min-height: 67px;
  margin: 1px 0 16px;
}

.register-submit {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0d0d0d;
  border-radius: 4px;
  background: #0d0d0d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.register-submit:hover,
.register-submit:focus {
  background: #222;
  border-color: #222;
  color: #fff;
  box-shadow: none;
}

.register-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
  color: #667085;
  font-size: 12px;
}

.register-login a {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
}

.register-login a:hover {
  text-decoration: underline;
}

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

  .register-visual {
    display: none;
  }

  .register-main {
    align-items: flex-start;
    min-height: calc(100vh - 56px);
    padding: 42px 24px 88px;
  }
}

@media (max-width: 640px) {
  .register-main {
    padding: 28px 18px 88px;
  }

  .register-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .register-field--full {
    grid-column: auto;
  }

  .register-heading__title {
    font-size: 24px;
  }

  .register-security {
    overflow-x: auto;
  }
}
