.xl-footertext,
.xl-ie11supportending,
.xl-linklist-secondary .xl-linklist--link,
.xl-text {
    color: #404756;
}

.xl-body {
    background: #fff;
}

.xl-bodywrapper {
    flex-grow: 1;
}

/* Default (banner hidden): preserve the original master layout — content pushed down 12vh.
   Push lives on the content wrapper so it matches master's .xl-bodywrapper padding-top. */
.xl-bodywrapper > .xui-margin-horizontal-auto {
    padding-top: 12vh;
}

/* Banner shown: pull the content up so the banner sits near the top and the logo follows
   close beneath it. Gated on .xl-has-preview-banner so banner-off layout is unchanged. */
.xl-bodywrapper.xl-has-preview-banner > .xui-margin-horizontal-auto {
    padding-top: 32px;
}
.xl-footerwrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.xl-pagewrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    text-align: center;
}

.xl-banner {
    margin: 0 auto;
    width: 90%;
    max-width: 600px;
}

.xl-preview-banner {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 40px);
    max-width: 520px;
    min-height: 48px;
    margin: 24px auto 0;
    padding: 10px 12px 10px 20px;
    background: #FFFFFF;
    border: 1px solid #CCCED2;
    border-radius: 12px;
}

.xl-preview-banner--icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.xl-preview-banner--icon img {
    display: block;
    width: 27px;
    height: 24px;
}

.xl-preview-banner--text {
    flex: 1 1 auto;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000A1E;
    text-align: left;
}

