/* BCC Developer Auth — compact, square, accessible authentication controls. */
#account .bcc-auth-secondary{margin-top:15px}
#account .bcc-auth-secondary p{margin:11px 0 0;font-size:13px}
#account button.bcc-auth-link{
  appearance:none;-webkit-appearance:none;display:inline;padding:0;border:0;
  border-radius:0;background:transparent;box-shadow:none;color:#237eb7;
  font:inherit;font-weight:600;line-height:1.45;text-decoration:underline;
  text-underline-offset:3px;cursor:pointer;text-align:left
}
#account button.bcc-auth-link:hover{color:#165c8e}
#account button.bcc-auth-link:focus-visible{outline:2px solid #237eb7;outline-offset:3px}
#account .bcc-auth-main-button{width:100%;margin-top:8px}
#account .bcc-auth-two-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}
#account .bcc-auth-two-buttons button{width:100%;min-width:0;min-height:44px}
#account .bcc-auth-otp-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
#account input.bcc-auth-otp-input{
  width:170px;max-width:calc(100vw - 175px);height:44px;border:1px solid #cfdae2;
  border-radius:0;background:#fff;padding:9px 12px;color:#163f53;
  font:600 16px/1.2 'Acumin Pro',Arial,sans-serif;letter-spacing:.12em
}
#account .bcc-auth-otp-row .btn{height:44px;min-width:88px;margin:0}
#account #bcc-wa-signin-code-form[hidden],
#account #bcc-password-otp-form[hidden],
#account #bcc-wa-fallback[hidden]{display:none!important}
#account .bcc-auth-status{font-size:13px;line-height:1.5;margin:12px 0}
#account #bcc-wa-fallback{margin-top:12px;padding-top:12px;border-top:1px solid #dce6ed}
#account #bcc-wa-fallback p{margin:0 0 5px;font-size:13px}
#account .bcc-auth-back{margin-top:17px}
@media(max-width:360px){#account input.bcc-auth-otp-input{width:150px;max-width:calc(100vw - 160px)}}

/* BCC Developer Light Patch — 2026-11-10, approved authentication buttons. */
#account .bcc-auth-signin-options{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px
}
#account .bcc-auth-register-action{margin-top:22px}
#account .bcc-auth-signin-options .btn,
#account .bcc-auth-create-button{width:100%;min-width:0;min-height:50px}
#account .bcc-auth-create-button{margin:0}
#account button.bcc-auth-wa-button,
#account button.bcc-auth-email-button,
#account button.bcc-auth-back-button{
  border-radius:0;box-shadow:none;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;text-align:center!important;
  font-weight:600;line-height:1.15!important;white-space:nowrap
}
#account button.bcc-auth-wa-button{
  background:#e3f4e9;border:1px solid #9bcfae;color:#287947
}
#account button.bcc-auth-wa-button:not(:disabled):hover{background:#d7efe0;border-color:#7fbe99}
#account button.bcc-auth-wa-button::before{
  content:"";display:inline-block;flex:0 0 21px;width:21px;height:21px;margin-right:7px;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23287947' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.6a8.5 8.5 0 0 1-8.7 8.6 8.5 8.5 0 0 1-3.6-.8L3 21l1.6-4.5a8.6 8.6 0 1 1 15.9-4.9Z'/%3E%3C/svg%3E") center/contain no-repeat
}
#account button.bcc-auth-email-button{
  background:#fff;border:1px solid #cbd6dd;color:#247eb4
}
#account button.bcc-auth-email-button:not(:disabled):hover{background:#f5f8fa}
#account #password-send-link.bcc-auth-email-button{color:#202a30}
#account #password-send-link.bcc-auth-email-button.is-active{border-color:#8f9da7}
#account button.bcc-auth-back-button{
  width:auto;min-width:96px;min-height:44px;background:#fff;
  border:1px solid #cbd6dd;color:#202a30;margin:0
}
#account .bcc-auth-back-row{display:flex;justify-content:flex-start;margin-top:16px}
#account #bcc-wa-fallback{margin-top:14px;padding-top:14px;border-top:1px solid #dce6ed}
#account #bcc-wa-fallback p{margin:0 0 12px;font-size:13px}
#account #bcc-wa-fallback .bcc-auth-fallback-choice{
  width:50%;min-width:0;min-height:44px;margin:0;padding-left:8px!important;padding-right:8px!important
}
#account .bcc-auth-two-buttons .bcc-auth-email-button{background:#fff}
#account .bcc-auth-two-buttons .bcc-auth-wa-button{min-width:0}
#account input.bcc-auth-otp-input{
  height:48px;box-sizing:border-box;padding:3px 12px 0!important;
  line-height:normal;letter-spacing:normal;font-weight:500
}
#account .bcc-auth-otp-row .btn{height:48px;min-height:48px}
@media(max-width:390px){
  #account .bcc-auth-signin-options .btn{font-size:13px;padding-left:8px!important;padding-right:8px!important}
  #account .bcc-auth-two-buttons .btn{font-size:13px;padding-left:6px!important;padding-right:6px!important}
  #account button.bcc-auth-wa-button::before{flex-basis:19px;width:19px;height:19px;margin-right:5px}
  #account #bcc-wa-fallback .bcc-auth-fallback-choice{font-size:13px}
}

