:root {
    --sodo-ink: #14213d;
    --sodo-blue: #2868e8;
    --sodo-blue-dark: #1f55c2;
    --sodo-coral: #ff6257;
    --sodo-mint: #27c99a;
    --sodo-bg: #f5f8fc;
    --sodo-surface: #ffffff;
    --sodo-text: #172033;
    --sodo-muted: #69758b;
    --sodo-border: #d9e2ef;
    --sodo-danger: #c93838;
    --sodo-danger-bg: #fff1f1;
    --sodo-shadow: 0 18px 48px rgba(20, 33, 61, 0.10);
    --sodo-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--sodo-bg);
}

body.ncr-global-login-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background:
        linear-gradient(var(--sodo-border), var(--sodo-border)) 50% 92px / min(1160px, calc(100% - 48px)) 1px no-repeat,
        var(--sodo-bg);
    color: var(--sodo-text);
    font-family: var(--sodo-font);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

.ncr-global-skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--sodo-ink);
    color: #fff;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.ncr-global-skip:focus {
    transform: translateY(0);
}

.ncr-global-header {
    width: min(1160px, calc(100% - 48px));
    height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ncr-global-header a {
    display: inline-flex;
    align-items: center;
}

.ncr-global-header img {
    display: block;
    width: 154px;
    height: auto;
}

.ncr-global-header > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sodo-muted);
    font-size: 13px;
    font-weight: 600;
}

.ncr-global-header > span i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sodo-mint);
    box-shadow: 0 0 0 4px rgba(39, 201, 154, 0.12);
}

.ncr-global-main {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
    gap: 112px;
    padding: 72px 0 88px;
}

.ncr-global-intro {
    max-width: 570px;
}

.ncr-global-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--sodo-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ncr-global-eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--sodo-coral);
}

.ncr-global-intro h1 {
    max-width: 560px;
    margin: 0;
    color: var(--sodo-ink);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
}

.ncr-global-intro > p {
    max-width: 550px;
    margin: 24px 0 0;
    color: var(--sodo-muted);
    font-size: 18px;
    line-height: 1.7;
}

.ncr-global-assurances {
    display: grid;
    gap: 20px;
    margin-top: 38px;
}

.ncr-global-assurances > div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ncr-global-assurances i {
    width: 12px;
    height: 12px;
    margin-top: 5px;
    border: 3px solid var(--sodo-mint);
    border-radius: 50%;
    flex: 0 0 auto;
}

.ncr-global-assurances span {
    display: grid;
    gap: 3px;
}

.ncr-global-assurances strong {
    color: var(--sodo-ink);
    font-size: 14px;
    font-weight: 700;
}

.ncr-global-assurances small {
    color: var(--sodo-muted);
    font-size: 13px;
}

.ncr-global-card {
    width: 100%;
    padding: 38px;
    border: 1px solid var(--sodo-border);
    border-radius: 8px;
    background: var(--sodo-surface);
    box-shadow: var(--sodo-shadow);
}

.ncr-global-card-head {
    display: grid;
    gap: 6px;
    margin-bottom: 28px;
}

.ncr-global-card-head span {
    color: var(--sodo-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ncr-global-card-head h2 {
    margin: 0;
    color: var(--sodo-ink);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0;
}

.ncr-global-error {
    margin-bottom: 18px;
    padding: 11px 13px;
    border: 1px solid #f1caca;
    border-radius: 6px;
    background: var(--sodo-danger-bg);
    color: var(--sodo-danger);
    font-size: 13px;
}

.ncr-global-error:empty {
    display: none;
}

#ncr-global-login-form {
    display: grid;
    gap: 18px;
}

.ncr-global-field {
    display: grid;
    gap: 7px;
}

.ncr-global-field label {
    color: var(--sodo-text);
    font-size: 13px;
    font-weight: 600;
}

.ncr-global-field > input,
.ncr-global-company-input,
.ncr-global-password {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid var(--sodo-border);
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ncr-global-field > input {
    padding: 0 14px;
    color: var(--sodo-text);
}

.ncr-global-company-input,
.ncr-global-password {
    display: flex;
    align-items: center;
}

.ncr-global-company-input > span {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    padding-left: 14px;
    color: var(--sodo-blue);
    font-weight: 700;
}

.ncr-global-company-input input,
.ncr-global-password input {
    min-width: 0;
    height: 46px;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--sodo-text);
}

.ncr-global-company-input input {
    padding: 0 14px 0 6px;
}

.ncr-global-password input {
    padding: 0 8px 0 14px;
}

.ncr-global-password button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--sodo-muted);
    cursor: pointer;
}

.ncr-global-password button:hover {
    color: var(--sodo-blue);
}

.ncr-global-password svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ncr-global-password .is-eye-off,
.ncr-global-password button[aria-pressed="true"] .is-eye {
    display: none;
}

.ncr-global-password button[aria-pressed="true"] .is-eye-off {
    display: block;
}

.ncr-global-field > input:focus,
.ncr-global-company-input:focus-within,
.ncr-global-password:focus-within {
    border-color: var(--sodo-blue);
    box-shadow: 0 0 0 3px rgba(40, 104, 232, 0.12);
    outline: 0;
}

.ncr-global-field small {
    color: var(--sodo-muted);
    font-size: 12px;
}

.ncr-global-submit {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    background: var(--sodo-blue);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.ncr-global-submit:hover {
    background: var(--sodo-blue-dark);
}

.ncr-global-submit:active {
    transform: translateY(1px);
}

.ncr-global-submit:focus-visible,
.ncr-global-password button:focus-visible {
    outline: 3px solid rgba(40, 104, 232, 0.25);
    outline-offset: 2px;
}

.ncr-global-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.ncr-global-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ncr-global-submit.is-loading svg {
    display: none;
}

.ncr-global-submit.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ncr-global-spin 0.7s linear infinite;
}

.ncr-global-help {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--sodo-border);
    color: var(--sodo-muted);
    font-size: 12px;
    line-height: 1.55;
}

.ncr-global-footer {
    width: min(1160px, calc(100% - 48px));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--sodo-border);
    color: var(--sodo-muted);
    font-size: 12px;
}

@keyframes ncr-global-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .ncr-global-main {
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 48px;
    }

    .ncr-global-intro h1 {
        font-size: 42px;
    }
}

@media (max-width: 760px) {
    body.ncr-global-login-page {
        background:
            linear-gradient(var(--sodo-border), var(--sodo-border)) 50% 76px / calc(100% - 32px) 1px no-repeat,
            var(--sodo-bg);
    }

    .ncr-global-header,
    .ncr-global-main,
    .ncr-global-footer {
        width: calc(100% - 32px);
    }

    .ncr-global-header {
        height: 76px;
    }

    .ncr-global-header img {
        width: 130px;
    }

    .ncr-global-header > span {
        font-size: 11px;
    }

    .ncr-global-main {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 36px;
        padding: 48px 0 54px;
    }

    .ncr-global-intro h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .ncr-global-intro > p {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.65;
    }

    .ncr-global-assurances {
        display: none;
    }

    .ncr-global-card {
        padding: 26px 22px;
    }

    .ncr-global-card-head {
        margin-bottom: 24px;
    }

    .ncr-global-footer {
        min-height: 92px;
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
