body.auth-shell {
    --auth-accent: var(--app-primary, #1a468f);
    --auth-accent-contrast: var(--app-primary-contrast, #ffffff);
    --auth-accent-strong: var(--app-primary-hover, #12366f);
    --auth-accent-soft: var(--app-primary-soft, #eaf2ff);
    --auth-border: var(--app-border, #d8e2f0);
    --auth-danger: var(--app-danger, #b42318);
    --auth-danger-soft: var(--app-danger-soft, #fff0ee);
    --auth-focus: var(--app-focus, #397ccb);
    --auth-input: var(--app-input, #ffffff);
    --auth-input-muted: var(--app-input-muted, #f0f4f8);
    --auth-muted: var(--app-text-muted, #607089);
    --auth-shadow-lg: var(--app-shadow-lg, 0 24px 65px rgba(15, 30, 50, .22));
    --auth-success: var(--app-success, #167249);
    --auth-success-soft: var(--app-success-soft, #e8f7ef);
    --auth-surface: var(--app-surface, #ffffff);
    --auth-text: var(--app-text, #17243a);
    --auth-text-disabled: var(--app-text-disabled, #b4c1d2);
    --auth-text-secondary: var(--app-text-secondary, #253650);
    background-color: var(--app-canvas, #77a2d2);
    background-image: var(--background-login-claro, url("../../backgrounds/orbital-v2/desktop-light.png"));
    background-position: center;
    background-size: cover;
    color: var(--auth-text);
    display: block;
    font-family: "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
}

body.auth-shell.theme-dark {
    --auth-accent: var(--app-primary, #2baae2);
    --auth-accent-contrast: var(--app-primary-contrast, #071827);
    --auth-accent-strong: var(--app-primary-hover, #2295c7);
    --auth-accent-soft: var(--app-primary-soft, rgba(43, 170, 226, .17));
    --auth-border: var(--app-border, rgba(91, 190, 232, .25));
    --auth-danger: var(--app-danger, #ff7b83);
    --auth-danger-soft: var(--app-danger-soft, #452a32);
    --auth-focus: var(--app-focus, #79d2f5);
    --auth-input: var(--app-input, #0b2032);
    --auth-input-muted: var(--app-input-muted, #0d263a);
    --auth-muted: var(--app-text-muted, #abc8d5);
    --auth-shadow-lg: var(--app-shadow-lg, 0 28px 75px rgba(2, 8, 20, .58));
    --auth-success: var(--app-success, #48b987);
    --auth-success-soft: var(--app-success-soft, #183f35);
    --auth-surface: var(--app-surface, #10273b);
    --auth-text: var(--app-text, #f4fafd);
    --auth-text-disabled: var(--app-text-disabled, #7fa0af);
    --auth-text-secondary: var(--app-text-secondary, #dceef6);
    background-color: var(--app-canvas, #071827);
    background-image: var(--background-login-oscuro, url("../../backgrounds/orbital-v2/desktop-dark.png"));
    color-scheme: dark;
}

@media (orientation: portrait) {
    body.auth-shell {
        background-image: var(--background-login-vertical-claro, var(--background-login-claro, url("../../backgrounds/orbital-v2/mobile-light.png")));
    }

    body.auth-shell.theme-dark {
        background-image: var(--background-login-vertical-oscuro, var(--background-login-oscuro, url("../../backgrounds/orbital-v2/mobile-dark.png")));
    }

}

@media (max-width: 1199px) and (orientation: landscape) {
    body.auth-shell {
        background-image: var(--background-login-dispositivo-horizontal-claro, var(--background-login-claro, url("../../backgrounds/orbital-v2/desktop-light.png")));
    }

    body.auth-shell.theme-dark {
        background-image: var(--background-login-dispositivo-horizontal-oscuro, var(--background-login-oscuro, url("../../backgrounds/orbital-v2/desktop-dark.png")));
    }

}

.auth-shell *,
.auth-shell *::before,
.auth-shell *::after {
    box-sizing: border-box;
}

.auth-shell__backdrop {
    background: rgba(43, 170, 226, .025);
    inset: 0;
    pointer-events: none;
    position: fixed;
}

.auth-shell__page {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    z-index: 1;
}

.auth-shell .shell-skip-link {
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    color: var(--auth-accent-strong);
    font-weight: 700;
    left: 16px;
    padding: 10px 16px;
    position: fixed;
    top: 0;
    transform: translateY(-120%);
    transition: transform .18s ease;
    z-index: 10000;
}

.auth-shell .shell-skip-link:focus {
    outline: 3px solid #9cc6ff;
    outline-offset: 2px;
    transform: translateY(0);
}

.auth-shell .auth-shell__content {
    display: block;
    min-height: 0 !important;
    padding: 0 !important;
}

.auth-shell .auth-shell__content-wrapper {
    align-items: center;
    background: transparent !important;
    display: flex;
    justify-content: center;
    margin-left: 0 !important;
    min-height: 0 !important;
    padding: 0;
}

.auth-shell__main {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
    padding: 40px 24px 28px;
    width: 100%;
}

.auth-shell .login-card-shell {
    align-content: initial;
    display: block;
    flex: none;
    justify-content: initial;
    max-width: 400px;
    width: 100%;
}

.auth-shell .login-form {
    backdrop-filter: blur(8px);
    background: rgba(241, 247, 255, .9);
    background: color-mix(in srgb, var(--auth-surface) 90%, transparent);
    border: 1px solid var(--auth-border);
    border-radius: 20px;
    box-shadow: var(--auth-shadow-lg);
    max-width: none;
    min-height: 0;
    min-width: 0;
    padding: 34px 36px 30px;
    width: 100%;
}

.auth-shell.theme-dark .login-form {
    background: rgba(16, 39, 59, .94);
    background: color-mix(in srgb, var(--auth-surface) 94%, transparent);
}

.auth-shell .login-form > .row {
    margin-left: 0;
    margin-right: 0;
}

.auth-shell .login-form > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.auth-shell .login-product-logo {
    height: auto;
    margin-bottom: 22px;
    max-width: 210px;
    width: min(58vw, 210px);
}

.auth-shell .login-form h1 {
    color: var(--auth-text);
    font-size: clamp(1.75rem, 4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
}

.auth-shell .login-subtitle {
    color: var(--auth-muted);
    display: block;
    font-size: .98rem;
    margin: 7px 0 25px;
}

.auth-shell .login-form > .row > .login-field-block {
    display: block;
    margin-bottom: 15px !important;
}

.auth-shell .login-form label.control-label {
    color: var(--auth-text-secondary);
    display: block;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 7px;
    text-align: left;
}

.auth-shell .login-form .input-group {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 0 !important;
    position: relative;
    width: 100%;
}

.auth-shell .login-form .login-field {
    border-radius: 11px;
    transition: box-shadow .18s ease;
}

.auth-shell .login-form .input-group-text {
    align-items: center;
    background: var(--auth-accent-soft) !important;
    border: 1px solid var(--auth-border);
    border-radius: 11px 0 0 11px;
    color: var(--auth-accent);
    display: inline-flex;
    flex: 0 0 46px;
    justify-content: center;
    min-height: 48px;
    padding: 0;
}

.auth-shell .login-form .form-control {
    background: var(--auth-input) !important;
    border: 1px solid var(--auth-border);
    border-left: 0;
    border-radius: 0 11px 11px 0;
    box-shadow: none;
    color: var(--auth-text);
    font-size: 1rem;
    min-height: 48px;
    padding: 10px 13px;
}

.auth-shell .login-form .form-control::placeholder {
    color: var(--auth-muted);
}

.auth-shell .login-form .form-control:-webkit-autofill,
.auth-shell .login-form .form-control:-webkit-autofill:hover,
.auth-shell .login-form .form-control:-webkit-autofill:focus,
.auth-shell .login-form .form-control:autofill {
    background: var(--auth-input) !important;
    box-shadow: 0 0 0 1000px var(--auth-input) inset !important;
    -webkit-box-shadow: 0 0 0 1000px var(--auth-input) inset !important;
    -webkit-text-fill-color: var(--auth-text) !important;
    caret-color: var(--auth-text);
    color: var(--auth-text) !important;
}

.auth-shell:not(.theme-dark) .login-form input.form-control:-webkit-autofill,
.auth-shell:not(.theme-dark) .login-form input.form-control:-webkit-autofill:hover,
.auth-shell:not(.theme-dark) .login-form input.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #17243a !important;
    caret-color: #17243a;
}

.auth-shell.theme-dark .login-form input.form-control:-webkit-autofill,
.auth-shell.theme-dark .login-form input.form-control:-webkit-autofill:hover,
.auth-shell.theme-dark .login-form input.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #0b2032 inset !important;
    -webkit-text-fill-color: #f4fafd !important;
    caret-color: #f4fafd;
}

.auth-shell .login-form #Psw {
    border-radius: 0;
}

.auth-shell .login-form .btn-outline-secondary {
    align-items: center;
    background: var(--auth-input) !important;
    border: 1px solid var(--auth-border);
    border-left: 0;
    border-radius: 0 11px 11px 0;
    color: var(--auth-accent);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 46px;
    justify-content: center;
    min-height: 48px;
    padding: 0;
}

.auth-shell .login-form .btn-outline-secondary:hover {
    background: var(--auth-input-muted) !important;
    color: var(--auth-accent-strong);
}

.auth-shell .login-form .input-group:focus-within .input-group-text,
.auth-shell .login-form .input-group:focus-within .form-control,
.auth-shell .login-form .input-group:focus-within .btn-outline-secondary {
    border-color: var(--auth-focus);
}

.auth-shell .login-form .login-field:focus-within {
    box-shadow: 0 0 0 2px var(--auth-focus);
}

.auth-shell .login-form .login-field .form-control:focus {
    box-shadow: none;
    outline: none;
}

.auth-shell .login-form .btn-outline-secondary:focus-visible,
.auth-shell .login-form .form-check-input:focus-visible,
.auth-shell .login-form #submitButton:focus-visible,
.auth-shell__footer a:focus-visible {
    outline: 3px solid var(--auth-focus);
    outline-offset: 2px;
}

.auth-shell .login-form .form-check {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    margin-top: 3px;
    min-height: 30px;
    padding-left: 0;
}

.auth-shell .login-form .form-check-label {
    align-items: center;
    color: var(--auth-text-secondary);
    cursor: pointer;
    display: inline-flex;
    font-size: .92rem;
    gap: 9px;
}

.auth-shell .login-form .form-check-input {
    accent-color: var(--auth-accent);
    float: none;
    height: 17px;
    margin: 0;
    position: static;
    width: 17px;
}

.auth-shell .login-form .login-secondary-link {
    font-size: .86rem;
}

.auth-shell .login-submit-row {
    margin-top: 15px !important;
}

.auth-shell .login-form #submitButton {
    align-items: center;
    background: var(--auth-accent) !important;
    border: 1px solid var(--auth-accent) !important;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(18, 54, 111, .24);
    color: var(--auth-accent-contrast) !important;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    transition: box-shadow .18s ease, transform .18s ease;
    width: 100%;
}

.auth-shell .login-form #submitButton:not(:disabled):hover {
    background: var(--auth-accent-strong) !important;
    border-color: var(--auth-accent-strong) !important;
    box-shadow: 0 10px 22px rgba(18, 54, 111, .3);
    transform: translateY(-1px);
}

.auth-shell .login-form #submitButton:disabled {
    background: var(--auth-text-disabled) !important;
    border-color: var(--auth-text-disabled) !important;
    box-shadow: none;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 1;
}

.auth-shell .login-form .alert,
.auth-shell .login-form .validation-summary-errors {
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .9rem;
    margin-bottom: 18px;
    padding: 11px 13px;
    text-align: center;
}

.auth-shell .login-form .validation-summary-errors ul {
    list-style-position: inside;
    margin: 0;
    padding: 0;
    text-align: center;
}

.auth-shell .login-form .validation-summary-errors li {
    margin: 0;
}

.auth-shell .login-form .alert-success {
    background: var(--auth-success-soft);
    border-color: var(--auth-success);
    color: var(--auth-success);
}

.auth-shell .login-form .alert-danger,
.auth-shell .login-form .validation-summary-errors {
    background: var(--auth-danger-soft);
    border-color: var(--auth-danger);
    color: var(--auth-danger);
}

.auth-shell .login-form .validation-summary-valid {
    display: none;
}

.auth-shell .login-help {
    align-items: center;
    backdrop-filter: blur(7px);
    background: rgba(239, 246, 255, .9);
    background: color-mix(in srgb, var(--auth-surface) 90%, transparent);
    border: 1px solid var(--auth-border);
    border-radius: 999px;
    color: var(--auth-accent-strong);
    display: flex;
    margin: 18px auto 0;
    max-width: 400px;
    padding: 9px 15px;
    width: 100%;
}

.auth-shell .login-help .col-md-12 {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0;
    position: relative;
}

.auth-shell .login-help i,
.auth-shell .login-help p {
    color: inherit;
}

.auth-shell .login-help p {
    display: block;
    font-size: .84rem;
    margin: 0;
    padding: 0 24px;
    text-align: center;
    width: 100%;
}

.auth-shell .login-help i {
    left: 0;
    position: absolute;
}

.auth-shell .auth-partner-logo {
    bottom: 82px;
    margin: 0;
    position: fixed;
    right: 26px;
    z-index: 2;
}

.auth-shell .auth-partner-logo img {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    padding: 0;
    width: 165px;
}

.auth-shell .auth-shell__footer {
    align-items: center;
    background: rgba(238, 246, 255, .94);
    background: color-mix(in srgb, var(--auth-surface) 94%, transparent);
    border-top: 1px solid var(--auth-border);
    color: var(--auth-text);
    display: flex;
    font-size: .78rem;
    gap: 18px;
    justify-content: space-between;
    margin: 0 !important;
    max-height: none;
    min-height: 58px;
    padding: 12px 24px;
    width: 100%;
}

.auth-shell__copyright {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.auth-shell .auth-shell__footer a {
    color: var(--auth-accent-strong);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(18, 54, 111, .42);
    text-underline-offset: 2px;
}

.auth-shell .auth-shell__version {
    color: var(--auth-text);
    float: none;
    flex: 0 0 auto;
    margin: 0;
}

.auth-shell .auth-shell__version span {
    color: var(--auth-muted);
    margin-right: 4px;
}

.auth-shell .texto-pequeno {
    display: none;
}

body.auth-shell.login-is-loading {
    overflow: hidden;
}

.auth-shell .login-loading-overlay {
    align-items: center;
    background: rgba(248, 251, 255, .88);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed;
    transition: opacity .18s ease, visibility .18s ease;
    visibility: hidden;
    z-index: 11000;
}

.auth-shell .login-loading-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.auth-shell .login-loading-card {
    align-items: center;
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 20px;
    box-shadow: var(--auth-shadow-lg);
    color: var(--auth-text);
    display: flex;
    flex-direction: column;
    max-width: 430px;
    padding: 30px 32px 27px;
    text-align: center;
    width: 100%;
}

.auth-shell .login-loading-ripple {
    height: 92px;
    margin-bottom: 6px;
    position: relative;
    width: 92px;
}

.auth-shell .login-loading-ripple span {
    animation: login-loading-ripple 1.1s cubic-bezier(0, .2, .8, 1) infinite;
    border: 3px solid #689cc5;
    border-radius: 50%;
    inset: 0;
    opacity: 1;
    position: absolute;
}

.auth-shell .login-loading-ripple span + span {
    animation-delay: -.55s;
    border-color: #93dbe9;
}

.auth-shell .login-loading-title,
.auth-shell .login-loading-message,
.auth-shell .login-loading-hint {
    margin-left: 0;
    margin-right: 0;
}

.auth-shell .login-loading-title {
    color: var(--auth-text);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-shell .login-loading-message {
    color: var(--auth-text-secondary);
    font-size: .96rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.auth-shell .login-loading-hint {
    color: var(--auth-muted);
    font-size: .84rem;
    font-weight: 600;
    margin-bottom: 0;
}

@keyframes login-loading-ripple {
    0% {
        opacity: 1;
        transform: scale(0);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@media (max-width: 720px) {
    .auth-shell__main {
        justify-content: flex-start;
        min-height: 0;
        padding: 24px 16px;
    }

    .auth-shell .login-form {
        border-radius: 17px;
        padding: 27px 22px 24px;
    }

    .auth-shell .login-product-logo {
        margin-bottom: 17px;
        max-width: 175px;
    }

    .auth-shell .login-help {
        border-radius: 14px;
        padding: 10px 12px;
    }

    .auth-shell .auth-partner-logo {
        display: none;
    }

    .auth-shell .auth-shell__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding: 12px 16px;
    }

    .auth-shell .texto-grande {
        display: none;
    }

    .auth-shell .texto-pequeno {
        display: inline;
    }
}

@media (max-width: 380px) {
    .auth-shell__main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .auth-shell .login-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-shell .login-loading-card {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-shell *,
    .auth-shell *::before,
    .auth-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .auth-shell .login-loading-ripple span {
        animation: none;
        opacity: .45;
        transform: scale(.9);
    }

    .auth-shell .login-loading-ripple span + span {
        opacity: 1;
        transform: scale(.45);
    }
}
