:root {
    --fomplus-blue: #0b73bd;
    --fomplus-blue-dark: #075a94;
    --fomplus-blue-soft: #eaf5fc;
    --surface: #ffffff;
    --surface-alt: #f4f7fa;
    --border: #d7e0e8;
    --text: #17212b;
    --muted: #667789;
    --success: #1f8f55;
    --warning: #b86a00;
    --danger: #c13b32;
    --shadow: 0 10px 28px rgba(27, 53, 76, 0.09);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--surface-alt);
    color: var(--text);
}

body.theme-dark {
    --surface: #151b22;
    --surface-alt: #0f141a;
    --border: #303b47;
    --text: #e8eef4;
    --muted: #9dacbb;
    --fomplus-blue-soft: #153247;
    --shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

button,
input,
textarea {
    font-family: inherit;
}

.is-hidden {
    display: none !important;
}

.app-shell {
    min-height: 100vh;
}

.app-header {
    min-height: 72px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
    background:
        linear-gradient(110deg, var(--fomplus-blue-dark), var(--fomplus-blue));
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-brand-logo-shell {
    width: 112px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.62);
}

.app-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    font-size: 18px;
    font-weight: 600;
}

.brand-subtitle {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.header-state {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
}

.authenticated-user {
    min-width: 150px;
    padding-right: 14px;
    text-align: right;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.authenticated-user strong,
.authenticated-user span {
    display: block;
}

.authenticated-user strong {
    font-size: 12px;
}

.authenticated-user span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
}

.push-connection-status {
    max-width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Consolas, monospace;
}

.push-connected {
    color: #c8f5d8 !important;
}

.push-connecting {
    color: #fff0b8 !important;
}

.push-disconnected,
.push-error {
    color: #ffd1ce !important;
}

.environment-badge {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.main-nav {
    min-height: 54px;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 30;
}

.nav-spacer,
.action-spacer {
    flex: 1;
}

.page-content {
    width: min(1580px, calc(100% - 36px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.page-heading {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.page-heading h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
}

.page-heading p {
    margin: 5px 0 0;
    color: var(--muted);
}

.flow-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.flow-legend span {
    padding: 6px 9px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.flow-legend i {
    font-size: 18px;
    font-style: normal;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.panel + .panel {
    margin-top: 18px;
}

.panel-title {
    min-height: 74px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--border);
}

.panel-title.compact {
    min-height: 64px;
    padding: 13px 16px;
}

.panel-title h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.panel-title p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.step-number {
    color: var(--fomplus-blue);
    font-size: 30px;
    font-weight: 300;
    letter-spacing: -0.05em;
}

.upload-panel {
    padding-bottom: 18px;
}

.file-uploader-host {
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.native-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.upload-file-button {
    min-width: 170px;
    min-height: 40px;
    margin-top: 7px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--fomplus-blue);
    background: var(--fomplus-blue);
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    user-select: none;
    transition: background 150ms ease, border-color 150ms ease,
        box-shadow 150ms ease;
}

.upload-file-button:hover,
.upload-file-button:focus-visible {
    border-color: var(--fomplus-blue-dark);
    background: var(--fomplus-blue-dark);
    box-shadow: 0 0 0 4px rgba(11, 115, 189, 0.13);
    outline: none;
}

.document-drop-zone .upload-file-button,
.document-drop-zone .upload-file-button span {
    color: #fff;
}

.upload-file-button-icon {
    font-size: 18px;
    line-height: 1;
}

.document-drop-zone {
    min-height: 170px;
    margin: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 2px dashed #8ebddd;
    background: var(--fomplus-blue-soft);
    cursor: pointer;
    text-align: center;
    outline: none;
    transition: border-color 160ms ease, background 160ms ease,
        transform 160ms ease, box-shadow 160ms ease;
}

.document-drop-zone:hover,
.document-drop-zone:focus-visible,
.document-drop-zone.drop-zone-active {
    border-color: var(--fomplus-blue);
    background: #dff1fc;
    box-shadow: 0 0 0 4px rgba(11, 115, 189, 0.10);
}

.document-drop-zone.drop-zone-active {
    transform: translateY(-2px);
}

body.theme-dark .document-drop-zone:hover,
body.theme-dark .document-drop-zone:focus-visible,
body.theme-dark .document-drop-zone.drop-zone-active {
    background: #173d57;
}

.drop-zone-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--fomplus-blue);
    font-size: 30px;
    line-height: 1;
}

.document-drop-zone strong {
    font-size: 16px;
}

.document-drop-zone span {
    color: var(--muted);
    font-size: 13px;
}

.document-drop-zone small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.selected-file-info {
    margin: 0 18px 14px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
}

.file-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--fomplus-blue);
    font-size: 11px;
    font-weight: 700;
}

.file-copy {
    min-width: 0;
    flex: 1;
}

.file-copy strong,
.file-copy span {
    display: block;
}

.file-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-copy span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.sample-area {
    margin: 0 18px 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--border);
}

.sample-area strong,
.sample-area span {
    display: block;
}

.sample-area span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.sample-buttons {
    display: flex;
    gap: 8px;
}

.upload-actions {
    padding: 0 18px;
    display: flex;
    justify-content: flex-end;
}

.processing-panel {
    margin-top: 18px;
    padding-bottom: 20px;
    scroll-margin-top: 72px;
}

#analysisProgress {
    margin: 18px;
}

