body.woocommerce-account,
body.page-slug-register,
body.page-id-register {
  background: #f4f8f2;
  font-family: "Noto Sans Khmer", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.fha-auth-page {
  width: min(1180px, 100%);
}

.woocommerce-account .cfm-page:has(.fha-auth-page),
.page .cfm-page:has(.fha-auth-page) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cfm-page:has(.fha-auth-page) > h1 {
  margin-bottom: 28px;
  color: var(--cfm-green);
}

.fha-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: stretch;
}

.fha-auth-form,
.fha-benefits {
  border: 1px solid var(--cfm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(11, 94, 43, 0.08);
}

.fha-auth-form {
  padding: clamp(28px, 4vw, 44px);
}

.fha-kicker {
  margin: 0 0 8px;
  color: var(--cfm-light-green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.fha-auth-form h2,
.fha-benefits h2 {
  margin: 0;
  color: var(--cfm-green);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.fha-auth-form > p:not(.fha-kicker) {
  max-width: 580px;
  margin: 12px 0 26px;
  color: var(--cfm-muted);
}

.fha-auth-form form {
  display: grid;
  gap: 18px;
  margin: 0;
}

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

.fha-register-fields .form-row-wide {
  grid-column: span 2;
}

.fha-auth-form .form-row {
  display: grid;
  gap: 8px;
  margin: 0;
}

.fha-auth-form label {
  color: var(--cfm-ink);
  font-size: 14px;
  font-weight: 900;
}

.fha-auth-form input.input-text,
.fha-auth-form input[type="text"],
.fha-auth-form input[type="email"],
.fha-auth-form input[type="tel"],
.fha-auth-form input[type="password"] {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--cfm-line);
  border-radius: 13px;
  background: #fff;
  color: var(--cfm-ink);
  font: inherit;
  outline: 0;
  box-shadow: 0 10px 26px rgba(11, 94, 43, 0.04);
}

.fha-auth-form input:focus {
  border-color: var(--cfm-light-green);
  box-shadow: 0 0 0 4px rgba(132, 196, 65, 0.16);
}

.fha-auth-form .password-input {
  display: block;
  position: relative;
}

.fha-auth-form .show-password-input {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.fha-auth-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.fha-auth-row label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.fha-auth-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cfm-green);
}

.fha-auth-row a,
.fha-auth-switch a:not(.button) {
  color: var(--cfm-green);
  font-weight: 900;
}

.fha-auth-form .button,
.fha-auth-switch .button {
  min-height: 54px;
  border-radius: 13px;
  background: var(--cfm-green);
  color: #fff;
  font-weight: 900;
}

.fha-auth-form .button {
  width: 100%;
  margin-top: 4px;
}

.fha-auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--cfm-line);
  color: var(--cfm-muted);
}

.fha-auth-switch .button {
  width: auto;
  padding-inline: 18px;
  background: var(--cfm-light-green);
  color: var(--cfm-green);
}

.fha-form-note {
  margin: 0;
  color: var(--cfm-muted);
}

.fha-benefits {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(11, 94, 43, 0.94), rgba(11, 94, 43, 0.78)),
    url("https://images.unsplash.com/photo-1619566636858-adf3ef46400b?auto=format&fit=crop&w=900&q=80") center/cover;
  color: #fff;
}

.fha-benefits .fha-kicker,
.fha-benefits h2 {
  color: #fff;
}

.fha-benefits ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.fha-benefits li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.fha-benefits li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cfm-light-green);
  box-shadow: 0 0 0 5px rgba(132, 196, 65, 0.22);
}

.nsl-container,
.nsl-container-buttons,
.the_champ_login_container,
.mo-openid-app-icons,
.mo-openid-app-icons-circle,
.wc-social-login,
.woocommerce-social-login,
.social-login,
.social_login,
.xoo-el-social-login,
a[href*="google"],
button[class*="google"],
div[class*="google-login"] {
  display: none !important;
}

@media (max-width: 900px) {
  .fha-auth-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fha-auth-form,
  .fha-benefits {
    padding: 24px;
  }

  .fha-auth-row,
  .fha-auth-switch {
    align-items: stretch;
    flex-direction: column;
  }

  .fha-register-fields {
    grid-template-columns: 1fr;
  }

  .fha-register-fields .form-row-wide {
    grid-column: auto;
  }

  .fha-auth-switch .button {
    width: 100%;
  }
}
