.member-auth-page .site-main {
  background:
    linear-gradient(rgba(44, 72, 149, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 72, 149, 0.045) 1px, transparent 1px),
    #f5f7fb;
  background-size: 32px 32px;
}

.member-auth-shell {
  display: grid;
  min-height: 760px;
  padding: 64px 0 80px;
  place-items: start center;
}

.member-auth-card {
  position: relative;
  width: 520px;
  padding: 42px 48px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(32, 52, 77, 0.12);
  overflow: hidden;
}

.member-signup-card {
  width: 900px;
}

.member-auth-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 7px;
}

.member-auth-accent i:nth-child(1) { background: var(--blue); }
.member-auth-accent i:nth-child(2) { background: var(--green); }
.member-auth-accent i:nth-child(3) { background: var(--yellow); }
.member-auth-accent i:nth-child(4) { background: var(--red); }

.member-auth-heading {
  margin-bottom: 30px;
  text-align: center;
}

.member-auth-heading p {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.member-auth-heading h1 {
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.3;
}

.member-auth-heading span {
  color: var(--muted);
  font-size: 14px;
}

.member-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.member-field + .member-field,
.member-resend-form {
  margin-top: 18px;
}

.member-form-grid .member-field + .member-field {
  margin-top: 0;
}

.member-field label {
  display: block;
  margin-bottom: 7px;
  color: #273244;
  font-size: 13px;
  font-weight: 750;
}

.member-field input,
.member-field select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #cfd6e2;
  border-radius: 6px;
  background: #ffffff;
  font-size: 14px;
  outline: none;
}

.member-field input:focus,
.member-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 72, 149, 0.12);
}

.member-field.has-error input,
.member-field.has-error select {
  border-color: var(--red);
}

.member-field small {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 12px;
}

.member-field-errors,
.member-field-errors .errorlist {
  margin: 6px 0 0;
  padding: 0;
  color: #a51f3b;
  font-size: 12px;
  list-style: none;
}

.member-form-error {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: #fff2f4;
  color: #8a1830;
  font-size: 13px;
}

.member-form-error .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-agreements {
  display: grid;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #e1e6ee;
  background: #f8fafc;
  gap: 12px;
}

.member-agreements label {
  display: flex;
  align-items: center;
  font-size: 13px;
  gap: 9px;
}

.member-agreements input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.member-agreements a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.member-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 26px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.member-submit.secondary {
  background: #ffffff;
  color: var(--blue);
}

.member-submit-link {
  text-decoration: none;
}

.member-auth-links {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.member-auth-links a {
  color: var(--blue);
  font-weight: 750;
}

.member-status-panel {
  padding: 18px 20px;
  border-left: 5px solid var(--green);
  background: #f0f8ed;
}

.member-status-panel strong {
  display: block;
  margin-bottom: 7px;
}

.member-status-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

[data-business-number][hidden],
[data-personal-type][hidden] {
  display: none;
}
