/* Selfcare authentication follows the billing sign-in theme without changing customer pages. */
.sc-auth-page {
    --sc-auth-ink: #20242b;
    --sc-auth-muted: #64748b;
    --sc-auth-blue: #2563eb;
    --sc-auth-blue-hover: #1d4ed8;
    --sc-auth-heading: #1c2c46;
    --sc-auth-card-border: #dce5f2;
    margin: 0;
    background-color: #f7f9fc;
    background-image: url("login-contours.svg?v=1");
    background-repeat: repeat;
    background-size: 1200px 900px;
    color: var(--sc-auth-ink);
    font-family: "Segoe UI", Arial, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.sc-workspace.sc-auth-page .sc-main { width: 100%; max-width: none; margin: 0; padding: 0; }
.sc-workspace.sc-auth-page .sc-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 28px 20px;
}
.sc-auth-page .sc-auth-shell { width: 100%; max-width: 760px; margin: 0 auto; }
.sc-auth-page .sc-card.sc-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 400px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7ebf0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px #20242b0d, 0 2px 8px #20242b05;
}
.sc-auth-page .sc-auth-security {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 40px 26px;
    background: #1d2228;
    color: #f8fafc;
    text-align: center;
}
.sc-auth-page .sc-auth-security h2 { margin: 0 0 28px; color: inherit; font-size: 18px; font-weight: 600; letter-spacing: -.2px; line-height: 1.5; }
.sc-auth-page .sc-auth-security-mark { display: block; flex-shrink: 0; width: 128px; height: 128px; }
.sc-auth-page .sc-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 34px 42px;
    background: #fff;
}
.sc-auth-page .sc-auth-panel-inner { width: 100%; max-width: 350px; min-width: 0; }
.sc-auth-page .sc-auth-panel .sc-auth-logo { display: block; width: 148px; margin: 0 auto 24px; padding: 0; }
.sc-auth-page .sc-auth-panel .sc-auth-logo img { display: block; width: 100%; height: auto; max-height: none; }
.sc-auth-page .sc-auth-panel h1 { margin: 0 0 24px; color: var(--sc-auth-ink); font-size: 23px; font-weight: 600; letter-spacing: -.45px; line-height: 1.35; text-align: center; }
.sc-auth-page .sc-auth-card .sc-auth-form { display: grid; gap: 17px; margin: 0; }
.sc-auth-page .sc-auth-field { min-width: 0; }
.sc-auth-page .sc-auth-card .sc-auth-form label { display: block; margin: 0 0 7px; color: #3c4654; font-size: 12px; font-weight: 500; line-height: 18px; }
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-field input {
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dce2ea;
    border-radius: 7px;
    background: #fff;
    color: var(--sc-auth-ink);
    font-size: 14px;
    line-height: 22px;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-field input::placeholder { color: var(--sc-auth-muted); opacity: 1; }
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-field input:focus { outline: none; border-color: var(--sc-auth-blue); background: #fff; box-shadow: 0 0 0 3px #2563eb12; }
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-field input[aria-invalid="true"] { border-color: #cf777d; }
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #e5393512; }
.sc-auth-page .sc-auth-password-field { position: relative; }
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-password-field input { padding-right: 52px; }
.sc-auth-page .sc-auth-password-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 0 7px 7px 0;
    background: transparent;
    color: #64748b;
    box-shadow: none;
    cursor: pointer;
}
.sc-auth-page .sc-auth-password-toggle svg { display: block; width: 19px; height: 19px; }
.sc-auth-page .sc-auth-password-toggle:hover { background: #f1f5f9; color: #334155; }
.sc-auth-page .sc-auth-caps-lock { margin: 7px 0 0; color: #946000; font-size: 11px; line-height: 1.5; }
.sc-auth-page .sc-auth-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 96px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid var(--sc-auth-blue);
    border-radius: 7px;
    background: var(--sc-auth-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    box-shadow: none;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-submit:hover { border-color: var(--sc-auth-blue-hover); background: var(--sc-auth-blue-hover); box-shadow: none; }
.sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-submit:disabled { opacity: .8; cursor: wait; }
.sc-auth-page .sc-auth-submit-spinner { flex-shrink: 0; width: 15px; height: 15px; animation: sc-auth-spin .75s linear infinite; }
.sc-auth-page .sc-auth-error { margin: 0 0 18px; padding: 10px 12px; border: 1px solid #f0d0d2; border-radius: 7px; background: #fff5f5; color: #a52e39; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.sc-auth-page .sc-auth-error strong { display: block; font-size: 12px; font-weight: 600; }
.sc-auth-page .sc-auth-error p { margin: 3px 0 0; color: inherit; font-size: 11px; line-height: 1.6; }
.sc-auth-page [hidden] { display: none !important; }
.sc-auth-page :focus-visible { outline: 3px solid var(--sc-auth-blue); outline-offset: 3px; }
@keyframes sc-auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
    .sc-workspace.sc-auth-page .sc-main { padding: 24px 16px; }
    .sc-auth-page .sc-auth-shell { max-width: 420px; }
    .sc-auth-page .sc-card.sc-auth-card { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 18px; }
    .sc-auth-page .sc-auth-security { flex-direction: row; justify-content: space-between; gap: 20px; padding: 18px 26px; text-align: left; }
    .sc-auth-page .sc-auth-security h2 { margin: 0; font-size: 17px; }
    .sc-auth-page .sc-auth-security-mark { width: 56px; height: 56px; }
    .sc-auth-page .sc-auth-panel { padding: 28px 26px; }
    .sc-auth-page .sc-auth-panel .sc-auth-logo { width: 134px; margin-bottom: 22px; }
    .sc-auth-page .sc-auth-panel h1 { margin-bottom: 22px; font-size: 22px; }
    .sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-field input { font-size: 16px; }
}
@media (max-width: 350px) {
    .sc-auth-page .sc-auth-panel { padding-right: 20px; padding-left: 20px; }
    .sc-auth-page .sc-auth-security { padding-right: 20px; padding-left: 20px; }
    .sc-auth-page .sc-auth-panel h1 { font-size: 21px; }
}
@media (max-height: 600px) {
    .sc-workspace.sc-auth-page .sc-main { justify-content: flex-start; padding-top: 20px; padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .sc-auth-page .sc-auth-card .sc-auth-form .sc-auth-field input, .sc-auth-page .sc-auth-card .sc-auth-form button { transition: none; }
    .sc-auth-page .sc-auth-submit-spinner { animation: none; }
}

.sc-workspace.sc-auth-page { padding: 0; }
.sc-auth-page > .sc-header, .sc-auth-page .sc-top-navigation, .sc-auth-page .sc-bottom-nav, .sc-auth-page .sc-footer { display: none; }
.sc-auth-page .sc-shell { display: block; max-width: none; min-height: 100vh; min-height: 100svh; }
.sc-auth-page .sc-auth-panel .sc-auth-logo { display: block; }
.sc-auth-page .sc-auth-card .sc-auth-note { margin: -10px 0 22px; color: #526176; font-size: 12px; line-height: 1.65; }
.sc-auth-page .sc-auth-card .sc-auth-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 4px 0; color: var(--sc-auth-blue); font-size: 12px; line-height: 1.5; text-align: left; }
.sc-auth-page .sc-auth-link:hover { text-decoration: underline; }
.sc-auth-page .sc-auth-success { margin: 0 0 18px; padding: 10px 12px; border: 1px solid #cfe7d7; border-radius: 7px; background: #f2fbf5; color: #25653e; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.sc-auth-page .sc-auth-field + .sc-auth-caps-lock { margin-top: -10px; }

/* Selfcare sign-in, recovery and Quick Pay share the same brand surfaces. */
.sc-auth-page .sc-auth-branded .sc-auth-card,
.sc-auth-page .qp-card {
    border-color: var(--sc-auth-card-border);
    background: #fff;
    box-shadow: 0 18px 52px #1b355a1a, 0 2px 8px #1b355a08;
}
.sc-auth-page .sc-auth-branded .sc-auth-security,
.sc-auth-page .qp-hero {
    background: radial-gradient(ellipse at 0 0, #304c80, transparent 67%), #182844;
    color: #f8fafc;
}
.sc-auth-page .sc-auth-recovery-icon,
.sc-auth-page .qp-hero-icon {
    border: 1px solid #ffffff35;
    background: #ffffff16;
    color: #e5edfc;
}
.sc-auth-page .sc-auth-intro p,
.sc-auth-page .qp-hero p { color: #dbe7fc; }

.sc-auth-page .sc-auth-branded { max-width: 820px; }
.sc-auth-brand {
    display: block;
    width: fit-content;
    margin: 0 0 12px;
    padding-inline: 2px;
    border-radius: 8px;
}
.sc-auth-brand > img { display: block; width: 105px; height: auto; }
.sc-auth-recovery-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
}
.sc-auth-recovery-icon .ui-icon { width: 24px; height: 24px; }
.sc-login-qr {
    display: block;
    flex: none;
    width: 148px;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    background: #fff;
}
.sc-auth-page .sc-auth-branded .sc-auth-card {
    grid-template-columns: minmax(0, 295px) minmax(0, 1fr);
    min-height: 0;
}
.sc-auth-page .sc-auth-branded .sc-auth-security {
    align-items: center;
    gap: 20px;
    padding: 32px;
    text-align: center;
}
.sc-auth-page .sc-auth-branded .sc-auth-security h2 {
    margin: 0;
    font-size: clamp(1.16rem, 2.7vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
}
.sc-auth-intro p { margin: 8px 0 0; font-size: .88rem; line-height: 1.55; }
.sc-auth-page .sc-auth-branded .sc-auth-panel { padding: 32px clamp(22px, 4vw, 40px); }
.sc-auth-page .sc-auth-branded .sc-auth-panel-inner { max-width: none; }
.sc-auth-page .sc-auth-branded .sc-auth-panel h1 {
    margin: 0;
    color: var(--sc-auth-heading);
    font-size: clamp(1.42rem, 4vw, 1.72rem);
    font-weight: 700;
    text-align: left;
}
.sc-auth-description { margin: 4px 0 16px; color: #516280; font-size: .88rem; }
.sc-auth-page .sc-auth-branded .sc-auth-form { gap: 12px; }
.sc-auth-page .sc-auth-branded .sc-auth-form label { font-size: .84rem; font-weight: 650; }
.sc-auth-page .sc-auth-branded .sc-auth-form .sc-auth-field input { border-color: #cbd7eb; border-radius: 9px; }
.sc-auth-page .sc-auth-branded .sc-auth-form .sc-auth-field input:focus { border-color: var(--sc-auth-blue); }
.sc-auth-page .sc-auth-branded .sc-auth-form .sc-auth-field input[aria-invalid="true"] { border-color: #c96672; }
.sc-auth-page .sc-auth-branded .sc-auth-password-toggle { border-radius: 0 9px 9px 0; }
.sc-auth-page .sc-auth-branded .sc-auth-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; margin-top: -8px; }
.sc-auth-page .sc-auth-branded .sc-auth-actions .sc-auth-link {
    justify-self: end;
    font-size: .82rem;
    font-weight: 650;
}
.sc-auth-page .sc-auth-branded .sc-auth-form .sc-auth-submit {
    width: 100%;
    min-height: 46px;
    border-radius: 9px;
    font-size: .91rem;
    font-weight: 700;
}
.sc-auth-page .sc-auth-branded .sc-auth-panel .qp-login-entry {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    min-height: 58px;
    margin-top: 14px;
    padding: 9px 11px;
    border-radius: 10px;
}
.sc-login-pay-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e7efff;
}
.sc-auth-branded .sc-login-pay-icon .ui-icon { width: 18px; height: 18px; }
.sc-login-pay-copy { display: grid; gap: 2px; line-height: 1.25; }
.sc-login-pay-copy strong { color: #1c2c46; font-size: .9rem; }
.sc-login-pay-copy small { color: #516280; font-size: .75rem; font-weight: 500; }
.sc-auth-page .sc-auth-branded .sc-auth-error p { font-size: .8rem; }

@media (max-width: 680px) {
    .sc-auth-page .sc-auth-branded { max-width: 440px; }
    .sc-auth-page .sc-auth-branded .sc-auth-card { grid-template-columns: minmax(0, 1fr); }
    .sc-auth-page .sc-auth-branded .sc-auth-security {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        padding: 12px 20px;
        text-align: left;
    }
    .sc-login-qr { width: 74px; }
    .sc-auth-intro p { margin-top: 4px; font-size: .8rem; }
    .sc-auth-page .sc-auth-branded .sc-auth-panel { padding: 20px; }
}

@media (max-width: 385px) and (max-height: 640px) {
    .sc-workspace.sc-auth-page .sc-main:has(> .sc-auth-branded) { justify-content: flex-start; padding-block: 8px; }
    .sc-auth-brand { margin-bottom: 8px; }
    .sc-auth-brand > img { width: 92px; }
    .sc-auth-page .sc-auth-branded .sc-auth-security { gap: 12px; padding: 8px 16px; }
    .sc-auth-page .sc-auth-branded .sc-auth-panel { padding: 12px 16px; }
    .sc-auth-description { margin-bottom: 8px; }
    .sc-auth-page .sc-auth-branded .sc-auth-actions { gap: 0; }
    .sc-auth-page .sc-auth-branded .sc-auth-panel .qp-login-entry { margin-top: 12px; }
}
