/* Focused V2 access and registration layer. The underlying forms remain native. */

body.eurekers-auth-open {
  overflow: hidden !important;
}

.learndash-wrapper-login-modal {
  --eurekers-auth-navy: #0e2a3a;
  --eurekers-auth-copy: #3d4b56;
  --eurekers-auth-muted: #71808c;
  --eurekers-auth-accent: #00add9;
  --eurekers-auth-accent-dark: #008eb3;
  --eurekers-auth-line: #d7e4ea;
  --eurekers-auth-soft: #f4f8fa;
  --eurekers-auth-success: #227a48;
  --eurekers-auth-success-soft: #edf8f1;
  --eurekers-auth-error: #8d1830;
  --eurekers-auth-error-soft: #fff3f5;
}

.learndash-wrapper-login-modal.ld-modal-open {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  padding: 28px;
  overflow: auto;
  background: rgba(7, 27, 38, 0.72) !important;
  backdrop-filter: blur(5px);
}

.learndash-wrapper-login-modal.ld-modal-closed {
  display: none !important;
}

.learndash-wrapper-login-modal .ld-modal.eurekers-auth-v2 {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: flex !important;
  flex-direction: column;
  width: min(100%, 540px) !important;
  max-width: 540px !important;
  max-height: calc(100vh - 56px);
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(215, 228, 234, 0.9);
  border-radius: 20px !important;
  background: var(--eur-design-surface, #fff) !important;
  box-shadow: 0 30px 90px rgba(7, 27, 38, 0.28) !important;
  color: var(--eurekers-auth-copy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  transform: none !important;
}

.learndash-wrapper-login-modal .ld-modal.eurekers-auth-v2[data-eurekers-auth-view="register"] {
  width: min(100%, 780px) !important;
  max-width: 780px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2,
.learndash-wrapper-login-modal .eurekers-auth-v2 * {
  box-sizing: border-box;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-brand {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 18px 64px 16px 34px;
  border-bottom: 1px solid var(--eurekers-auth-line);
  background: var(--eur-design-surface, #fff);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-brand img {
  display: block;
  width: auto;
  max-width: 136px;
  max-height: 34px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-modal-closer {
  top: 15px !important;
  right: 18px !important;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--eurekers-auth-copy) !important;
  cursor: pointer;
  opacity: 1 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-modal-closer:hover,
.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-modal-closer:focus-visible {
  border-color: var(--eurekers-auth-line);
  background: var(--eurekers-auth-soft);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-login-modal-login,
.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-login-modal-register,
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase {
  position: static !important;
  display: block !important;
  flex: 1 1 auto;
  float: none !important;
  width: 100% !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 0 !important;
  background: var(--eur-design-surface, #fff) !important;
  color: var(--eurekers-auth-copy) !important;
  transform: none !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="login"] .ld-login-modal-register,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="register"] .ld-login-modal-login,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="forgot"] .ld-login-modal-login,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="forgot"] .ld-login-modal-register,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="reset"] .ld-login-modal-login,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="reset"] .ld-login-modal-register,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="purchase"] .ld-login-modal-login,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="purchase"] .ld-login-modal-register {
  display: none !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery {
  display: none;
  width: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--eur-design-surface, #fff);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase {
  display: none !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="forgot"] .eurekers-auth-recovery,
.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="reset"] .eurekers-auth-recovery {
  display: block;
}

.learndash-wrapper-login-modal .eurekers-auth-v2[data-eurekers-auth-view="purchase"] .eurekers-auth-purchase {
  display: block !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-login-modal-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 34px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-modal-heading,
.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-modal-text,
.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-login-modal-branding,
.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-login-modal-register > .ld-login-modal-wrapper > .ld-content {
  display: none !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-intro {
  margin: 0 0 26px;
  padding: 0;
  text-align: left;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-title {
  margin: 0 0 8px !important;
  color: var(--eurekers-auth-navy) !important;
  font-size: clamp(27px, 4vw, 34px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em;
  line-height: 1.12 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-copy {
  max-width: 610px;
  margin: 0 !important;
  color: var(--eurekers-auth-muted) !important;
  font-size: 16px;
  line-height: 1.55;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-success {
  display: grid;
  gap: 3px;
  margin: -8px 0 24px;
  padding: 15px 17px;
  border: 1px solid #a8d9bc;
  border-radius: 12px;
  background: var(--eurekers-auth-success-soft);
  color: var(--eurekers-auth-success);
  font-size: 14px;
  line-height: 1.45;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-success strong {
  font-size: 15px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 form {
  margin: 0 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 form p,
.learndash-wrapper-login-modal .eurekers-auth-v2 form label {
  margin: 0 !important;
  color: var(--eurekers-auth-copy) !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 form input[type="text"],
.learndash-wrapper-login-modal .eurekers-auth-v2 form input[type="email"],
.learndash-wrapper-login-modal .eurekers-auth-v2 form input[type="tel"],
.learndash-wrapper-login-modal .eurekers-auth-v2 form input[type="password"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 50px;
  margin: 7px 0 0 !important;
  padding: 11px 14px !important;
  border: 1px solid var(--eur-design-border-strong, #b8c8cf) !important;
  border-bottom: 1px solid var(--eur-design-border-strong, #b8c8cf) !important;
  border-radius: 9px !important;
  background: var(--eur-design-surface, #fff) !important;
  box-shadow: none !important;
  color: var(--eurekers-auth-navy) !important;
  font: inherit;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform #user_reg_phone {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .login-username,
.learndash-wrapper-login-modal .eurekers-auth-v2 .login-password {
  position: relative;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .login-username::before,
.learndash-wrapper-login-modal .eurekers-auth-v2 .login-password::before {
  top: auto !important;
  bottom: 15px !important;
  left: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 20px;
  line-height: 1 !important;
  transform: none !important;
  pointer-events: none;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #loginform .login-username input,
.learndash-wrapper-login-modal .eurekers-auth-v2 #loginform .login-password input {
  padding-left: 44px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 form input:hover {
  border-color: #8da5b0 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 form input:focus,
.learndash-wrapper-login-modal .eurekers-auth-v2 form input:focus-visible {
  border-color: var(--eurekers-auth-accent) !important;
  outline: 3px solid rgba(0, 173, 217, 0.2) !important;
  outline-offset: 1px;
}

/* The classroom's label focus must not duplicate the input's focus ring. */
.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform label:focus-within {
  outline: none !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 form input[aria-invalid="true"] {
  border-color: #b4233a !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-field-error {
  display: block;
  margin-top: 6px;
  color: #a11d34;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-login-modal-form form {
  display: grid;
  gap: 18px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: var(--eurekers-auth-accent);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 input[type="submit"],
.learndash-wrapper-login-modal .eurekers-auth-v2 button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 13px 22px !important;
  border: 1px solid var(--eurekers-auth-accent) !important;
  border-bottom: 1px solid var(--eurekers-auth-accent) !important;
  border-radius: 10px !important;
  background: var(--eurekers-auth-accent) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.2;
  text-shadow: none !important;
  cursor: pointer;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 input[type="submit"]:hover,
.learndash-wrapper-login-modal .eurekers-auth-v2 input[type="submit"]:focus-visible,
.learndash-wrapper-login-modal .eurekers-auth-v2 button[type="submit"]:hover,
.learndash-wrapper-login-modal .eurekers-auth-v2 button[type="submit"]:focus-visible {
  border-color: var(--eurekers-auth-accent-dark) !important;
  background: var(--eurekers-auth-accent-dark) !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-forgot-password-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--eurekers-auth-copy) !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #b8c8cf;
  text-underline-offset: 4px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery form {
  display: grid;
  gap: 14px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery form label + input {
  margin-top: -7px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery form button[type="submit"] {
  margin-top: 5px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery-status {
  margin: -8px 0 22px;
  padding: 14px 16px;
  border: 1px solid #a8d9bc;
  border-radius: 10px;
  background: var(--eurekers-auth-success-soft);
  color: var(--eurekers-auth-success);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery-status.is-error {
  border-color: #e6a9b4;
  background: #fff3f5;
  color: #8d1830;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery-status[hidden],
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-recovery form[hidden] {
  display: none !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #ld-user-register,
.learndash-wrapper-login-modal .eurekers-auth-v2 #ld-user-register.ld-hide {
  display: block !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > p,
.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > div {
  min-width: 0;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > p:nth-of-type(5),
.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > div,
.learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > .submit {
  grid-column: 1 / -1;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #username-no-realname-warning {
  display: block;
  margin-top: 6px;
  color: var(--eurekers-auth-muted) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.35;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-consents,
.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-container.eurekers-auth-verification {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  margin: 0 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-consents {
  padding: 4px 0 2px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-section-title {
  margin: 0 !important;
  color: var(--eurekers-auth-navy) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  line-height: 1.35 !important;
  text-align: left;
  text-transform: uppercase;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-section-copy {
  margin: -5px 0 2px !important;
  color: var(--eurekers-auth-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-consent-group {
  display: grid;
  gap: 5px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start !important;
  justify-content: stretch !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  text-align: left;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-consent p {
  font-weight: 500 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-container.eurekers-auth-verification {
  padding: 18px;
  border: 1px solid var(--eurekers-auth-line);
  border-radius: 12px;
  background: var(--eurekers-auth-soft);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-container.eurekers-auth-verification > br {
  display: none;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-title-container {
  margin: 0 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-title-container p,
.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-description-container,
.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-description-container p {
  margin: 0 !important;
  color: var(--eurekers-auth-copy) !important;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.5;
  text-align: left !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-container a {
  color: var(--eurekers-auth-navy) !important;
  font-weight: 700;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-description-container {
  margin: 0 0 0 28px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-description-container a {
  color: var(--eurekers-auth-muted) !important;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #b8c8cf;
  text-underline-offset: 3px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .capbox {
  display: grid !important;
  grid-template-columns: minmax(110px, auto) minmax(0, 220px);
  align-items: end;
  justify-content: start;
  gap: 18px;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .capbox-inner {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 13px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #CaptchaDiv {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 1px solid var(--eurekers-auth-line);
  border-radius: 9px;
  background: var(--eur-design-surface, #fff) !important;
  color: var(--eurekers-auth-navy) !important;
  font-size: 22px !important;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-captcha-field {
  display: grid;
  gap: 5px;
  width: 100%;
  color: var(--eurekers-auth-copy) !important;
  font-size: 12px;
  font-weight: 700;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #CaptchaInput {
  width: 100% !important;
  max-width: 220px !important;
  margin: 0 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .popup {
  max-height: 220px;
  overflow: auto;
  border-radius: 8px;
  background: var(--eur-design-surface, #fff);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-switch {
  margin: 25px 0 0 !important;
  padding-top: 22px;
  border-top: 1px solid var(--eurekers-auth-line);
  color: var(--eurekers-auth-muted) !important;
  font-size: 14px;
  text-align: center;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-switch button {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--eurekers-auth-navy);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .ld-alert {
  margin: 0 0 22px !important;
  border-radius: 10px;
  font-size: 14px;
  text-align: left;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-level {
  margin: 0 0 8px !important;
  color: var(--eurekers-auth-accent-dark) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase form {
  display: grid;
  gap: 14px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase form label + input {
  margin-top: -7px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase form button[type="submit"] {
  margin-top: 5px !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 2px !important;
  font-weight: 500 !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-consent a {
  color: var(--eurekers-auth-navy) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-sent {
  margin: 0 0 4px !important;
  color: var(--eurekers-auth-copy) !important;
  font-size: 14px;
  font-weight: 500 !important;
  line-height: 1.5;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-sent strong {
  overflow-wrap: anywhere;
  color: var(--eurekers-auth-navy);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-field-help {
  margin: -7px 0 0 !important;
  color: var(--eurekers-auth-muted) !important;
  font-size: 12px;
  font-weight: 500 !important;
  line-height: 1.4;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 #eurekers_purchase_code {
  max-width: 240px !important;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-align: center;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-status {
  margin: -8px 0 22px;
  padding: 13px 15px;
  border: 1px solid #a8d9bc;
  border-radius: 10px;
  background: var(--eurekers-auth-success-soft);
  color: var(--eurekers-auth-success);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-status.is-error {
  border-color: #e6a9b4;
  background: var(--eurekers-auth-error-soft);
  color: var(--eurekers-auth-error);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-actions button,
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-link,
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-routes button {
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--eurekers-auth-navy);
  font: inherit;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-actions button:disabled {
  border-bottom-color: transparent;
  color: var(--eurekers-auth-muted);
  cursor: default;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-existing > p:first-child {
  margin: 0 0 14px;
  color: var(--eurekers-auth-copy);
  font-size: 15px;
  line-height: 1.55;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-existing .eurekers-auth-repeat {
  margin: 0 0 18px;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0 0 14px;
  padding: 13px 22px;
  border: 1px solid var(--eurekers-auth-accent);
  border-radius: 10px;
  background: var(--eurekers-auth-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-primary:hover,
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-primary:focus-visible {
  border-color: var(--eurekers-auth-accent-dark);
  background: var(--eurekers-auth-accent-dark);
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-link {
  display: block;
  margin: 0 auto;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-routes {
  display: grid;
  gap: 7px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--eurekers-auth-line);
  text-align: center;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-routes p {
  margin: 0;
  color: var(--eurekers-auth-muted);
  font-size: 14px;
  line-height: 1.45;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-status[hidden],
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase form[hidden],
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-existing[hidden],
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-routes[hidden] {
  display: none !important;
}

.learndash-wrapper-login-modal .eurekers-auth-v2 [disabled] {
  opacity: 0.68;
}

@media (max-width: 680px) {
  .learndash-wrapper-login-modal.ld-modal-open {
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background: var(--eur-design-surface, #fff) !important;
  }

  .learndash-wrapper-login-modal .ld-modal.eurekers-auth-v2,
  .learndash-wrapper-login-modal .ld-modal.eurekers-auth-v2[data-eurekers-auth-view="register"] {
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-brand {
    min-height: 64px;
    padding: 15px 60px 14px 22px;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-brand img {
    max-width: 124px;
    max-height: 31px;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 .ld-modal-closer {
    top: 12px !important;
    right: 14px !important;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 .ld-login-modal-wrapper {
    padding: 28px 22px 32px !important;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 #registerform {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > p,
  .learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > div,
  .learndash-wrapper-login-modal .eurekers-auth-v2 #registerform > .submit {
    grid-column: 1;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 #privacy-policy-container {
    padding: 15px;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 .capbox {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .learndash-wrapper-login-modal .eurekers-auth-v2 #CaptchaInput {
    max-width: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .learndash-wrapper-login-modal,
  .learndash-wrapper-login-modal * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Purchase context: account holders can switch before reaching the long form. */
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-intro .eurekers-auth-switch {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-repeat {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--eur-design-soft-bg, #eef7fa);
  border-left: 3px solid #00add9;
  color: var(--eurekers-auth-navy);
  font-size: 14px;
  line-height: 1.5;
}
.learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-repeat[hidden] { display: none; }

html[data-eurekers-theme="dark"] .learndash-wrapper-login-modal .eurekers-auth-v2 .ld-alert-warning {
  border-color: #ff9eaa !important;
  color: #ffbdc5 !important;
}
html[data-eurekers-theme="dark"] .learndash-wrapper-login-modal .eurekers-auth-v2 .ld-alert-warning .ld-alert-content { color: inherit !important; }

html[data-eurekers-theme="dark"] .learndash-wrapper-login-modal {
  --eurekers-auth-success: #8de1ae;
  --eurekers-auth-success-soft: #163b2a;
  --eurekers-auth-error: #ffbdc5;
  --eurekers-auth-error-soft: #4a2029;
}

html[data-eurekers-theme="dark"] .learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-status {
  border-color: #397955;
}

html[data-eurekers-theme="dark"] .learndash-wrapper-login-modal .eurekers-auth-v2 .eurekers-auth-purchase-status.is-error {
  border-color: #985261;
}
