/* AB#48745: self-hosted Rydoo brand typefaces (Poppins for headings, Inter for body copy) under
   wwwroot/fonts, served same-origin so the strict "default-src 'self'" CSP in
   SecurityHeadersAttribute doesn't need a font-src/style-src exception for a third-party CDN.
   AB#49569: Poppins/Inter were a temporary stand-in for the actual brand typefaces (Denim INK /
   Onsite Standard) until licensed font files were available; see the Denim INK / Onsite Standard
   @font-face rules below, which now replace them on the rebranded split-panel pages. Poppins and
   Inter stay defined and are kept as fallbacks in the font stacks below. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/poppins-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/poppins-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/poppins-700.ttf') format('truetype');
}

/* AB#49569: licensed brand typefaces (Displaay Type Foundry) - Denim INK for headings, Onsite
   Standard for body copy, labels and buttons - self-hosted under wwwroot/fonts for the same CSP
   reason as Poppins/Inter above. Only the weights actually used on the rebranded pages are
   included. */
@font-face {
    font-family: 'Denim INK';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/denim-ink-500.woff2') format('woff2'),
         url('/fonts/denim-ink-500.woff') format('woff');
}

@font-face {
    font-family: 'Denim INK';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/denim-ink-700.woff2') format('woff2'),
         url('/fonts/denim-ink-700.woff') format('woff');
}

@font-face {
    font-family: 'Onsite Standard';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/onsite-standard-400.woff2') format('woff2'),
         url('/fonts/onsite-standard-400.woff') format('woff');
}

@font-face {
    font-family: 'Onsite Standard';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/onsite-standard-500.woff2') format('woff2'),
         url('/fonts/onsite-standard-500.woff') format('woff');
}

@font-face {
    font-family: 'Onsite Standard';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/onsite-standard-700.woff2') format('woff2'),
         url('/fonts/onsite-standard-700.woff') format('woff');
}

@font-face {
    font-family: 'Onsite SemiMono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/onsite-semimono-700.woff2') format('woff2'),
         url('/fonts/onsite-semimono-700.woff') format('woff');
}

html, body, article {
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F7F7F7;
}

* {
    box-sizing: border-box;
}

a, .btn-link {
    color: #006bb7;
}

.body-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #80bdff;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #F7F7F7;
    flex-direction: column;
    text-align: center;
}

.body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #F7F7F7;
    flex-direction: column;
    text-align: center;
}

.login {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 21.375rem;
}

.logo-container {
    margin-bottom: 1rem
}

#logo {
    width: 12.5rem;
    height: 3.57rem;
    margin: 1.063rem 1.875rem;
}

.input-container {
    display: block;
    position: relative;
    padding: 0;
    margin: 0.313rem 0 0;
}

.input-field {
    border-radius: 0;
    width: 100%;
    margin: 0;
    padding: 12px 5px 12px 35px;
    font-size: 14px;
    color: #160D3E;
    border: 1px solid #EFEFEF;
    box-shadow: 0 1px 2px 0 #ededed !important;
    height: auto;
}

.placeholder {
    color: #AAAAAA;
}

/*focus {*/
/*    box-shadow: 0 1px 2px 0 #BDEDFC !important;*/
/*}*/

.icons {
    position: absolute;
    top: 50%;
    margin: -5px 0 0;
    left: 16px;
    right: 14px;
    width: 10px;
    height: 10px;
}

.submitBtn {
    margin: 15px 0 17px;
    background-color: #FFFFFF;
    width: 100%;
    font-weight: 500;
    font-size: 15px;
    padding: 13px 8px;
    border-radius: 7px;
    box-shadow: 0 1px 4px 1px #dedada;
}

.provider-btn{
    background-color: #FFFFFF;
    width: 100%;
    font-weight: 500;
    font-size: 15px;
    padding: 13px 8px;
    border-radius: 7px;
    box-shadow: 0 1px 4px 1px #dedada;
}

/* AB#48745: branded variant of the external-provider button (e.g. "Semine AD"), matching the flat,
   bordered look of the rebranded inputs/primary button instead of the legacy shadowed card. */