.xl-preview-banner--button {
    flex: 0 0 auto;
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 6px 16px;
    background: #FFFFFF;
    border: 1px solid #CCCED2;
    border-radius: 14px;
    color: #0078C8;
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.xl-preview-banner--button:hover {
    background: #F2F3F4;
}

.xl-preview-banner--button:active {
    background: #E6E7E9;
}

.xl-preview-banner--button:focus-visible {
    outline: 1px solid transparent;
    box-shadow: 0 0 0 1px #FFFFFF, 0 0 0 4px rgba(0, 10, 30, .5);
}

.xl-preview-banner--link {
    text-decoration: none;
    align-self: flex-start;
}

.xl-text-left {
    text-align: left;
}

.xl-validation{
    font-size: .8125rem;
}

.xl-validation > ul {
    font-size: .8125rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xl-mainwrapper{
    background-color: #fff;
    border-radius: 3px;
    margin: 0 auto;
    padding: 30px;
    width: 100%;
    max-width: 460px;
}

.xl-less-padding {
    padding: 20px; /* xl-mainwrapper has 30px of padding. */
}

.xl-nav__username {
    font-weight: bold;
    margin-right: .25rem;
}


.xl-application-access {
    border-top: solid 1px #eeeeee;
}

.xl-nav {
    border-bottom: solid 1px #eeeeee;
    text-align: right;
    position: relative;
    width: 100%;
    z-index: 2;
}

.consent-description {
    margin-left: 20px;
}

.xl-list {
    padding-left: 0;
    list-style: none;
}


.xl-border-top {
    border-top: solid 1px #eee;
}


.panel-default {
    text-align: left;
}

.xl-text{
    margin: 0 0 25px;
}

.xl-footertext{
    margin: 0;
    width: 100%;
}

.xl-linklist{
    list-style: none;
    padding: 0;
    margin: 25px auto;
}

.xl-linklist-secondary{
    margin-top: 0;
    margin-bottom: 0;
}

.xl-linklist--item{
    font-size: .8125rem;
    display: inline-block;
    margin: 5px;
}

.xl-linklist--link{
    padding: 5px;
}

.xl-linklist--link:focus,
.xl-linklist--link:hover{
    outline: 0;
    text-decoration: underline;
}

.xl-logo{
    display: block;
    margin-left: auto;
    margin-right: auto;
    outline: 0;
    width: 60px;
    height: 60px;
}

.xl-logo--svg{
    width: 100%;
    height: 100%;
}

.xl-label{
    display: inline-block;
}

.xl-browser-warning {
    border-radius: 3px;
    background-color: #EBEDEF;
}

.xl-google-button {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0;
}

.xl-or-separator-wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.xl-or-separator-line {
    background: currentColor;
    height: 1px;
    flex: 1 0 auto;
}

.xl-ie11supportending {
    outline: none;
    text-align: left;
    background: #F2F3F4;
    border-radius: 3px;
}

.xl-ie11supportending:hover > .xl-ie11supportending--linktext,
.xl-ie11supportending:focus > .xl-ie11supportending--linktext {
    text-decoration: underline;
}

.xl-ie11supportending--linktext {
    color: #0078C8;
    font-weight: bold;
    padding-left: 5px;
    white-space: nowrap;
}


.xl-consentwrapper {
    padding-top: 10vh;
}

.xl-nowrap{
    overflow-wrap: break-word;
}

.xl-user-account-image{
    background: url("../Image/user-account.svg") no-repeat;
    height: 56px;
}

.xl-organisation-image{
    background: url("../Image/organisation-data.svg") no-repeat;
    height: 56px;
}

.xl-consent-terms{
    font-size: .7rem;
}

.xl-ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Prevent zoom issues on webkit devices */
@supports (-webkit-overflow-scrolling:touch) {
    .xui-textinput {
        font-size: 16px;
    }
}

@media screen and (max-width:520px) {
    .xl-bodywrapper > .xui-margin-horizontal-auto {
        padding-top: 5vh;
    }

    .xl-footerwrapper {
        position: relative;
    }
}

.xl-bodywrapper-popup > .xui-margin-horizontal-auto {
    padding-top: 0;
}

.xui-contentblockitem:hover {
    background-color: #f5f6f7;
    cursor: pointer;
}

.xl-login-hint-message {
    font-weight: bold;
    font-size: 15px;
}

.xui-verticaltextinputgroup .xui-textinput:last-of-type:first-of-type {
    border-radius: 3px;
}

.xl-form-password {
    border-radius: 0 0 3px 3px; margin-top: -1px;
}

.xl-form-username {
    border-radius: 3px 3px 0 0;
}

.xl-input-action {
    position: absolute;
    top: 0;
    right: 0;
}

.xl-content {
    max-width: 340px;
    min-width: 300px;
}

.consent-terms {
    font-size: 11px;
}

.xl-font-size-large {
    font-size: 17px;
    line-height: 24px;
}

.xl-font-size-small {
    font-size: 13px;
    line-height: 20px;
}

.xl-row-flex {
    display: flex;
}

.xl-consent-icon {
    width: 46px;
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 12px;
    display: flex;
    max-height: 60px;
}

.xl-consent-copy {
    margin-left: 4px;
    padding: 0 8px;
}

.xl-consent-copy ul {
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.xl-consent-hyphenation {
    hyphens: auto;
}

.xl-disconnect-sso-stepper-steps-wrapper {
    width: 250px;
    height: 450px;
}

.xl-disconnect-sso-stepper-content-wrapper {
    width: 700px;
}

/* Loader styles replicating XUI loader from version 21, as versions above 21 do not work properly in html */
/* See this thread for more info: https://xero.slack.com/archives/C565NP1A5/p1753756270374489 */
/* The code is based on this .scss file: https://github.com/xero-internal/xui/blob/8615e14989f944da993f8d6e524dc0975897a3dd/src/sass/7-components/_loaders.scss */

.xl-loader {
    align-items: center;
    color: rgba(0, 10, 30, 0.65);
    display: flex;
    justify-content: center;
}

.xl-loader-medium .xl-loader--dot {
    height: 12px;
    margin-right: 3px;
    width: 12px;
}

.xl-loader--dot {
    animation: xl-loader-animation 1.3s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
    animation-fill-mode: both;
    background-color: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 1px currentColor;
    display: inline-block;
    transform-style: preserve-3d;
    vertical-align: middle;
}

.xl-loader--dot:nth-child(1) {
    animation-delay: -0.32s;
}

.xl-loader--dot:nth-child(2) {
    animation-delay: -0.16s;
}

.xl-loader--dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes xl-loader-animation {
     0%, 80%, 100% {
         transform: scale(0.5) rotate(0deg);
     }
     40% {
         transform: scale(1) rotate(0.02deg);
     }
 }

/* Loader styles end*/
