/* Foxnett password reset — Login-family shell. Scoped to body.wdes-page-pwreset. */

body.wdes-page-pwreset.wdes-account-page,
body.wdes-page-pwreset.wdes-account-page .wdes-wrap-content,
body.wdes-page-pwreset.wdes-account-page section#main-body,
body.wdes-page-pwreset.wdes-account-page .wdes-wrap-content #main-body .container,
body.wdes-page-pwreset.wdes-account-page .wdes-flex-mob,
body.wdes-page-pwreset.wdes-account-page .main-content {
  height: auto !important;
  min-height: 0;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  background-image: none !important;
}

body.wdes-page-pwreset.wdes-account-page {
  height: auto !important;
  min-height: 100vh;
  width: 100% !important;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--fx-client-bg) !important;
  background-image: none !important;
}

body.wdes-page-pwreset.wdes-account-page section#main-body {
  background: transparent !important;
  background-image: none !important;
}

body.wdes-page-pwreset .fx-auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 520px);
  min-height: 100vh;
  width: 100%;
}

body.wdes-page-pwreset.has-header .fx-auth-shell,
body.wdes-page-pwreset .has-header .fx-auth-shell {
  min-height: calc(100vh - 70px);
}

body.wdes-page-pwreset section#footer {
  display: none;
}

body.wdes-page-pwreset .fx-pwreset-lede {
  margin: 0 0 20px;
  max-width: 36em;
}

body.wdes-page-pwreset .fx-auth-header {
  margin-bottom: 16px;
}

body.wdes-page-pwreset .fx-pwreset-success {
  margin: 0 0 8px;
}

body.wdes-page-pwreset .fx-auth-error .alert-success {
  border-color: rgba(45, 159, 70, 0.28);
  background: rgba(45, 159, 70, 0.1);
  color: var(--fx-client-text);
}

html[data-foxnett-theme="dark"] body.wdes-page-pwreset .fx-auth-error .alert-success {
  border-color: rgba(45, 159, 70, 0.4);
  background: rgba(45, 159, 70, 0.14);
  color: var(--fx-client-text);
}

body.wdes-page-pwreset .fx-auth-captcha > .row,
body.wdes-page-pwreset .fx-auth-captcha > .text-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}

body.wdes-page-pwreset .fx-auth-captcha .form-group {
  margin: 0;
  float: none;
  width: auto;
  max-width: 100%;
}

body.wdes-page-pwreset .fx-auth-captcha .recaptcha-container,
body.wdes-page-pwreset .fx-auth-captcha #google-recaptcha-domainchecker {
  display: block;
  float: none;
  width: 304px;
  height: 78px;
  margin: 0 auto;
  padding: 0;
  transform: none;
  -webkit-transform: none;
}

body.wdes-page-pwreset .fx-auth-actions .fx-auth-primary {
  width: 100%;
}

body.wdes-page-pwreset .fx-pwreset-change-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.wdes-page-pwreset .fx-pwreset-change-actions .fx-auth-primary {
  flex: 1 1 160px;
}

body.wdes-page-pwreset .fx-pwreset-cancel {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fx-client-text);
  background: transparent;
  border: 1px solid var(--fx-client-border);
  border-radius: 8px;
}

body.wdes-page-pwreset .fx-pwreset-cancel:hover,
body.wdes-page-pwreset .fx-pwreset-cancel:focus {
  background: rgba(26, 35, 50, 0.05);
  color: var(--fx-client-text);
}

body.wdes-page-pwreset .fx-pwreset-cancel:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fx-client-focus);
}

html[data-foxnett-theme="dark"] body.wdes-page-pwreset .fx-pwreset-cancel:hover,
html[data-foxnett-theme="dark"] body.wdes-page-pwreset .fx-pwreset-cancel:focus {
  background: rgba(255, 255, 255, 0.06);
}

body.wdes-page-pwreset .fx-pwreset-strength .progress {
  height: 4px;
  margin: 0 0 8px;
  box-shadow: none;
  background: var(--fx-client-bg);
}

body.wdes-page-pwreset .fx-pwreset-strength .alert {
  margin: 8px 0 0;
  padding: 10px 12px;
  font-size: 13px;
}

body.wdes-page-pwreset #newPassword1.has-feedback .fx-auth-input,
body.wdes-page-pwreset #newPassword2.has-feedback .fx-auth-input {
  padding-right: 36px;
}

@media screen and (max-width: 1439.8px) {
  body.wdes-page-pwreset .fx-auth-shell {
    grid-template-columns: minmax(240px, 1fr) minmax(360px, 480px);
  }
}

@media screen and (max-width: 1279.8px) {
  body.wdes-page-pwreset .fx-auth-shell {
    grid-template-columns: minmax(220px, 0.9fr) minmax(340px, 460px);
  }
}

@media screen and (max-width: 1023.8px) {
  body.wdes-page-pwreset .fx-auth-shell {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }
}

@media screen and (max-width: 991px) {
  body.wdes-page-pwreset .fx-auth-captcha #google-recaptcha-domainchecker {
    padding-left: 0;
    transform: none;
    -webkit-transform: none;
  }
}
