body.bg-member-login-page .content{padding:28px 20px 36px;min-height:0}
.bg-member-login-page .entry{max-width:480px;margin:auto}
.bg-member-login-page .entry>h1{font-size:28px;margin:0 0 18px}
.bg-member-login-card{padding:26px 30px;border:1px solid #dce5eb;border-radius:8px;background:#fff;box-shadow:0 10px 32px #173e5408}
.bg-member-login-card p{font-size:14px;line-height:1.7;margin:0 0 16px;color:#536977}
.bg-member-login-card .bg-member-eyebrow{font-size:12px;letter-spacing:2px;color:#1584b1}
.bg-member-login-card label{display:block;font-size:14px;font-weight:600;margin:16px 0}
body.bg-member-login-page .content .bg-member-login-card input:not([type=checkbox]):not([type=hidden]){box-sizing:border-box;width:100%;display:block;height:44px;padding:10px 12px;margin:7px 0 0;background:#fff;border:1px solid #cbd7df;border-radius:4px;box-shadow:none;font:inherit}
body.bg-member-login-page .content .bg-member-login-card input:focus{outline:2px solid #1584b133;outline-offset:1px;border-color:#1584b1}
.bg-member-login-card .bg-member-remember{display:flex;align-items:center;gap:8px;font-weight:400}
.bg-member-remember input{width:16px;height:16px;margin:0}
.bg-member-login-card .button{width:100%;box-sizing:border-box;text-align:center;padding:12px 20px}
.bg-member-login-links{display:flex;justify-content:space-between;gap:12px;margin:18px 0;font-size:14px}
.bg-member-login-card .bg-member-login-footer{border-top:1px solid #e0e8ee;padding-top:16px;margin:0;font-size:13px}
.bg-member-login-card .bg-member-login-alert{padding:12px;background:#fff2ef;color:#963723}
@media(max-width:600px){.bg-member-login-card{padding:22px}.bg-member-login-page .entry>h1{font-size:25px}body.bg-member-login-page .content .bg-member-login-card input{font-size:16px!important}}

/* Password and SMS share one measured card width and the same field sizes. */
body.bg-member-login-page .entry{max-width:460px}
.bg-member-login-card{padding:26px 30px 22px}
.bgl-tabs{display:flex;border-bottom:1px solid #dce5eb;margin:20px 0 18px;gap:24px}
.bgl-tabs button{flex:1;background:transparent;border:0;border-bottom:3px solid transparent;padding:10px 0;color:#71828e;font-size:17px;cursor:pointer}
.bgl-tabs button[aria-selected=true]{border-bottom-color:#1285b4;color:#173e54;font-weight:600}
.bg-member-login-card form[hidden]{display:none!important}
.bg-member-login-card .button{border-radius:24px;min-height:46px}
.bg-member-login-card label{font-weight:400;margin:12px 0 6px}
.bg-member-login-card .bgl-tip,.bg-member-login-card #bgl-status{font-size:12px;line-height:1.65;color:#7a8a95;margin:10px 0 14px}
.bgl-graphic-row,.bgl-code-row{display:flex;align-items:center;gap:8px}
body.bg-member-login-page .content .bg-member-login-card :is(.bgl-graphic-row,.bgl-code-row) input{flex:1;width:0;min-width:50px;margin:0}
.bgl-graphic-row img{display:block;width:125px;height:44px;border:1px solid #d6e3ec;border-radius:4px;cursor:pointer}
.bgl-graphic-row button{padding:4px;border:0;background:transparent;color:#1285b4;white-space:nowrap;font-size:12px;cursor:pointer}
.bgl-code-row button{height:44px;flex:none;width:112px;border:0;border-radius:4px;background:#1285b4;color:white;font-size:12px;cursor:pointer}
.bg-member-login-card button:disabled{opacity:.5;cursor:not-allowed}
.bg-member-login-card button:focus-visible{outline:2px solid #1285b4;outline-offset:3px}
@media(max-width:480px){.bg-member-login-card{padding:22px 18px}.bgl-tabs{gap:16px}.bgl-graphic-row img{width:112px}.bgl-code-row button{width:104px}}

.bg-member-login-card .bgl-graphic-row img{box-sizing:border-box}

body.bg-member-login-page .content .bg-member-login-card form>.button{border-radius:24px!important}
.bgl-graphic-row img[hidden]{display:none}

/* A clear completion page after member logout; ordinary sign-in keeps its layout. */
body.bg-member-logout-page .content{padding:48px 20px 60px;background:linear-gradient(180deg,#f3f8fa 0%,#fff 100%)}
body.bg-member-logout-page .entry{max-width:680px;margin:auto}
.bg-member-logout-page .entry>h1{display:none}
.bg-member-logout-card{padding:40px 44px 30px;text-align:center;background:#fff;border:1px solid #dbe6ec;border-radius:16px;box-shadow:0 16px 48px #163b5010}
.bg-member-logout-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 22px;color:#26715b;background:#e9f5ef;border:1px solid #d1e8dd;border-radius:50%}
.bg-member-logout-icon svg{display:block;width:36px;height:36px}
.bg-member-logout-card .bg-member-logout-eyebrow{margin:0 0 12px;color:#457187;font-size:12px;letter-spacing:2px}
.bg-member-logout-card h1{margin:0 0 18px;font-size:32px;line-height:1.35;color:#183d50;letter-spacing:.5px}
.bg-member-logout-card .bg-member-logout-intro{margin:0;color:#5b6f7c;font-size:16px;line-height:1.9}
.bg-member-logout-services{margin:28px 0;padding:20px 24px;border-radius:10px;background:#f2f7f9;text-align:left}
.bg-member-logout-services h2{font-size:17px;line-height:1.5;margin:0 0 8px;color:#294f62}
.bg-member-logout-services p{margin:0;font-size:15px;line-height:1.85;color:#526c7b}
.bg-member-logout-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bg-member-logout-actions .button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:12px 20px;border:1px solid #1486b1;border-radius:7px;background:#1486b1;color:#fff;font-size:16px;font-weight:600;text-decoration:none}
.bg-member-logout-actions .button.secondary{background:#fff;border-color:#c6d6df;color:#244f65}
.bg-member-logout-actions .button:hover{background:#116d91;border-color:#116d91;color:#fff}
.bg-member-logout-actions .button.secondary:hover{background:#eef6fa;color:#244f65;border-color:#8eafc1}
.bg-member-logout-card a:focus-visible{outline:3px solid #1486b180;outline-offset:4px}
.bg-member-logout-card .bg-member-logout-explore{margin:24px 0 0;padding-top:22px;border-top:1px solid #e5edf1;color:#73838e;font-size:13px;line-height:1.8}
.bg-member-logout-explore a{display:inline-block;margin-left:8px;color:#176785;text-decoration:none;white-space:nowrap}
@media(max-width:600px){body.bg-member-logout-page .content{padding:28px 16px 36px}.bg-member-logout-card{padding:30px 22px 24px;border-radius:12px}.bg-member-logout-card h1{font-size:27px}.bg-member-logout-services{padding:16px;margin:24px 0}.bg-member-logout-actions{grid-template-columns:1fr;gap:10px}.bg-member-logout-card .bg-member-logout-explore{font-size:13px}.bg-member-logout-explore a{display:block;margin:6px 0 0}}