.processing-steps {
    padding: 0 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.processing-step {
    min-height: 82px;
    padding: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    opacity: 0.55;
    transition: opacity 180ms ease, border-color 180ms ease,
        transform 180ms ease;
}

.processing-step.active {
    opacity: 1;
    border-color: var(--fomplus-blue);
    transform: translateY(-2px);
}

.processing-step.complete {
    opacity: 1;
    border-color: #83c6a1;
}

.step-status {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #8794a1;
    font-size: 12px;
    font-weight: 700;
}

.processing-step.active .step-status {
    background: var(--fomplus-blue);
}

.processing-step.complete .step-status {
    background: var(--success);
}

.processing-step strong,
.processing-step small {
    display: block;
}

.processing-step small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.35;
}

.result-panel {
    margin-top: 22px;
}

.result-heading {
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
    background:
        linear-gradient(110deg, var(--fomplus-blue-dark), var(--fomplus-blue));
}

.result-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.78;
}

.result-heading h2 {
    margin: 3px 0 0;
    font-size: 22px;
}

.result-heading p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.analysis-state-badge {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 600;
}

.workspace-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(380px, 0.88fr) minmax(620px, 1.35fr);
    gap: 18px;
}

.preview-panel,
.form-panel {
    min-width: 0;
}

.preview-host {
    min-height: 645px;
    display: grid;
    place-items: center;
    overflow: auto;
    background:
        linear-gradient(45deg, #eef3f7 25%, transparent 25%),
        linear-gradient(-45deg, #eef3f7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eef3f7 75%),
        linear-gradient(-45deg, transparent 75%, #eef3f7 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

body.theme-dark .preview-host {
    background: #0d1217;
}

.preview-host img {
    max-width: 94%;
    max-height: 620px;
    margin: 18px;
    object-fit: contain;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.17);
}

.preview-host iframe {
    width: 100%;
    min-height: 645px;
    border: 0;
    background: #fff;
}

.preview-text {
    width: calc(100% - 30px);
    min-height: 560px;
    margin: 15px;
    padding: 18px;
    overflow: auto;
    color: #18212a;
    background: #fff;
    border: 1px solid #cfd9e2;
    font-family: Consolas, monospace;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
}

.office-placeholder {
    max-width: 350px;
    padding: 28px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
}

.office-placeholder .office-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--fomplus-blue);
    font-size: 18px;
    font-weight: 700;
}

.office-placeholder p {
    color: var(--muted);
    line-height: 1.5;
}

.file-technical-data {
    display: grid;
    grid-template-columns: 0.7fr 0.7fr 2fr;
    border-top: 1px solid var(--border);
}

.file-technical-data > div {
    min-width: 0;
    padding: 11px 13px;
    border-right: 1px solid var(--border);
}

.file-technical-data > div:last-child {
    border-right: 0;
}

.file-technical-data span,
.file-technical-data strong {
    display: block;
}

.file-technical-data span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.file-technical-data strong {
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--border);
    background: var(--surface-alt);
}

.summary-strip > div {
    padding: 12px;
    border-right: 1px solid var(--border);
}

.summary-strip > div:last-child {
    border-right: 0;
}