.ap-provider-btn {
    background-color: #FFFFFF;
    color: #1A1A1A;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 15px;
    padding: 0 8px;
    border-radius: 7px;
    border: 1px solid #E0E0E0;
    box-shadow: none;
}

.ap-provider-btn:hover {
    background-color: #F5F3FC;
    border-color: #6C3FC5;
}

#resetButton {
    margin-top: 0;
}

.formLink, a.formLink:not([href]) {
    color: #4B4B4B;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.ad-login {
    width: 100%;
    text-align: center;
    line-height: 0.1em;
    margin: 0.625rem 0 1.25rem;
    color: #495057;
    background: #F7F7F7;
    padding: 0;
}

button {
    margin-top: 1.375rem;
}

.icon-microsoft {
    background: url("img/microsoft.svg") no-repeat;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
    margin: 0 10px 0 0;
}

span:not(.icon-microsoft) {
    line-height: normal;
    vertical-align: middle;
}


.mainContentArea {
    width: 100%;
    height: calc(100% - 89px);
    padding: 8px;
}

.mainContentInner {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 7px 7px 0;
}

.displayFullBlock {
    width: 100%;
    height: 100%;
    display: inline-block;
}

.header {
    background-color: #F7F7F7;
    width: 100%;
    height: 89px;
    box-shadow: 0 3px 4px;
    overflow: hidden;
}

.alert {
    font-size: 0.813rem;
    padding-bottom: 0.5rem;
}

.alert ul {
    margin: 0;
    padding: 0;
}

.alert li {
    list-style: none;
    margin: 0 0 0.313rem;
}

.seperator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #ced4da;
    height: 0.125rem;
    align-items: center;
    margin: 2rem 0 0.938rem;
}

.seperator span {
    padding: 0 2.375rem;
    line-height: normal;
    background: #f7f7f7;
}

.validation-messages-section {
    margin: 25px 0 0 0;
}

.validation-messages-section ul {
    padding: 10px;
    list-style-position: inside;
    text-align: left;
}

.badge-container > a {
    height: 100%;
    width: auto;
    /*object-fit: scale-down;*/
    border: 0
}

.badge-container > a > img {
    height: 100%;
    width: auto;
    /*object-fit: scale-down;*/
    border: 0
}

.badge-container {
    margin-top: 20px;
    height: 50px;
    display: flex;
    justify-content: center;
    gap: 5px
}

.centered-form {
    max-width: 20rem;
    margin: 0 auto;
}

.providers-list {
    gap: 0.5rem;
    max-height: 40vh;
    overflow: auto;
}

/* Shared Rydoo AP split-panel layout. The right panel is supplied by
   _AccountsPayablePromoPanel.cshtml. */
