/* SheriffHQ sign-in, sign-up, account-exists, link-sent and password pages: the browse pages' band (browse-auctions.css: .bap-band,
   .bap-breadcrumb) with its text centred, then one centred form card on a grey page. */

.bap.auth-page { background: #f3f5f9; }
.auth-band { text-align: center; }
.auth-band .bap-intro { margin: 0 auto; }

.auth-solo { max-width: 440px; margin: 0 auto; }
.auth-solo-body { display: flex; flex-direction: column; gap: 18px; padding: 30px 0 56px; }
@media (max-width: 879px) {
    .auth-solo-body { padding: 20px 0 40px; }
}

/* the form card */
.auth-card { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: #fff; border: 1px solid #e1e6ee; border-radius: 8px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.auth-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.auth-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.bap .auth-label { margin: 0; font-size: 13px; font-weight: 700; color: #222; }
.bap .auth-card-text { font-size: 14px; line-height: 1.55; color: #555; }
/* the reset-password link: small, under the password field, in the pages' link colour */
.bap a.auth-forgot { align-self: flex-end; font-size: 13px; font-weight: 400; }

.auth-card .form-control { height: 44px; padding: 0 12px; border: 1px solid #ccd3db; border-radius: 4px; font-size: 15px; color: #222; box-shadow: none; }
.auth-card .form-control::placeholder { color: #9aa3ad; }
.auth-card .form-control:focus { border-color: #2a6db0; box-shadow: 0 0 0 3px rgba(42, 109, 176, 0.15); }

.auth-pw { position: relative; }
.auth-pw .form-control { padding-right: 64px; }
.bap .auth-pw-toggle { position: absolute; top: 22px; right: 12px; transform: translateY(-50%); padding: 0; background: none; border: none; font-family: inherit; font-size: 13px; font-weight: 700; color: #2a6db0; cursor: pointer; }

.bap a.auth-google { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid #ccd3db; border-radius: 4px; font-size: 15px; font-weight: 700; color: #222; }
.bap a.auth-google:hover { background: #f7f9fc; border-color: #b7c1cd; color: #222; text-decoration: none; }
.auth-or { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #888; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: #e3e8ee; }
/* the divider before the password: the second way in, so it reads as a heading, not a footnote */
.auth-or-strong { margin-top: 6px; font-size: 14px; font-weight: 600; color: #444; }

.bap .auth-check { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 400; color: #444; cursor: pointer; }
.auth-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #1f4e8c; }
.bap .auth-check a { font-weight: 700; }

.bap .auth-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 18px; background: #e8961f; border: none; border-radius: 4px; font-family: inherit; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; }
.bap .auth-btn:hover, .bap .auth-btn:focus { background: #d4840f; color: #fff; }
.bap .auth-btn:disabled { opacity: 0.7; cursor: default; }
/* as a link, over browse-auctions.css's .bap a:not(.btn) link colour */
.bap a.auth-btn, .bap a.auth-btn:hover, .bap a.auth-btn:focus { color: #fff; text-decoration: none; }
.bap .auth-btn-ghost { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 18px; background: #fff; border: 1px solid #1f4e8c; border-radius: 4px; font-family: inherit; font-size: 16px; font-weight: 700; color: #1f4e8c; cursor: pointer; }
.bap .auth-btn-ghost:hover, .bap .auth-btn-ghost:focus { background: #eef3fb; color: #1f4e8c; }
.bap .auth-btn-ghost:disabled { background: #fff; opacity: 0.45; cursor: default; }
.bap .auth-note { margin: 0; font-size: 12px; line-height: 1.5; color: #777; text-align: center; }

.bap .auth-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 12px; color: #777; }
.bap .auth-alt { font-size: 15px; color: #555; text-align: center; }
.bap .auth-alt a, .bap a.auth-strong-link { font-weight: 700; }
.bap .auth-center { text-align: center; font-size: 15px; }

/* the link-sent page's "send it again" */
.bap .auth-sent-again { margin: 0; font-size: 14px; line-height: 1.55; color: #555; }
.bap .auth-link-btn { padding: 0; background: none; border: none; font-family: inherit; font-size: inherit; font-weight: 700; color: #2a6db0; cursor: pointer; }
.bap .auth-link-btn:hover { text-decoration: underline; }

.auth-card .help-block, .auth-card .field-validation-error { font-size: 13px; color: #c0392b; }
.auth-card .field-validation-valid { display: none; }
.auth-card .validation-summary-errors { padding: 10px 12px; background: #fdf2f0; border: 1px solid #f1c4bd; border-radius: 4px; font-size: 14px; color: #a3301f; }
.auth-card .validation-summary-errors ul { margin: 0; padding: 0; list-style: none; }
.auth-card .validation-summary-valid { display: none; }

/* the header's "Already a member?" and its button */
.header-auth-prompt { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 14px; color: #666; }
.header-auth-prompt .btn { padding: 6px 14px; background: #fff; border: 1px solid #1f4e8c; border-radius: 4px; font-size: 14px; font-weight: 700; color: #1f4e8c; }
.header-auth-prompt .btn:hover { background: #eef3fb; color: #1f4e8c; }