/* Auth button alignment follow-up: primary actions 50px; auxiliary Back 44px. */
#account .bcc-auth-main-button,
#account .bcc-auth-signin-options .btn,
#account .bcc-auth-create-button,
#account .bcc-auth-two-buttons .btn,
#account #bcc-wa-signin-send,
#account #bcc-wa-fallback .bcc-auth-fallback-choice,
#account .account-password-actions .btn.primary{
  height:50px;min-height:50px
}
#account input.bcc-auth-otp-input,
#account .bcc-auth-otp-row .btn{height:50px;min-height:50px}
#account button.bcc-auth-wa-button::before{
  /* The speech-bubble tail makes the glyph appear lower than its flex center. */
  transform:translateY(-2px)
}
#account .bcc-auth-primary-action{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:50px;min-height:50px;
  /* Match Member sign in: its main button uses an 8px top margin. */
  margin:8px 0 0
}
#account .bcc-auth-primary-action + .account-error:empty,
#account #register-status:empty,
#account #link-result:empty,
#account #bcc-wa-signin-status:empty{
  display:none!important
}
#account button.bcc-auth-back-button{
  width:auto;min-width:0;height:44px;min-height:44px;
  padding-left:18px!important;padding-right:18px!important
}
#account .bcc-auth-password-title-row,
#account .bcc-auth-page-title-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:0 0 20px;min-width:0
}
#account .bcc-auth-password-title-row h2,
#account .bcc-auth-page-title-row h2{
  flex:1 1 auto;min-width:0;margin:0!important;
  line-height:1.15!important;white-space:normal
}
#account button.bcc-auth-password-back,
#account .bcc-auth-page-title-row button.bcc-auth-back-button{
  flex:0 0 auto;width:auto;min-width:0;
  font-size:14px!important
}

/* Developer Light Patch: only the reward notification View uses this compact sizing.
   The View rewards button beside Send gift retains the existing profile action style. */
.u6-reward-notice > button.u6-notice-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto;
  box-sizing:border-box;
  width:auto;
  min-width:76px;
  height:44px;
  min-height:44px;
  /* Acumin Pro optical center: shift text 2px down, keep the 44px box unchanged. */
  padding:4px 18px 0!important;
  font-size:13px!important;
  font-weight:600;
  font-family:var(--app-font,'Acumin Pro',Arial,sans-serif)!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  text-align:center;
  border-radius:0
}

/* Applies to My rewards and its QR/detail view, not unrelated dialogs. */
#dlg-body .u6-reward-head > button[data-close]{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto;
  box-sizing:border-box;
  width:auto;
  min-width:0;
  height:44px;
  min-height:44px;
  /* Same optical centering as notification View; the border stays in place. */
  padding:4px 18px 0!important;
  font-size:14px!important;
  font-weight:600!important;
  font-family:var(--app-font,'Acumin Pro',Arial,sans-serif)!important;
  line-height:1.15!important;
  white-space:nowrap;
  text-align:center;
  background:#fff;
  color:#202a30;
  border:1px solid #cbd6dd;
  border-radius:0
}