.ap-login-split {
    display: flex;
    min-height: 100vh;
    /* AB#49569: brand body copy font (Onsite Standard); headings override to Denim INK below. */
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.ap-login-split-left {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    /* AB#49569: center the form container within the left panel instead of pinning it flush-left
       against the padding. */
    justify-content: center;
    background-color: #F4F4F4;
    padding: 3rem 4rem;
}

.ap-login-split-content {
    width: 100%;
    max-width: 26rem;
}

.ap-set-password-page .ap-login-split-content {
    max-width: 27.75rem;
}

.ap-set-password-page .ap-heading {
    margin-bottom: 32px;
}

.ap-password-set-page .ap-login-split-content {
    max-width: 27.75rem;
}

.ap-password-set-confirmation {
    text-align: left;
}

.ap-password-set-message {
    color: #010F04;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 32px;
    text-align: left;
}

.ap-mfa-verify-page .ap-login-split-content {
    max-width: 27.75rem;
}

.ap-mfa-verify .ap-heading {
    margin-bottom: 32px;
}

.ap-mfa-description {
    color: #010F04;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 32px;
    text-align: left;
}

.ap-mfa-resend-form {
    margin-top: 32px;
}

.ap-mfa-resend {
    background: none;
    border: none;
    color: #627064;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

.ap-mfa-resend:hover {
    color: #5B42BE;
}

.ap-rydoo-logo {
    display: block;
    width: 138px;
    height: 47px;
    /* AB#49569: the source SVG's intrinsic ratio (72x26 viewBox, ~2.77) doesn't match this box's
       ratio (~2.94); without object-fit the browser stretches both axes independently and
       distorts the mark, so scale it down to fit the box instead. */
    object-fit: contain;
    object-position: left center;
}

/* AB#49569: fixed-height slot for the optional "<" back button (see the "BackLink" section
   rendered by _AccountsPayableSplitLayout), so the logo-to-heading gap is always 96px whether or
   not a given page renders a back link into it. */
.ap-back-link-slot {
    height: 96px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 16px;
}

/* The legacy centered-form is reused for its field/spacing rules, but the rebranded layout is
   left-aligned rather than centered within its own column. */
.ap-login-split-content .centered-form {
    margin: 0;
    max-width: none;
}

/* AB#49569: the legacy .form-group's default bottom margin is replaced by the explicit 32px gap
   on .centered-form .ap-primary-btn below, so the field-to-button gap is consistent whether or
   not a page wraps its field/button in .form-group (Home/Forgot do, Login doesn't). */
.ap-login-split-content .form-group {
    margin-bottom: 0;
}

.ap-field-label {
    display: block;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #010F04;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 2px;
    text-align: left;
}

.ap-input {
    padding-left: 12px;
    border-color: #D9DBD9;
    border-radius: 4px;
    box-shadow: none !important;
}

.ap-input:focus {
    border-color: #D9DBD9;
    box-shadow: 0 0 0 3px #B9B4FF !important;
}

.centered-form .ap-primary-btn {
    margin-top: 32px;
}

/* AB#49569: on pages with more than one field (e.g. Login's username + password), space the
   field groups 32px apart instead of the legacy 0.313rem (~5px) gap. */
.ap-login-split-content .input-container + .input-container {
    margin-top: 32px;
}

/* AB#49569: widen the legacy .mt-3 (1rem) gap between the submit button and the "Forgot
   Password?" link to the spec'd 32px for the rebranded layout. Bootstrap's own .mt-3 utility
   sets margin-top with !important, so this override needs !important too or it has no effect. */
.ap-login-split-content .centered-form + .mt-3 {
    margin-top: 32px !important;
}

/* AB#48745: promo panel showing the "DitherWave" halftone animation (see
   _AccountsPayablePromoPanel.cshtml and wwwroot/js/dither-wave.js, sourced verbatim from the
   outrun-login-dither handover) behind a heading. The animated card sits inset from the panel's
   top/right/bottom edges (flush on the left, against the form panel) so the page background
   shows through as a margin around it, matching the reference design. */
.ap-promo-panel {
    flex: 1 1 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.ap-promo-panel-bg {
    position: absolute;
    inset: 1.5rem 1.5rem 1.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    background-color: #050311;
}


/* AB#49341 / AB#48745: bordered content card and primary button for rebranded pages (e.g.
   logout). The copy inside the card stays driven by the page's own (localized) view model, not
   hardcoded here. A negative horizontal margin equal to the padding keeps the card's inner text
   and button flush-left with the Rydoo logo and other unwrapped page content above it, so only
   the border/background appears "inset" rather than the copy itself. */
.ap-content-card {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1rem -1.5rem;
    background-color: #FFFFFF;
    text-align: left;
}

.ap-primary-btn {
    background-color: #7658EE;
    color: #FFFFFF;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Onsite SemiMono', 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0 8px;
    border-radius: 7px;
    border: none;
}

.ap-primary-btn:hover {
    background-color: #5B42BE;
    color: #FFFFFF;
}

/* AB#49340: back link, heading and description for the rebranded forgot-password page.
   AB#49569: no margin-bottom here - the 96px logo-to-heading gap (and the back link's own
   bottom-aligned position within it) is owned entirely by .ap-back-link-slot now, so this link
   doesn't push the heading further down than pages without a back link. */
.ap-back-link {
    display: inline-block;
    font-size: 1.25rem;
    text-decoration: none;
    color: #1A1A1A;
}

.ap-forgot-back-link {
    transform: translateY(-8px);
}

.ap-forgot-back-link .ap-back-link {
    color: #627064;
    text-decoration: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ap-forgot-back-link .ap-back-link:hover {
    color: #010F04;
    text-decoration: none;
}

/* AB#48745: checkbox + label row for the rebranded logout confirmation page. */
.ap-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 16px;
    color: #1A1A1A;
}

.ap-logout-form .ap-checkbox-row {
    width: 100%;
}

.ap-checkbox-row input[type="checkbox"] {
    appearance: none;
    width: 24px;
    height: 24px;
    margin: 0;
    transform: translateY(-4px);
    flex-shrink: 0;
    border: 1px solid #D9DBD9;
    border-radius: 4px;
    background-color: #FFFFFF;
    display: grid;
    place-content: center;
    cursor: pointer;
}

.ap-checkbox-row input[type="checkbox"]::after {
    content: "";
    width: 12px;
    height: 7px;
    border: solid #FFFFFF;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
}

.ap-checkbox-row input[type="checkbox"]:checked {
    border-color: #7658EE;
    background-color: #7658EE;
}

.ap-checkbox-row input[type="checkbox"]:not(:checked)::after {
    display: none;
}

.ap-checkbox-row input[type="checkbox"]:focus-visible {
    outline: 3px solid #B9B4FF;
    outline-offset: 2px;
}

.ap-logout-form .ap-checkbox-row label {
    line-height: 24px;
    white-space: normal;
}

/* AB#48745: muted, underlined "Forgot Password?" link on the branded login page, replacing the
   legacy blue link color/font so it matches the reference mockup's understated styling. */
.ap-forgot-link {
    color: #5A5A5A;
    font-size: 0.85rem;
    text-decoration: underline;
}

.ap-forgot-link:hover {
    color: #5B42BE;
}

.ap-heading {
    font-family: 'Denim INK', 'Poppins', 'Inter', sans-serif;
    color: #010F04;
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 4px;
    text-align: left;
}

.ap-description {
    font-family: 'Denim INK', 'Poppins', 'Inter', sans-serif;
    color: #627064;
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.ap-separator {
    color: #627064;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin: 0.938rem 0;
}

.ap-separator span {
    background-color: #F4F4F4;
    padding: 0 8px;
    text-transform: uppercase;
}

.ap-login-split-content .providers-list {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.ap-validation-message {
    margin-top: 8px;
    color: #D6252F;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
}

.ap-validation-message ul {
    margin: 0;
    padding: 0;
}

.ap-validation-message li {
    list-style: none;
}

.ap-set-password-requirements {
    color: #627064;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    margin: 32px 0 0;
    text-align: left;
}

.ap-set-password-requirements ul {
    margin: 0;
}

.ap-set-password-requirements ul {
    list-style: none;
    padding: 0;
}

.ap-set-password-field + .ap-set-password-field {
    margin-top: 32px;
}

.ap-field-validation {
    color: #D6252F;
    display: block;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
    text-align: left;
}

.ap-set-password-form .ap-primary-btn {
    margin-top: 32px;
}

.ap-error-page {
    text-align: left;
}

.ap-error-heading,
.ap-error-message,
.ap-error-support {
    margin: 0;
}

.ap-error-heading {
    color: #010F04;
    font-family: 'Denim INK', 'Poppins', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
}

.ap-error-message {
    color: #D6252F;
    font-family: 'Denim INK', 'Poppins', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    margin-top: 4px;
}

.ap-error-support {
    color: #010F04;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.ap-error-support {
    margin-top: 4px;
}

.ap-error-back-button {
    margin-top: 32px;
}

.ap-sent-page {
    text-align: left;
}

.ap-sent-message {
    color: #010F04;
    font-family: 'Onsite Standard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.ap-sent-message p {
    margin: 0;
}

.ap-sent-message .ap-sent-close {
    margin-top: 24px;
}

.ap-sent-back-button {
    margin-top: 24px;
}

@media (max-width: 768px) {
    .ap-login-split {
        flex-direction: column;
    }

    .ap-login-split-left {
        padding: 2rem;
    }

    .ap-promo-panel {
        display: none;
    }

}

@media (min-width: 1200px) {
    .ap-logout-form .ap-checkbox-row {
        width: max-content;
    }

    .ap-logout-form .ap-checkbox-row label {
        white-space: nowrap;
    }
}