#loginMask.auth-page {
    box-sizing: border-box;
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 48px 20px;
    background: #fff url('images/bg_7186.png') center bottom no-repeat;
    background-size: 100% auto;
    background-size: max(100%, 1040px) auto;
    color: #263342;
    font: 16px/1.5 Arial, Helvetica, sans-serif;
}
#loginMask.auth-page *, #loginMask.auth-page *:before, #loginMask.auth-page *:after { box-sizing: border-box; }
#loginMask.auth-page .auth-shell { width: 100%; max-width: 520px; margin: 0 auto; }
#loginMask.auth-page .auth-card {
    padding: 36px 40px;
    border: 1px solid #e0e5ea;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(24, 40, 58, .07);
}
#loginMask.auth-page .auth-brand { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }

#loginMask.auth-page #logo {
    position: static !important;
    width: 100% !important;
    max-width: 306px;
    height: 72px;
    flex: 1 1 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}
#loginMask.auth-page #logo_did { position: static !important; width: auto; height: auto; max-width: 68px; max-height: 64px; flex: 0 0 auto; object-fit: contain; }
#loginMask.auth-page h1 { margin: 0 0 8px; color: #182432; font: bold 28px/1.25 Arial, Helvetica, sans-serif; overflow-wrap: anywhere; }
#loginMask.auth-page .auth-context { margin: 0 0 28px; color: #667383; font-size: 14px; overflow-wrap: anywhere; }
#loginMask.auth-page form { margin: 0; }
#loginMask.auth-page .auth-field { margin: 0 0 20px; }
#loginMask.auth-page label { position: static !important; display: block; float: none !important; width: auto !important; height: auto; margin: 0 0 7px; padding: 0; color: #344353; font: bold 14px/1.5 Arial, Helvetica, sans-serif; }
#loginMask.auth-page input:not([type=hidden]):not([type=submit]), #loginMask.auth-page select {
    position: static !important;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 11px 13px;
    border: 1px solid #bcc7d1;
    border-radius: 8px;
    background: #fff;
    color: #263342 !important;
    font: 16px/1.5 Arial, Helvetica, sans-serif;
}
#loginMask.auth-page input[readonly] { background: #f3f5f7; }
#loginMask.auth-page input:focus, #loginMask.auth-page select:focus, #loginMask.auth-page a:focus-visible {
    outline: 3px solid #628aa9;
    outline-offset: 3px;
}
#loginMask.auth-page input[type=submit], #loginMask.auth-page .auth-primary {
    position: static !important;
    display: block;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 12px 16px;
    border: 1px solid #263e55;
    border-radius: 8px;
    background: #263e55;
    color: #fff !important;
    font: bold 16px/1.5 Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
#loginMask.auth-page input[type=submit]:hover { filter: brightness(.92); }
#loginMask.auth-page input:disabled { cursor: not-allowed; opacity: .55; }
#loginMask.auth-page a { color: #315c7d; text-underline-offset: 3px; }
#loginMask.auth-page .auth-links { margin: 20px 0 0; text-align: center; font-size: 14px; }
#loginMask.auth-page .auth-links a { display: inline-block; padding: 8px 0; }
#loginMask.auth-page #lostpass_lbl.field_input_disbled { display: none; }
#loginMask.auth-page .auth-client { padding: 11px 13px; background: #f3f5f7; border-radius: 8px; overflow-wrap: anywhere; }
#loginMask.auth-page .auth-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 20px 8px; color: #71808e; font-size: 12px; }
#loginMask.auth-page #license, #loginMask.auth-page #version { position: static !important; font-size: 12px; overflow-wrap: anywhere; }
#loginMask.auth-page #motd, #loginMask.auth-page #sandboxDiv { width: 100%; margin: 0; }
#loginMask.auth-page .auth-notice, #loginMask.auth-page .ui-state-error, #loginMask.auth-page .ui-state-highlight, #loginMask.auth-page .ui-state-focus, #loginMask.auth-page .ui-state-default {
    padding: 14px !important;
    margin-bottom: 20px;
    border: 1px solid #d6e1ea;
    border-radius: 8px;
    background: #f2f6fa;
    color: #263342;
    font: 14px/1.6 Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
}
#loginMask.auth-page .auth-error, #loginMask.auth-page .ui-state-error { border-color: #edc3bf; background: #fff3f1; color: #8f2923; }
#loginMask.auth-page .auth-notice p, #loginMask.auth-page .ui-widget p { margin: 0 0 8px; }
#loginMask.auth-page .auth-notice p:last-child, #loginMask.auth-page .ui-widget p:last-child { margin-bottom: 0; }
#loginMask.auth-page .auth-policy { margin: 0 0 20px; color: #526273; font-size: 14px; overflow-wrap: anywhere; }
#loginMask.auth-page #TFA_TOKEN { margin-top: 12px; text-align: center; letter-spacing: .2em; }
@media (max-width: 540px) {
    #loginMask.auth-page { padding: 20px 12px; }
    #loginMask.auth-page .auth-card { padding: 26px 22px; border-radius: 14px; }
    #loginMask.auth-page .auth-brand { gap: 16px; margin-bottom: 24px; }
    #loginMask.auth-page #logo { height: 60px; }
    #loginMask.auth-page #logo_did { max-width: 48px; max-height: 48px; }
    #loginMask.auth-page h1 { font-size: 25px; }
}