.summary-strip span,
.summary-strip strong {
    display: block;
}

.summary-strip span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.summary-strip strong {
    margin-top: 5px;
    font-size: 15px;
}

#warningHost {
    padding: 0 16px;
}

.validation-message {
    margin-top: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border-left: 4px solid var(--warning);
    background: #fff5e8;
    color: #69400c;
    font-size: 12px;
    line-height: 1.4;
}

body.theme-dark .validation-message {
    background: #3a2c18;
    color: #f5d9ad;
}

.validation-message::before {
    content: "!";
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--warning);
    font-size: 11px;
    font-weight: 700;
}

#documentForm {
    padding: 14px 16px 18px;
}

.extracted-panel {
    margin-top: 18px;
}

#extractedFieldsGrid,
#historyGrid {
    min-height: 320px;
}

.confidence-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.confidence-bar {
    width: 76px;
    height: 6px;
    overflow: hidden;
    background: #dce4ea;
}

.confidence-bar > span {
    display: block;
    height: 100%;
    background: var(--fomplus-blue);
}

.confidence-value {
    min-width: 40px;
    font-variant-numeric: tabular-nums;
}

.confidence-low .confidence-bar > span {
    background: var(--warning);
}

.confidence-high .confidence-bar > span {
    background: var(--success);
}

.result-actions {
    margin-top: 18px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.history-panel {
    min-height: 480px;
}

.json-popup-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.json-toolbar {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border);
}

.json-toolbar span {
    flex: 1;
    color: var(--muted);
    font-size: 12px;
}

#jsonPreview {
    flex: 1;
    margin: 0;
    padding: 18px;
    overflow: auto;
    color: #e8edf2;
    background: #17212b;
    font: 12px/1.55 Consolas, monospace;
    white-space: pre-wrap;
}

.registration-result {
    padding: 22px;
    text-align: center;
}

.registration-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border: 2px solid var(--success);
    color: var(--success);
    font-size: 32px;
    font-weight: 700;
}

.registration-result h2 {
    margin: 0;
}

.registration-result > p {
    color: var(--muted);
}

.registration-result dl {
    margin: 18px 0;
    border: 1px solid var(--border);
}

