.form-control {
    display: flex;
    width: 100%;
    height: 2.5rem;
    padding: 1.125rem 1rem;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.625rem;
    flex-grow: 1;
    flex-shrink: 1;
    flex-wrap: wrap;

    border: 1px solid #000000;
    color: #565a5c;
    background-color: #fff;
    background-image: none;

    outline: none;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.form-control:focus {
    border-color: #8dc7e9;
    outline: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 .5rem #8dc7e9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 .5rem #8dc7e9;
}

.error-input {
    border-color: #e55353;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 .5rem #e55353;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 .5rem #e55353;
}

:focus {
    outline: none;
}

.btn {
    text-transform: uppercase;
}

.btn {
    background-color: #231f20;
    color: #ffffff;
    padding: 0.75rem;
}

.btn:focus {
    color: #ffffff;
}

.login-btn {
    width: 100%;
}

.company-single-sign-on-btn {
    width: 100%;
    background-color: #e2e2e2;
    color: #000;
    border: 0;
}

label {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: inline-block;
    color: #000;
    font-family: Suisse Intl, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.375rem;
}

.background {
    background-image: url("https://www.ice.com/publicdocs/images/ICE-Login-01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-white,
.shadowpanel {
    background-color: #ffffff;
}

.return-to-login {
    font-size: 0.875rem;
    font-style: normal;
    line-height: normal;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    align-items: center;
    padding: 0.5rem;
    margin: 0.5rem;
    cursor: pointer;
}

.return-to-login .return-to-login-text {
    font-weight: 700;
}

.return-to-login .return-to-login-icon {
    font-weight: 900;
}


.login-change-password,
.login-forgot-password {
    color: #000000;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.375rem;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.pageLink,
.pageLink:hover {
    color: #000000;
}

.sso-container {
    margin: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.d-flex {
    display: flex;
}

.page-subfooter.inverse {
    position: sticky;
    bottom: 0;
    padding: 1rem;
    z-index: 0;
}

.footer-row li .copy-right {
    color: #000000;
    font-weight: 700;
    font-size: .8125rem;
}

/* Fix: Center SSO page panels — counteract float:left applied by [class*=true-grid-] in ice-core.css.
   .page is the common wrapper div used by all login/password/TFA/registration screens.
   Using display:flex + justify-content:center centers the inner panel horizontally.
   The child combinator (>) restricts the float override to the outermost panel container only —
   inner form-group elements that also carry true-grid-* classes (not direct children of .page)
   are unaffected, so existing form column widths and layouts remain intact. */
.page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.page>[class*="true-grid-"] {
    float: none;
}

/* HEADER Styles */

.sso-header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 0.0625rem solid #e0e0e0;
    padding: 1rem;
}

.sso-header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    gap: 2rem;
}

.sso-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sso-header-logo-ice {
    height: 2.5rem;
    width: auto;
}

.sso-header-logo-nyse {
    height: 2rem;
    width: auto;
    margin-left: 15px;
}

.sso-header-left a {
    display: flex;
    align-items: center;
    outline: none;
}

.sso-header-left a:focus-visible {
    outline: 0.125rem solid #000000;
    outline-offset: 0.25rem;
    border-radius: 0.25rem;
}

.sso-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sso-header-nav-btn {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
}

.header-bar-list>li {
    cursor: pointer;
}

/* Mobile Responsive Styles for Header */
@media screen and (max-width: 768px) {
    .sso-header {
        min-height: 80px;
    }

    .sso-header-content {
        justify-content: space-between;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .sso-header-left {
        gap: 1rem;
    }

    .sso-header-logo-ice,
    .sso-header-logo-nyse {
        height: 2.5rem;
    }

    .sso-header-right {
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .sso-header-nav-btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

}

/* FOOTER Styles */

.sso-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
}

.sso-footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 2rem;
}

.sso-footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.sso-footer-logo img {
    height: 80px;
    width: auto;
}

.sso-footer-logo a {
    display: inline-block;
    outline: none;
}

.sso-footer-logo a:focus-visible {
    outline: 0.125rem solid #ffffff;
    outline-offset: 0.25rem;
    border-radius: 0.25rem;
}

.sso-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
}

.sso-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sso-footer-links li {
    display: inline-flex;
    align-items: center;
}

.sso-footer-links li:not(:first-child)::before {
    content: '|';
    color: #ffffff;
    margin: 0 0.625rem;
    font-size: 0.875rem;
    speak: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sso-footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.25rem 0.125rem;
    transition: opacity 0.2s ease;
    outline: none;
    border-radius: 0.125rem;
}

.sso-footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.sso-footer-links a:focus {
    outline: 0.125rem solid #ffffff;
    outline-offset: 0.125rem;
}

.sso-footer-links a:focus:not(:focus-visible) {
    outline: none;
}

.sso-footer-links a:focus-visible {
    outline: 0.125rem solid #ffffff;
    outline-offset: 0.125rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.sso-footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    text-align: left;
    margin-top: 0.625rem;
}

.sso-footer-confidential,
.sso-footer-copyright {
    color: #ffffff;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.sso-footer-confidential {
    max-width: 50rem;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .sso-footer {
        padding: 1.5rem 0;
        min-height: auto;
    }

    .sso-footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .sso-footer-logo {
        justify-content: flex-start;
        width: 100%;
    }

    .sso-footer-logo img {
        height: 60px;
    }

    .sso-footer-right {
        width: 100%;
        align-items: flex-start;
    }

    .sso-footer-links {
        justify-content: flex-start;
    }

    .sso-footer-links a {
        font-size: 0.8125rem;
    }

    .sso-footer-legal {
        margin-top: 0.5rem;
    }

    .sso-footer-confidential,
    .sso-footer-copyright {
        font-size: 0.6875rem;
    }
}