/* =========================================================
   XP PASSWORD / ACCOUNT RECOVERY
   Light backend visual theme
   ========================================================= */

/* ---------------------------------------------------------
   LAYOUT
   --------------------------------------------------------- */

html body .xp-auth-screen .xp-auth-screen__container {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;

    min-height: 100vh !important;

    padding-top: 72px !important;
    padding-bottom: 48px !important;
}

html body .xp-auth-screen .xp-auth-screen__panel {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
}

html body .xp-auth-screen .xp-auth-screen__card {
    width: 100% !important;

    padding: 27px !important;

    color: #19212a !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 1px solid #d9e0e6 !important;
    border-radius: 6px !important;

    box-shadow: 0 8px 24px rgba(25, 33, 42, .07) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html body .xp-auth-screen .xp-auth-screen__card::before {
    display: none !important;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

html body .xp-auth-screen .xp-get-access__head {
    max-width: none !important;
    margin-bottom: 19px !important;
}

html body .xp-auth-screen .xp-login-card__eyebrow {
    margin: 0 0 6px !important;

    color: #168bd2 !important;
    -webkit-text-fill-color: #168bd2 !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;

    letter-spacing: .09em !important;
    text-transform: uppercase !important;
}

html body .xp-auth-screen .xp-get-access__title {
    margin: 0 0 8px !important;

    color: #19212a !important;
    -webkit-text-fill-color: #19212a !important;

    font-size: 25px !important;
    line-height: 1.15 !important;
    font-weight: 650 !important;

    letter-spacing: -.02em !important;
}

html body .xp-auth-screen .xp-get-access__text {
    max-width: none !important;
    margin: 0 !important;

    color: #64717c !important;
    -webkit-text-fill-color: #64717c !important;

    font-size: 12px !important;
    line-height: 1.55 !important;
}


/* ---------------------------------------------------------
   PASSWORD FORM
   --------------------------------------------------------- */

html body .xp-auth-screen .xp-password-form {
    display: flex !important;
    flex-direction: column !important;

    gap: 14px !important;

    margin-top: 8px !important;
}

html body .xp-auth-screen .xp-password-form .xp-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

html body .xp-auth-screen .xp-password-form .xp-field label {
    margin: 0 !important;

    color: #303b45 !important;
    -webkit-text-fill-color: #303b45 !important;

    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

html body .xp-auth-screen .xp-password-form .xp-field input {
    width: 100% !important;
    min-height: 46px !important;

    padding: 0 13px !important;

    color: #19212a !important;
    -webkit-text-fill-color: #19212a !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 1px solid #ccd5dd !important;
    border-radius: 4px !important;

    outline: none !important;
    box-shadow: none !important;

    font-size: 13px !important;

    transition:
        border-color .16s ease,
        box-shadow .16s ease !important;
}

html body .xp-auth-screen .xp-password-form .xp-field input:hover {
    border-color: #aebbc5 !important;
}

html body .xp-auth-screen .xp-password-form .xp-field input:focus {
    border-color: #168bd2 !important;
    box-shadow: 0 0 0 3px rgba(22, 139, 210, .12) !important;
}


/* ---------------------------------------------------------
   ACTION
   --------------------------------------------------------- */

html body .xp-auth-screen .xp-password-form__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;

    margin-top: 8px !important;
}

html body .xp-auth-screen .xp-password-form__actions .xp-button {
    min-height: 42px !important;

    padding: 0 18px !important;

    border-radius: 4px !important;

    font-size: 12px !important;
    font-weight: 650 !important;

    box-shadow: none !important;
}


/* Main submit button */
html body .xp-auth-screen
.xp-password-form
.xp-password-form__actions
.xp-button--primary {
    width: 100% !important;
    justify-content: center !important;
}


/* ---------------------------------------------------------
   META / FOOTER
   --------------------------------------------------------- */

html body .xp-auth-screen .xp-password-form__meta {
    margin: 0 !important;

    color: #7a8793 !important;
    -webkit-text-fill-color: #7a8793 !important;

    font-size: 11px !important;
    line-height: 1.5 !important;
}

html body .xp-auth-screen .xp-password-form__footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;

    margin-top: 17px !important;

    color: #7a8793 !important;

    font-size: 11px !important;
}

html body .xp-auth-screen .xp-password-form__footer a {
    color: #168bd2 !important;
    -webkit-text-fill-color: #168bd2 !important;

    text-decoration: none !important;
}

html body .xp-auth-screen .xp-password-form__footer a:hover {
    color: #1179b9 !important;
    -webkit-text-fill-color: #1179b9 !important;
}


/* ---------------------------------------------------------
   ALERTS
   --------------------------------------------------------- */

html body .xp-auth-screen .xp-login-card__alert {
    margin-bottom: 18px !important;

    padding: 12px 14px !important;

    color: #9f2f2f !important;

    background: #fff5f5 !important;

    border: 1px solid #f0cccc !important;
    border-radius: 4px !important;

    font-size: 11px !important;
}

html body .xp-auth-screen .xp-get-access__success {
    margin-bottom: 18px !important;

    padding: 12px 14px !important;

    color: #276044 !important;

    background: #f1faf5 !important;

    border: 1px solid #cce6d7 !important;
    border-radius: 4px !important;

    font-size: 11px !important;
}


/* ---------------------------------------------------------
   REMOVE DUPLICATE TOP "BACK TO SIGN IN"
   Footer already contains the login return link.
   --------------------------------------------------------- */

html body .xp-auth-screen .xp-get-access__topbar {
    display: none !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    html body .xp-auth-screen .xp-auth-screen__container {
        padding: 28px 16px !important;
    }

    html body .xp-auth-screen .xp-auth-screen__card {
        padding: 22px !important;
    }

    html body .xp-auth-screen .xp-get-access__title {
        font-size: 23px !important;
    }

    html body .xp-auth-screen .xp-password-form__actions {
        width: 100% !important;
    }

    html body .xp-auth-screen .xp-password-form__actions .xp-button {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* =========================================================
   XP AUTH PRIMARY BUTTON — NEUTRAL BACKEND THEME
   ========================================================= */

html body .xp-auth-screen
.xp-password-form__actions
.xp-button--primary {
    background: #202a34 !important;
    background-image: none !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border: 1px solid #202a34 !important;

    box-shadow: none !important;
    text-shadow: none !important;
}

html body .xp-auth-screen
.xp-password-form__actions
.xp-button--primary:hover {
    background: #303b45 !important;
    background-image: none !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border-color: #303b45 !important;

    box-shadow: none !important;
    transform: none !important;
}

html body .xp-auth-screen
.xp-password-form__actions
.xp-button--primary:focus,
html body .xp-auth-screen
.xp-password-form__actions
.xp-button--primary:focus-visible {
    background: #202a34 !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border-color: #202a34 !important;

    box-shadow: 0 0 0 3px rgba(32, 42, 52, .12) !important;
    outline: none !important;
}