.registration-result dl > div {
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 120px 1fr;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.registration-result dl > div:last-child {
    border-bottom: 0;
}

.registration-result dt {
    color: var(--muted);
}

.registration-result dd {
    margin: 0;
    font-weight: 600;
}

.dx-button.nav-active {
    background: var(--fomplus-blue) !important;
    border-color: var(--fomplus-blue) !important;
    color: #fff !important;
}

.dx-button-mode-contained.dx-button-default {
    background-color: var(--fomplus-blue);
}

body.theme-dark .dx-widget,
body.theme-dark .dx-texteditor-input,
body.theme-dark .dx-field-item-label-text {
    color: var(--text);
}

body.theme-dark .dx-texteditor,
body.theme-dark .dx-dropdowneditor,
body.theme-dark .dx-datagrid,
body.theme-dark .dx-datagrid-headers,
body.theme-dark .dx-datagrid-rowsview,
body.theme-dark .dx-popup-content,
body.theme-dark .dx-popup-title {
    background: var(--surface);
    color: var(--text);
}

body.theme-dark .dx-datagrid-headers,
body.theme-dark .dx-row,
body.theme-dark .dx-texteditor {
    border-color: var(--border);
}

@media (max-width: 1180px) {
    .workspace-grid {
        grid-template-columns: 1fr;
    }

    .preview-host {
        min-height: 500px;
    }

    .preview-host iframe {
        min-height: 500px;
    }

    .processing-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .app-header,
    .page-heading,
    .sample-area,
    .result-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-content {
        width: min(100% - 20px, 1580px);
    }

    .flow-legend {
        flex-wrap: wrap;
    }

    .processing-steps,
    .summary-strip {
        grid-template-columns: 1fr;
    }

    .sample-buttons,
    .result-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .file-technical-data {
        grid-template-columns: 1fr;
    }

    .file-technical-data > div {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .file-technical-data > div:last-child {
        border-bottom: 0;
    }
}


/* Login */
.login-body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #eef3f7;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(430px, 1.05fr) minmax(460px, 0.95fr);
}

.login-information-panel {
    min-height: 100vh;
    padding: 42px clamp(42px, 7vw, 110px) 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        linear-gradient(130deg, rgba(4, 76, 123, 0.97), rgba(11, 115, 189, 0.94)),
        linear-gradient(45deg, #075a94, #39abe2);
    position: relative;
    overflow: hidden;
}

.login-information-panel::before,
.login-information-panel::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(25deg);
}

.login-information-panel::before {
    width: 360px;
    height: 360px;
    right: -150px;
    top: -120px;
}

.login-information-panel::after {
    width: 260px;
    height: 260px;
    left: -110px;
    bottom: -100px;
}

.login-information-content,
.login-information-footer {
    position: relative;
    z-index: 1;
}

.login-product-mark {
    width: 205px;
    height: 108px;
    margin-bottom: 58px;
    padding: 8px 14px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.login-product-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-demo-label {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.74);
}

.login-information-content h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.06;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.login-information-content > p {
    max-width: 620px;
    margin: 22px 0 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.65;
}

.login-flow-list {
    max-width: 640px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.login-flow-list > div {
    min-height: 82px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.login-flow-list strong {
    color: rgba(255, 255, 255, 0.55);
    font-size: 22px;
    font-weight: 300;
}

.login-flow-list span {
    font-size: 13px;
    line-height: 1.4;
}

.login-information-footer {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
}

.login-form-panel {
    min-height: 100vh;
    padding: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4f7fa;
}

.login-card {
    width: min(440px, 100%);
    padding: 34px;
    background: #fff;
    border: 1px solid #d7e0e8;
    box-shadow: 0 18px 52px rgba(26, 58, 82, 0.13);
}

.login-card-header {
    margin-bottom: 25px;
}

.login-card-logo {
    width: 168px;
    height: 88px;
    object-fit: contain;
    object-position: left center;
}

.login-card-header h2 {
    margin: 16px 0 5px;
    color: #17212b;
    font-size: 25px;
    font-weight: 600;
}

.login-card-header p {
    margin: 0;
    color: #667789;
}

.login-field {
    margin-bottom: 17px;
}

.login-field label {
    display: block;
    margin-bottom: 6px;
    color: #344454;
    font-size: 12px;
    font-weight: 600;
}

.login-options-row {
    margin: 3px 0 20px;
}

.company-action-row {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 10px;
}

.login-error {
    margin-bottom: 18px;
    padding: 11px 12px;
    color: #8e251f;
    background: #fff0ef;
    border-left: 4px solid #c13b32;
    font-size: 12px;
}

.demo-credentials {
    margin-top: 24px;
    padding: 14px;
    background: #f2f8fc;
    border: 1px solid #cfe2ef;
}

.demo-credentials-title {
    margin-bottom: 8px;
    color: #0b73bd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.demo-credential-row {
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #dce8f0;
    color: #344454;
    font-size: 12px;
}

.demo-credential-row strong {
    font-family: Consolas, monospace;
    color: #17212b;
}

.demo-credentials small {
    display: block;
    margin-top: 10px;
    color: #667789;
    line-height: 1.45;
}

.login-powered-by {
    margin-top: 18px;
    color: #7b8996;
    font-size: 11px;
}

.login-powered-by a {
    color: #0b73bd;
    font-weight: 600;
    text-decoration: none;
}

.login-powered-by a:hover {
    text-decoration: underline;
}


@media (max-width: 980px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-information-panel {
        min-height: auto;
        padding: 28px;
    }

    .login-product-mark {
        margin-bottom: 28px;
    }

    .login-information-content h1 {
        font-size: 34px;
    }

    .login-information-footer {
        display: none;
    }

    .login-form-panel {
        min-height: auto;
        padding: 28px 18px 40px;
    }
}

@media (max-width: 640px) {
    .login-flow-list {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 24px 20px;
    }

    .company-action-row {
        grid-template-columns: 1fr;
    }

    .authenticated-user {
        min-width: 0;
        padding-right: 0;
        text-align: left;
        border-right: 0;
    }
}


.login-service-note {
    margin-top: 18px;
    padding: 12px 13px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--fomplus-blue);
    background: var(--surface-alt);
}

.login-service-note strong,
.login-service-note span {
    display: block;
}

.login-service-note strong {
    font-size: 12px;
}

.login-service-note span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}
