.credential-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    color: #003359;
    background: #f2f7fa;
}
.credential-page > .portal-public-header,
.credential-page > .portal-public-footer { flex: 0 0 auto; }
.credential-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    min-height: 60svh;
    padding: clamp(2rem, 6vh, 4rem) 1rem;
    padding-block: clamp(2rem, 6svh, 4rem);
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 73%), url('https://www.bcbspma.com/portalvirtual/assets/img/bcbs-img/50c6479c-8eb1-41cb-9ced-f1c3c4974e6f.png');
    background-size: cover;
    width: 100%;
    background-repeat: no-repeat;
}
.credential-flow {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #fff;
    border: 1px solid #d7e2e9;
    border-radius: 18px;
    box-shadow: 0 12px 36px #00335912;
    overflow-wrap: anywhere;

}
.credential-flow--recovery { max-width: 560px; }
.credential-flow h1 { color: #006a91; font-size: clamp(1.4rem, 4vw, 1.8rem); margin-bottom: 1.5rem; }
.credential-flow h2 { font-size: 1.2rem; color: #003359; }
.credential-flow .card { box-shadow: none !important; border-radius: 0 !important; }
.credential-flow .card-body { padding: 0 !important; }
.credential-flow .form-label { color: #003359; font-weight: 600; }
.credential-flow .form-control, .credential-flow .form-select { min-height: 44px; border-color: #aebfcc; color: #172e40; }
.credential-flow .form-control[readonly] { background-color: #f2f7fa; }
.credential-flow .form-text { color: #576071; }
.credential-flow .form-control:focus, .credential-flow .form-select:focus { border-color: #006a91; box-shadow: 0 0 0 .2rem #0099cc30; }
.credential-flow .btn { min-height: 44px; white-space: normal; margin: 0; }
.credential-flow .btn-info { background: #006f95; border-color: #006f95; color: #fff; }
.credential-flow .btn-info:hover, .credential-flow .btn-info:active { background: #005172; border-color: #005172; color: #fff; }
.credential-flow .btn-secondary { background: #edf4f8; border-color: #859faf; color: #003359; }
.credential-flow .btn-secondary:hover, .credential-flow .btn-secondary:active { background: #dbeaf2; border-color: #003359; color: #003359; }
.credential-flow :is(button, a, input, select):focus-visible { outline: 3px solid #006a91; outline-offset: 3px; }
.credential-flow .btn:disabled { opacity: .65; cursor: not-allowed; }
.credential-flow .input-validation-error { border-color: #aa272f; }
.credential-flow .alert { color: #003359; line-height: 1.6; }
.credential-flow [hidden] { display: none !important; }
.credential-flow .credential-steps { display: flex; gap: .75rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.credential-steps li { flex: 1; padding: .65rem; border-bottom: 3px solid #d7e2e9; color: #576071; }
.credential-steps [aria-current="step"] { color: #003359; border-color: #007da6; font-weight: 700; }
.credential-flow .credential-summary { padding: 1rem; background: #f2f7fa; border-radius: 10px; margin-bottom: 1.25rem; }
.credential-summary p:last-child { margin: 0; }
.credential-flow .form-check { padding-left: 1.8rem; }
.credential-flow .form-check-input { width: 1.2rem; height: 1.2rem; margin-left: -1.8rem; }
.credential-flow .form-check-label { line-height: 1.6; }
.credential-flow .credential-home { display: inline-block; color: #006a91; margin-top: 1.5rem; }
@media (max-width: 575.98px) {
    .credential-flow .credential-actions { flex-direction: column; }
    .credential-flow .credential-actions .btn { width: 100%; }
    .credential-steps li { font-size: .875rem; }
}
