﻿@media screen and (max-width: 767px) {
    .box-1 {
        position: absolute;
        top: 0;
        left: 0;
        height: 33.3%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .box-2 {
        position: absolute;
        top: 33.4%;
        left: 0%;
        height: 33.3%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .box-3 {
        position: absolute;
        top: 66.7%;
        left: 0%;
        height: 33.4%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Syncopate';
        text-align: center;
        line-height: 1.5;
    }
    .box-3 > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .epSearchBox {
        position: absolute;
        top: 18%;
        left: 13%;
        height: auto;
        width: 76%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .logo {
        max-width: 25%;
        max-height: 90%;
    }
    table {
        border: 0;
      }
    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
        table tr {
                border-bottom: 3px solid var(--table-row-zs);
        display: block;
      }
    table td {
                border-bottom: 1px solid var(--table-row-zs);
        display: flex;
        text-align: right;
      }
    table td::before {
        content: attr(aria-label);
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        text-align: right;
        width: 50%;
        padding: 1px 2px;
    }
    table td:last-child {
        border-bottom: 0;
    }
    .no-border {
        text-align: right;
    }
    .border {
        border: 1px solid var(--foreground);
    }
    #start {
        display: none;
    }
    .buttons, .sum_fileVolume, .sum_totalPrice, .check_assignedTo {
        visibility: hidden;
        transition: all 1s;
    }
    #header {
        position: fixed;
        top: 0%;
        left: 0%;
        height: 16%;
        width: calc(100% - 16px);
        margin: 8px;
        display: grid;
        align-items: center;
        grid-template-columns: 50% 50%;
        z-index: 5000;
        overflow: visible;
        background-color: var(--light-gray-color);
        transition: all 1s;
    }
    .header-image {
        max-height: 80%;
        max-width: 80%;
        font-family: 'Syncopate';
        font-weight: 700;
        display: flex;
        justify-content: left;
        align-items: center;
        font-size: clamp(1.55rem, calc(1.15rem + 1.2vw), 1.9rem);
        padding-left: 5%;
    }
    .header-image-center {
        font-family: 'Syncopate';
        display: flex;
        justify-content: right;
        align-items: center;
        padding-right: 5%;
    }
    .header-image-right {
        position: relative;
        font-family: 'Syncopate';
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 5001;
        overflow: visible;
        gap: 8px;
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .navigation {
        -webkit-appearance: button;
        -moz-appearance: button;
        appearance: button;
        font-family: 'Syncopate';
        font-size: clamp(0.88rem, calc(0.76rem + 0.14vw), 1rem);
        width: auto;
        outline: none;
        border: none;
        border-radius: 3px;
        padding: 5px;
        background-color: var(--light-gray-color);
        box-shadow: var(--shadow-unified);
        text-align: left;
        font-weight: bold;
        color: var(--foreground);
        transition: all 1s;
    }
    .PC-table,
    .lindual-table-template {
        text-align: left;
        position: absolute;
        top: 16.1%;
        left: 0.25%;
        margin: 8px;
        width: calc(100% - 16px);
        table-layout: auto;
        hyphens: none;
        border-collapse: separate;
        border-spacing: 1px;
    }
    .copyright {
        font-family: 'Open Sans';
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        height: auto;
        transform: none;
        margin-bottom: 8px;
        padding: 0 8px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }
    .copyright-box {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        width: 100%;
    }
    .copyright-box-1 {
        display: none;
    }
    .copyright-box-3 {
        order: 1;
    }
    .copyright-box-2 {
        order: 2;
        width: 100%;
        display: block;
        text-align: center;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
    #total {
        display: none;
    }
    .noteToTranslator {
        text-align: right;
    }
    #PC-table .unitPriceTranslator,
    #PC-table .unitPriceDivider {
        display: none;
    }
    #radio-button {
        display: none;
    }
    .content {
        top: 20%;
        position: absolute;
        left: 2%;
    }
    /* Dialog responsive adjustments */
    .lindual-dialog-form {
        width: 96vw;
        max-height: 92vh;
        padding-left: 0.55em;
        padding-right: 0.55em;
    }
    .lindual-entry-form {
        grid-template-columns: minmax(7.8em, 42%) minmax(0, 1fr);
    }
    .lindual-dialog-form .item1 {
        max-height: calc(92vh - 9.2em);
    }
    .lindual-dialog-form .lindual-dialog-grid {
        width: 100%;
        column-gap: 0.45em;
    }
}

.export-brand-mark {
    font-family: 'French Script MT';
    text-align: center;
    color: var(--color-accent);
}

#PC-table .unitPriceDivider {
    display: inline-block;
    padding: 0 4px;
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    .box-1 {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 33.3%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .box-2 {
        position: absolute;
        top: 0;
        left: 33.3%;
        height: 100%;
        width: 33.3%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .epSearchBox {
        position: absolute;
        top: 7%;
        left: 33.3%;
        height: auto;
        width: 33.3%;
        display: flex;
        justify-content: center;
    }
    .box-3 {
        position: absolute;
        top: 0%;
        right: 0%;
        height: 100%;
        width: 33.3%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Syncopate';
        text-align: center;
        line-height: 2;
		font-size: smaller;
    }
    .box-3 > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .logo {
        max-width: 25%;
        max-height: 70%;
        position: absolute;
    }
    #header {
        position: fixed;
        top: 0%;
        left: 0%;
        height: 6%;
        width: calc(100% - 24px);
        margin: 12px;
        display: grid;
        align-items: center;
        grid-template-columns: 33.33% 33.33% 33.33%;
        z-index: 5000;
        overflow: visible;
        background-color: var(--light-gray-color);
        transition: all 1s;
    }
    .header-image {
        max-height: 80%;
        max-width: 80%;
        font-family: 'Syncopate';
        font-weight: 700;
        justify-self: left;
        padding-left: 1%;
        font-size: clamp(1.75rem, calc(1.2rem + 0.6vw), 2.1rem);
    }
    .header-image-center {
        font-family: 'Syncopate';
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .header-image-right {
        position: relative;
        max-height: 80%;
        max-width: 80%;
        font-family: 'Syncopate';
        font-weight: bold;
        display: flex;
        align-items: center;
        z-index: 5001;
        overflow: visible;
        justify-content: flex-end;
        gap: 10px;
        justify-self: right;
        text-align: right;
        padding-right: 1%;
        line-height: 1;
    }
    .navigation {
        -webkit-appearance: button;
        -moz-appearance: button;
        appearance: button;
        font-family: 'Syncopate';
        font-size: clamp(0.88rem, calc(0.76rem + 0.14vw), 1rem);
        width: 225px;
        outline: none;
        border: none;
        background-color: var(--light-gray-color);
        box-shadow: var(--shadow-unified);
        text-align: left;
        font-weight: bold;
        padding-right: 10px;
        color: var(--foreground);
        transition: all 1s;
    }
    .PC-table,
    .lindual-table-template {
        text-align: left;
        position: absolute;
        top: 6.5%;
        left: 0%;
        margin: 8px;
        width: calc(100% - 16px);
        table-layout: auto;
        padding-bottom: 3em;
        hyphens: none;
        border-collapse: separate;
        border-spacing: 4px;
    }
    .copyright {
        font-family: 'Open Sans';
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        height: 2%;
        transform: none;
        margin-bottom: 10px;
        padding: 0 5px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
        justify-items: center;
    }
    .copyright-box {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        width: 100%;
    }
    .noteToTranslator {
        text-align: right;
    }
    .content {
        top: 10%;
        position: absolute;
        left: 2%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
    .box-3 {
        line-height: 1.35;
    }

    .box-3 > div {
        gap: 4px;
    }

    .copyright {
        grid-template-columns: minmax(88px, 1fr) minmax(0, 2.4fr) minmax(88px, 1fr);
    }

    .copyright-box-2 {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.2;
        font-size: clamp(0.52rem, 0.9vw, 0.72rem);
    }
}

@font-face {
    font-family: 'Syncopate';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../../fonts/syncopate.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../../fonts/opensans.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family:"French Script MT";
    src:url(../../fonts/FrenchScriptMT.ttf) format("truetype");
}

:root {
    --color-bg: #fffffe;
    --color-fg: #262626;
    --color-accent: #14AC83;
    --color-accent-dark: #00727a;
    --color-surface: #f2f2f2;
    --color-surface-2: #f0f0f0;
    --color-border-soft: rgba(165, 165, 165, 0.4);
    --color-zebra: #f2f2f2;
    --color-zebra-selected: #e6e6e6;

    --background: var(--color-bg);
    --foreground: var(--color-fg);
    --outline: rgba(38, 38, 38, 0.5);
    --shadow-unified: 0 10px 26px rgba(0, 0, 0, 0.24);
    --table-row-zs: var(--color-zebra);
    --selected-row: var(--color-zebra-selected);
    --row-selected-highlight: rgba(20, 172, 131, 0.5);
    --red-color: var(--color-accent);
    --green-color: var(--color-accent);
    --darkgreen-color: var(--color-accent);
    --light-gray-color: var(--color-surface);
    --highlight-yellow: var(--table-row-zs);
    --highlight-red: rgba(179, 0, 0, 0.25);
    --highlight-pink: var(--table-row-zs);
    --highlight-violet: var(--table-row-zs);
    --highlight-blue: var(--selected-row);
    --highlight-green: var(--selected-row);
    --select-highlight-bg: var(--row-selected-highlight);
    --select-highlight-filter: none;
    --checkbox-accent-color: var(--color-accent);
    --table-font-size: 1rem;
    --table-global-font-size: clamp(0.68rem, calc(0.2rem + 0.5vw), 0.8rem);
    --table-compact-line-height: 1.2;
    --table-compact-row-height: 1.85em;
    --table-compact-header-row-height: 1.9em;
    --header-dropdown-height: 1.8em;
    --header-filter-font-size: 1rem;
    --toolbar-icon-gap: 11px;
    --button-color: var(--foreground);
    --table-data-foreground: var(--foreground);
    --menu-selected-bg: #d0d0d0;
    --loader-overlay: rgba(255, 255, 255, 0.15);
    --border: 1px solid var(--foreground);
    

    /* Font-size variables (mobile-first) */
    --font-size-body-mobile: 1rem;
    --font-size-message: 1.2rem;
    --font-size-caption: 1.3rem;
    --font-size-header-image: 1.8rem;
    --font-size-copyright: 1rem;
    --font-size-footer-like: clamp(0.58rem, 1.6vw, 0.78rem);
    --font-size-total-wrap: 1.5rem;
    --font-size-sidebar-label: 0.85rem;
    --font-size-invoice-toolbar: 1rem;
    --font-size-grid-switch-label: 1rem;
    --font-size-modal-title: 1.2rem;
    --font-size-header-right: 1rem;
    
    /* Desktop & specific elements */
    --font-size-message-desktop: 1.5rem;
    --font-size-header-right-desktop: 3rem;
    --font-size-table-head: 0.8rem;
    --font-size-dialog-input: 0.92rem;
    --font-size-dialog-select: 0.82rem;
    --font-size-dialog-button: 0.82rem;
    --font-size-body-desktop: 0.9rem;
    
    transition: all 1s;
}
.darkmode {
    --color-bg: #262626;
    --color-fg: #fffffe;
    --color-accent: #14AC83;
    --color-accent-dark: #00727a;
    --color-surface: #333333;
    --color-surface-2: #303030;
    --color-border-soft: rgba(217, 217, 217, 0.1);
    --color-zebra: #333333;
    --color-zebra-selected: #404040;

    --foreground: var(--color-fg);
    --background: var(--color-bg);
    --outline: rgba(217, 223, 220, 0.5);
    --shadow-unified: 0 10px 26px rgba(0, 0, 0, 0.42);
    --table-row-zs: var(--color-zebra);
    --selected-row: var(--color-zebra-selected);
    --row-selected-highlight: rgba(20, 172, 131, 0.5);
    --red-color: var(--color-accent);
    --green-color: var(--color-accent);
    --darkgreen-color: var(--color-accent);
    --light-gray-color: var(--color-surface);
    --highlight-yellow: var(--table-row-zs);
    --highlight-red: rgba(179, 0, 0, 0.25);
    --highlight-pink: var(--table-row-zs);
    --highlight-violet: var(--table-row-zs);
    --highlight-blue: var(--selected-row);
    --highlight-green: var(--selected-row);
    --select-highlight-bg: var(--row-selected-highlight);
    --select-highlight-filter: none;
    --checkbox-accent-color: var(--color-accent);
    --table-font-size: 1rem;
    --table-compact-line-height: 1.2;
    --table-compact-row-height: 1.85em;
    --table-compact-header-row-height: 1.9em;
    --header-dropdown-height: 1.8em;
    --header-filter-font-size: 1rem;
    --button-color: var(--foreground);
    --table-data-foreground: #d6d6d2;
    --menu-selected-bg: #4a4a4a;
    --loader-overlay: rgba(0, 0, 0, 0.2);
    --border: 1px solid var(--background);
    transition: all 1s;
}
body {
    font-family: 'Arial';
    transition: all 1s;
    background: var(--background);
    color: var(--foreground);
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar {
    display: none;
}

.lindual-table-template {
    font-size: var(--table-global-font-size);
    line-height: var(--table-compact-line-height);
}

.lindual-table-template th,
.lindual-table-template td,
.lindual-table-template input,
.lindual-table-template select,
.lindual-table-template textarea,
.lindual-table-template button,
.lindual-table-template .lindual-custom-select-trigger,
.lindual-table-template .lindual-custom-select-option {
    font-size: inherit;
}

.lindual-table-template .lindual-custom-select-trigger,
.lindual-table-template .lindual-custom-select-option,
.lindual-table-template select[disabled] {
    font-size: inherit !important;
}

.lindual-table-template tbody td,
.lindual-table-template tbody td .no-border,
.lindual-table-template tbody td input,
.lindual-table-template tbody td select,
.lindual-table-template tbody td textarea,
.lindual-table-template tbody td .lindual-custom-select-trigger,
.lindual-table-template tbody td .lindual-custom-select-option {
    color: var(--table-data-foreground);
}

.copyright-box-2 {
    font-size: var(--font-size-footer-like);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-border {
    border: none;
    background: transparent;
    color: var(--foreground);
    outline: none;
    width: 100%;
}
.side-by-side {
    display: flex;
    align-items: center;
    width: -webkit-fill-available;
    width: -moz-available;
    height: -webkit-fill-available;
    height: -moz-available;
}

.lindual-table-compact th,
.lindual-table-compact td,
.lindual-table-compact input,
.lindual-table-compact select,
.lindual-table-compact textarea {
    line-height: var(--table-compact-line-height);
}

.lindual-table-compact input,
.lindual-table-compact select,
.lindual-table-compact textarea,
.lindual-table-compact button {
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.lindual-table-compact thead > tr:nth-child(2) th {
    height: var(--table-compact-header-row-height);
}

.lindual-table-compact input[type="checkbox"] {
    margin: 0;
}

.lindual-table-toolbar-row {
    outline: none !important;
    height: 3em;
}

.lindual-table-toolbar-row th {
    z-index: 8;
    overflow: visible;
}

.lindual-table-toolbar-cell {
    background-color: var(--background) !important;
}

.lindual-toolbar-row-cell {
    padding-left: 0;
    padding-right: 0;
}

.lindual-toolbar-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(120px, 2fr) minmax(8px, 0.25fr) minmax(160px, 2.25fr) minmax(220px, 4.5fr) minmax(180px, 3fr);
    align-items: center;
    column-gap: 8px;
}

.lindual-toolbar-layout.lindual-toolbar-layout-column-edges {
    grid-template-columns: 36.5% 1.5% 40.5% 9% 12.5%;
    column-gap: 0;
}

.lindual-toolbar-slot {
    min-width: 0;
    display: flex;
    align-items: center;
}

.lindual-toolbar-slot {
    min-height: 28px;
}

.lindual-toolbar-slot:not(.lindual-toolbar-slot-right) {
    padding-right: 6px;
}

.lindual-toolbar-slot-left {
    padding-left: 6px;
}

.lindual-toolbar-slot-left {
    justify-content: flex-start;
}

.lindual-toolbar-slot-gap {
    justify-content: center;
}

.lindual-toolbar-slot-title {
    justify-content: flex-start;
}

.lindual-toolbar-title-shell {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lindual-toolbar-title-shell #filterOptionsContainer,
.lindual-toolbar-title-shell #invoice-filter-options-container {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-end;
}

#filterOptionsContainer,
#invoice-filter-options-container {
    font-size: var(--table-global-font-size);
    font-family: inherit;
    font-weight: inherit;
    line-height: var(--table-compact-line-height);
}

#filterOptionsContainer label,
#invoice-filter-options-container label,
#filterOptionsContainer input[type="date"],
#invoice-filter-options-container input[type="date"] {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

.lindual-toolbar-slot-filter {
    justify-content: flex-end;
    overflow: visible;
}

.lindual-toolbar-slot-right {
    justify-content: flex-end;
}

@media (max-width: 1023px) {
    .lindual-toolbar-layout {
        grid-template-columns: minmax(100px, 1.7fr) minmax(6px, 0.15fr) minmax(130px, 1.6fr) minmax(200px, 4.8fr) minmax(180px, 3.2fr);
        column-gap: 6px;
    }

    .lindual-toolbar-layout.lindual-toolbar-layout-column-edges {
        grid-template-columns: 36.5% 1.5% 40.5% 9% 12.5%;
        column-gap: 0;
    }
}

.lindual-table-secondary-row {
    outline: none !important;
}

.lindual-toolbar-center {
    justify-content: center;
}

#PC-table .pc-header-right-actions,
.lindual-invoice-table .invoice-header-right-actions,
.lindual-toolbar-right-actions {
    --toolbar-right-icon-gap: calc(var(--toolbar-icon-gap) + 1px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 24px;
    justify-content: end;
    justify-self: end;
    align-items: center;
    column-gap: var(--toolbar-right-icon-gap);
    line-height: normal;
    width: calc(96px + (var(--toolbar-right-icon-gap) * 3));
}

#PC-table .pc-header-right-actions > .filter-toggle-slot,
#PC-table .pc-header-right-actions > #select-button,
#PC-table .pc-header-right-actions > #make-editable-button,
#PC-table .pc-header-right-actions > a,
.lindual-invoice-table .invoice-header-right-actions > .filter-toggle-slot,
.lindual-invoice-table .invoice-header-right-actions > #select-button,
.lindual-invoice-table .invoice-header-right-actions > #make-editable-button,
.lindual-invoice-table .invoice-header-right-actions > a,
.lindual-toolbar-right-actions > .filter-toggle-slot,
.lindual-toolbar-right-actions > #select-button,
.lindual-toolbar-right-actions > #make-editable-button,
.lindual-toolbar-right-actions > a {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#PC-table .pc-header-right-actions > a > div,
.lindual-invoice-table .invoice-header-right-actions > a > div,
.lindual-toolbar-right-actions > a > div {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#PC-table .pc-header-right-actions svg,
.lindual-invoice-table .invoice-header-right-actions svg,
.lindual-toolbar-right-actions svg {
    display: block;
}

.lindual-header-left-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: var(--toolbar-icon-gap);
    line-height: normal;
}

.lindual-header-left-actions > #add-new-entry,
.lindual-header-left-actions > #update-row,
.lindual-header-left-actions > #delete-row {
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.lindual-header-left-actions svg {
    display: block;
}

.lindual-invoice-table .invoice-input,
.lindual-invoice-table .invoice-select,
.lindual-invoice-table .invoice-textarea {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--foreground);
    outline: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.lindual-invoice-table .invoice-select {
    padding: 0;
}

.lindual-invoice-table .invoice-download-trigger[readonly] {
    color: var(--button-color);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lindual-invoice-table .invoice-file-cell {
    white-space: nowrap;
}

.lindual-invoice-table .invoice-file-upload-button {
    padding: 2px 8px;
    min-height: 24px;
    line-height: 1.1;
    font-size: 12px;
}

.lindual-invoice-table .invoice-file-upload-button.is-uploaded {
    background: rgba(20, 172, 131, 0.35);
    border-color: rgba(20, 172, 131, 0.55);
    color: var(--foreground);
}

.lindual-invoice-table .invoice-file-input {
    display: none;
}

.lindual-entry-form .invoice-file-field {
    width: 100%;
    color: var(--foreground);
}

.lindual-invoice-table .invoice-textarea {
    resize: none;
    min-height: 1.1em;
    height: 1.1em;
    overflow: hidden;
}

.lindual-invoice-table tbody .lindual-custom-select-trigger {
    height: 1.1em;
    line-height: 1.1em;
    padding: 0 22px 0 6px;
}

.lindual-invoice-table tbody .lindual-custom-select-field-currency,
.lindual-invoice-table tbody .lindual-custom-select-field-payment_status {
    min-width: 0;
    width: 100% !important;
}

#patero-invoices-table tbody .lindual-custom-select-field-payment_status .lindual-custom-select-trigger,
#patero-invoices-table tbody .lindual-custom-select-field-payment_status .lindual-custom-select-option {
    text-align: right;
}

.lindual-invoice-table tbody .lindual-custom-select-field-paid_as_currency {
    min-width: 4.6em;
    width: auto !important;
}

.lindual-invoice-table .invoice-amount-cell {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lindual-invoice-table .invoice-paid-as-cell {
    justify-content: flex-end;
    gap: 2px;
}

.lindual-invoice-table .invoice-paid-as-cell .invoice-paid-as-amount {
    flex: 1 1 54%;
    min-width: 0;
}

.lindual-invoice-table .invoice-paid-as-cell .lindual-custom-select,
.lindual-invoice-table .invoice-paid-as-cell .invoice-select {
    flex: 1 1 36%;
    min-width: 0;
}

.lindual-invoice-table .invoice-paid-as-cell .lindual-custom-select-field-paid_as_currency {
    flex: 0 0 4.6em;
}

.lindual-invoice-table .invoice-paid-as-cell .lindual-custom-select-field-paid_as_currency .lindual-custom-select-trigger {
    text-align: left !important;
}

.lindual-invoice-table .invoice-paid-as-cell .lindual-custom-select {
    width: auto !important;
}

.lindual-invoice-table .invoice-paid-as-cell .lindual-custom-select-trigger {
    width: 100%;
    padding: 0 18px 0 6px;
}

.lindual-invoice-table .invoice-paid-as-cell .invoice-amount-sum {
    flex: 0 0 auto;
}

.lindual-invoice-table .invoice-amount-sum {
    margin: 0;
}

.lindual-invoice-table .invoice-amount-header {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
}

.lindual-invoice-table .invoice-amount-header .invoice-amount-sum {
    margin: 0;
    display: block;
}

/* Keep table-body dropdowns flat; toolbar/filter dropdowns remain shadowed. */
#PC-table tbody select,
#PC-table tbody .lindual-custom-select-trigger,
#PC-table tbody .lindual-custom-select-menu,
.lindual-invoice-table tbody select,
.lindual-invoice-table tbody .lindual-custom-select-trigger,
.lindual-invoice-table tbody .lindual-custom-select-menu {
    box-shadow: none !important;
}

.lindual-invoice-table th,
.lindual-invoice-table td {
    vertical-align: middle;
}

#PC-table tbody select[disabled] {
    opacity: 0.58;
    cursor: not-allowed;
}

.lindual-invoice-table select[data-field="currency"][disabled],
.lindual-invoice-table select[data-field="payment_status"][disabled] {
    opacity: 0.58;
}

.lindual-invoice-table .lindual-custom-select.is-disabled .lindual-custom-select-trigger {
    opacity: 0.58;
    filter: saturate(0.75);
}

.lindual-invoice-table .lindual-custom-select.is-disabled .lindual-custom-select-trigger::after {
    opacity: 0.58;
}

.invoice-header-left-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}


.invoice-header-right-actions {
    width: 100%;
}



.invoice-header-center-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
    position: relative;
    min-height: 1.8em;
}

#invoice-filter-options-container {
    display: none;
    justify-content: flex-end;
    align-items: center;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    z-index: 20;
    width: 100%;
}

#invoice-filter-options-container .lindual-custom-select,
#invoice-filter-options-container .lindual-custom-select-menu {
    z-index: 30;
}

#invoice-filter-options-container #filterOptions {
    min-width: 20em;
    height: 1.8em;
    line-height: 1.8em;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

#invoice-filter-date-range,
#invoice-filter-client-slot {
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#invoice-filter-date-range input[type="date"],
#invoice-filter-client-slot .lindual-custom-select-wrapper {
    min-width: 14em;
}

.no-outline {
    outline: none;
    padding: 1px 2px;
}
.no-decoration {
    text-decoration: none;
    color: var(--green-color);
}
#total {
    color: var(--color-accent);
    font-weight: bold;
    font-size: clamp(0.98rem, calc(0.72rem + 0.3vw), 1.42rem);
}

#total.due-today-alert {
    color: #b30000;
}
.index-image {
    position: absolute;
    max-width: 65%;
}

#grid-switch-right {
    position: fixed;
    bottom: 0;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 50px;
    opacity: 100%;
    z-index: 100;
}

body.no-theme-transition,
body.no-theme-transition * {
    transition: none !important;
    animation: none !important;
}

#dark-mode-toggle:hover path, #add-new-entry:hover path, #update-row:hover path, #delete-row:hover path, #filter-button:hover path, #select-button:hover path, #logout-button:hover path {
    fill: var(--green-color);
}
#dark-mode-toggle:active, #add-new-entry:active, #update-row:active, #delete-row:active, #filter-button:active, #select-button:active, #logout-button:active {
    transform: translate(1px,1px);
}

.currency-switch-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible;
    z-index: 5500;
}

#PC-table #currency-switch-dropdown {
    display: inline-flex;
}

#currency-switch-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: transparent;
    border: 0;
    color: var(--button-color);
    padding: 0;
}

#active-currency-label {
    line-height: 1.1;
    overflow-wrap: normal;
    color: var(--button-color);
    font-weight: bold;
    min-width: 2.4em;
    text-align: right;
}

#currency-switch-menu {
    position: absolute;
    top: calc(100% + 4px);
    bottom: auto;
    right: 0;
    min-width: 82px;
    background: var(--background);
    border: 1px solid var(--button-color);
    border-radius: 4px;
    box-shadow: var(--shadow-unified);
    padding: 4px;
    display: none;
    z-index: 5600;
}

#currency-switch-menu.is-open {
    display: block;
}

.currency-option {
    width: 100%;
    display: block;
    border: 0;
    background: transparent;
    color: var(--button-color);
    text-align: right;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
}

.currency-option:hover {
    background: var(--light-gray-color);
}

.currency-option.is-active {
    background: var(--light-gray-color);
    font-weight: bold;
}

#grid-switch {
    position: fixed;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 50px;
    height: 50px;
    opacity: 100%;
    z-index: 100;
}
#grid-switch:hover {
    transform: translate(1px,1px);
}
.dark-mode-toggle {
    position: absolute;
    z-index: 90;
    color: var(--foreground);
    border: 1px solid currentColor;
    padding: 4px;
    background: transparent;
    cursor: pointer;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    transition: all 1s;
    box-shadow: var(--shadow-unified);
}
.dark-mode-toggle:active {
    transform: translate(2px,2px);
}
.dark-mode-toggle:focus {
    outline: none;
}

.home-theme-switch {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    padding-top: 0;
}

.home-switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

.home-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.home-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-accent);
    transition: 0.2s ease;
}

.home-slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: var(--background);
    transition: 0.2s ease;
}

.home-switch input:checked + .home-slider {
    background-color: var(--color-accent);
}

.darkmode .home-switch input:checked + .home-slider,
.darkmode .home-slider {
    background-color: var(--color-accent);
}

.home-switch input:focus + .home-slider {
    box-shadow: var(--shadow-unified);
}

.darkmode .home-switch input:focus + .home-slider {
    box-shadow: var(--shadow-unified);
}

.home-switch input:checked + .home-slider:before {
    transform: translateX(13px);
}

.home-slider.round {
    border-radius: 17px;
}

.home-slider.round:before {
    border-radius: 50%;
}

select:required:invalid {
  color: gray;
}
option[value=""][disabled] {
  display: none;
}
option {
    color: var(--foreground);
    background-color: var(--background);
}

.darkmode .navigation {
    color: var(--foreground);
    background-color: var(--background-light);
}

.darkmode .navigation option {
    color: var(--foreground);
    background-color: var(--background);
}
tr:nth-child(even) {
    background-color: var(--table-row-zs);
}
td, th {
    padding-left: 3px;
    padding-right: 3px;
    vertical-align: middle;
}
th {
    background-color: var(--table-row-zs);
    position: sticky;
    top: 7.2%;
    z-index: 4;
    border: 1px solid var(--foreground);
}
thead>tr:nth-child(2) th {
    top: 11%;
}
tr {
    outline: 1px solid transparent;
    outline-offset: -1px;
    transition: background-color 1s, outline-color 0.08s linear;
}
tr.selected {
    background-color: var(--row-selected-highlight) !important;
    outline-color: transparent;
    transition: background-color 1s, outline-color 0.08s linear;
}

tr.highlight-red {
    background-color: var(--highlight-red) !important;
    filter: var(--select-highlight-filter);
}

tr.highlight-blue {
    background-color: var(--select-highlight-bg) !important;
    filter: var(--select-highlight-filter);
}

tr.highlight-green {
    background-color: var(--select-highlight-bg) !important;
    filter: var(--select-highlight-filter);
}

tr.row-highlight_sum_totalPrice,
tr.row-highlight_sum_fileVolume,
tr.row-highlight-amount {
    background-color: var(--select-highlight-bg) !important;
    filter: var(--select-highlight-filter);
}

tr:hover {
    outline-color: var(--foreground);
}

.align-cell {
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-align-right {
    text-align: right;
}
.text-align-left {
    text-align: left;
}
.text-align-center {
    text-align: center;
}
.icon-styling {
    cursor: pointer;
    transform: scale(1.1);
    margin: 3px 3px 3px 4px;
}
#add-entry-box:not(.lindual-dialog) {
    position: fixed;
    height: 65%;
    width: 22%;
    top: 50%;
    left: 50%;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    transform: translate(-50%,-50%);
    z-index: 1001;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border: 2px;
    border-style: double;
    border-color: var(--foreground);
    border-radius: 5px;
    display: grid;
    grid-template-areas:    'alertText alertText'
                            'buttonArea1 buttonArea2';
}
#update-row-box:not(.lindual-dialog) {
    position: fixed;
    height: 15%;
    width: 20%;
    top: 50%;
    left: 50%;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    transform: translate(-50%,-50%);
    z-index: 1001;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border: 2px;
    border-style: double;
    border-color: var(--foreground);
    border-radius: 5px;
    display: grid;
    grid-template-areas:    'alertText alertText'
                            'buttonArea1 buttonArea2';
}
#delete-message-box:not(.lindual-dialog) {
    position: fixed;
    height: 15%;
    width: 20%;
    top: 50%;
    left: 50%;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    transform: translate(-50%,-50%);
    z-index: 1001;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border: 2px;
    border-style: double;
    border-color: var(--foreground);
    border-radius: 5px;
    display: grid;
    grid-template-areas:    'alertText alertText'
                            'buttonArea1 buttonArea2';
}
#alert-box {
    position: fixed;
    height: 15%;
    width: 20%;
    top: 50%;
    left: 50%;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    transform: translate(-50%,-50%);
    z-index: 1001;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border: 2px;
    border-style: double;
    border-color: var(--foreground);
    border-radius: 5px;
    display: grid;
    grid-template-areas:    'alertText'
                            'buttonArea1';
}
/* Shared dialog styles for PC New row and Invoices Add entry/confirm popups. */
.lindual-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1001;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border: 2px;
    border-style: double;
    border-color: var(--foreground);
    border-radius: 5px;
    display: grid;
}

.lindual-dialog-form {
    height: auto;
    min-height: 0;
    max-height: 90vh;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6em 3em 2em 3em;
}

.lindual-dialog-confirm {
    height: 15%;
    width: 20%;
    grid-template-areas: 'alertText alertText'
                         'buttonArea1 buttonArea2';
}

.lindual-dialog-confirm .lindual-dialog-message {
    font-size: var(--table-global-font-size);
}

.lindual-entry-form-body {
    text-align: left;
    padding: 1.1em 1.1em 0.15em;
}

.lindual-dialog-form .item1 {
    line-height: 1.25;
    text-align: left;
    padding: 0;
    margin: 0;
    align-self: stretch;
    max-height: calc(90vh - 9.2em);
    overflow-y: auto;
}

.lindual-dialog-form .item2,
.lindual-dialog-form .item3 {
    margin: 0;
}

.lindual-dialog-form .item2 {
    padding-top: 2em;
}

.lindual-dialog-form .item3 {
    padding-top: 2em;
}

.lindual-dialog-form .lindual-dialog-grid {
    width: min(100%, 470px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'alertText alertText'
                         'buttonArea1 buttonArea2';
    grid-template-rows: auto auto;
    row-gap: 0.2em;
    column-gap: 0.65em;
    justify-items: center;
    align-items: start;
}

.lindual-entry-form {
    display: grid;
    grid-template-columns: 10.25em 13.25em;
    justify-content: center;
    column-gap: 0.55em;
    row-gap: 0.28em;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    font-size: var(--table-global-font-size);
}

.lindual-entry-form br {
    display: none;
}

.lindual-entry-form label {
    margin: 0;
    line-height: 1.2;
    text-align: left;
    font-size: inherit;
}

.lindual-entry-form input[type="text"],
.lindual-entry-form input[type="number"],
.lindual-entry-form input[type="date"],
.lindual-entry-form select,
.lindual-entry-form textarea {
    width: 100%;
    text-align: right;
    font-size: inherit;
    max-width: none;
    box-sizing: border-box;
    border: 1px solid var(--outline);
    background-color: var(--background);
    color: var(--foreground);
    box-shadow: var(--shadow-unified);
}

.lindual-entry-form select {
    text-align: right;
    height: 24px;
    padding: 0;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}

.lindual-entry-form textarea {
    min-height: 3.5em;
    resize: vertical;
}


select {
    width: 176px;
    border: none;
    border-radius: 3px;
    background-color: var(--light-gray-color);
    box-shadow: var(--shadow-unified);
    color: var(--foreground);
    outline: none;
}

#filterOptionsContainer select,
#invoice-filter-options-container select,
#invoiceIssuer {
    border: none !important;
    border-radius: 3px;
    background-color: var(--light-gray-color);
    box-shadow: var(--shadow-unified);
    outline: none;
}

/* Header dropdown standard for PC + invoices filter bars. */
#filterOptionsContainer select,
#invoice-filter-options-container select,
#filterOptionsContainer .lindual-custom-select-trigger,
#invoice-filter-options-container .lindual-custom-select-trigger,
.lindual-header-navigation .lindual-custom-select-trigger,
.lindual-header-navigation .lindual-custom-select-option,
#filterOptionsContainer .lindual-custom-select-option,
#invoice-filter-options-container .lindual-custom-select-option {
    height: var(--header-dropdown-height);
    line-height: var(--header-dropdown-height);
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

#filterOptionsContainer .lindual-custom-select-option,
#invoice-filter-options-container .lindual-custom-select-option {
    font-family: inherit;
    font-weight: inherit;
}

.lindual-nav-compact-select select,
.lindual-nav-compact-select .lindual-custom-select-trigger,
.lindual-nav-compact-select .lindual-custom-select-option {
    font-family: 'Syncopate';
    font-weight: bold;
    font-size: clamp(0.88rem, calc(0.76rem + 0.14vw), 1rem);

}

.lindual-nav-compact-select .lindual-custom-select-option {
    padding: 3px 10px;
}

.lindual-header-navigation .lindual-custom-select-option {
    padding-top: 2px;
    padding-bottom: 2px;
}

.lindual-header-navigation .lindual-custom-select-menu {
    left: auto;
    right: 0;
    width: max-content;
    min-width: 100%;
    max-width: min(90vw, 32rem);
}

.lindual-header-navigation .lindual-custom-select-option,
.lindual-header-navigation .lindual-custom-select-trigger {
    white-space: nowrap;
}

#filterOptionsContainer #filterOptions,
#invoice-filter-options-container #filterOptions {
    min-width: 20em;
}

#filterOptionsContainer {
    flex-wrap: nowrap;
    white-space: nowrap;
}

#filterOptionsContainer .date,
#filterOptionsContainer .currentMonthQuery {
    white-space: nowrap;
}

#filterOptionsContainer #startDate,
#filterOptionsContainer #endDate {
    min-width: 10.5em;
    width: 10.5em;
}

#filterOptionsContainer #byClient,
#filterOptionsContainer #byClient_2,
#invoice-filter-client-select,
#filterOptionsContainer .lindual-custom-select-wrapper,
#invoice-filter-client-slot .lindual-custom-select-wrapper {
    min-width: 12.9em;
    width: auto;
}

#filterOptionsContainer .lindual-custom-select,
#invoice-filter-client-slot .lindual-custom-select {
    min-width: 12.9em;
    width: fit-content;
    max-width: 15.6em;
}

#filterOptionsContainer .lindual-custom-select.lindual-custom-select-filter-options {
    flex-shrink: 0;
}

#filterOptionsContainer select:focus,
#invoice-filter-options-container select:focus,
#invoiceIssuer:focus {
    border: none !important;
    box-shadow: var(--shadow-unified);
    outline: none;
}

.lindual-custom-select {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.lindual-custom-select-native {
    display: none !important;
}

.lindual-custom-select-trigger {
    width: 100%;
    border: none;
    border-radius: 3px;
    background-color: var(--light-gray-color);
    color: var(--foreground);
    box-shadow: var(--shadow-unified);
    outline: none;
    text-align: left;
    padding: 0 28px 0 10px;
    height: 1.8em;
    line-height: 1.8em;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lindual-custom-select-trigger::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--foreground);
    transform: translateY(-30%);
    pointer-events: none;
}

.lindual-custom-select.is-open .lindual-custom-select-trigger::after {
    border-top: 0;
    border-bottom: 5px solid var(--foreground);
    transform: translateY(-70%);
}

.lindual-custom-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border-radius: 3px;
    z-index: 7000;
}

.lindual-custom-select.lindual-custom-select-filter-options .lindual-custom-select-menu {
    max-height: none;
    overflow-y: visible;
    left: auto;
    right: 0;
    min-width: 100%;
}

.lindual-custom-select.lindual-custom-select-filter-client .lindual-custom-select-menu {
    max-height: none;
    overflow-y: visible;
}

.lindual-custom-select.is-open .lindual-custom-select-menu {
    display: block;
}

.lindual-custom-select-option {
    padding: 3px 10px;
    color: var(--foreground);
    cursor: pointer;
}

.lindual-header-navigation .lindual-custom-select-option {
    text-align: left;
}

.lindual-custom-select-option:nth-child(odd) {
    background-color: var(--background);
}

.lindual-custom-select-option:nth-child(even) {
    background-color: var(--table-row-zs);
}

.lindual-custom-select-option:hover,
.lindual-custom-select-option.is-selected {
    background-color: var(--select-highlight-bg);
    filter: var(--select-highlight-filter);
}

.lindual-custom-select-option.is-disabled {
    opacity: 0.6;
    cursor: default;
}

.lindual-header-navigation .lindual-custom-select-option.is-selected {
    background-color: var(--menu-selected-bg);
    filter: none;
}

.darkmode .lindual-header-navigation .lindual-custom-select-option.is-selected {
    background-color: var(--menu-selected-bg);
}

#delete-message {
    border-width: 3px;
    border-style: outset;
    border-color: grey;
    position: fixed;
    height: 20%;
    width: 20%;
    top: 50%;
    left: 50%;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    transform: translate(-50%,-50%);
    z-index: 1001;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border: 2px solid var(--green-color);
    border-radius: 5px;
    display: grid;
    grid-template-areas:    'alertText alertText'
                            'buttonArea1 buttonArea2';
}
#add-entry-boxheader, #update-row-boxheader, #bulk-update-ip-boxheader, #delete-message-boxheader, #response-divheader, .login-box-boxheader {
    position: absolute;
    left: 0;
    top: 0;
    cursor: move;
    height: 2.2em;
    width: 100%;
    background-color: var(--green-color);
    border-bottom: 1px solid var(--foreground);
    color: var(--background);
    z-index: 1002;
    display: grid;
    grid-template-columns: 80% 20%;
}
.box-header {
    z-index: 1002;
    height: 100%;
    padding: 0 0.5em;
    display: flex;
    justify-content: left;
    align-items: center;
}
.cross-sign-self {
    right: 0.8em;
    top: 0.4em;
    cursor: pointer;
    color: #f5f5f5;
    -webkit-text-fill-color: #f5f5f5;
    font-size: 1.35rem;
    line-height: 1;
    z-index: 1002;
    height: 100%;
    padding: 0 0.5em;
    display: flex;
    justify-content: right;
    align-items: center;
}

.center-box.login .cross-sign-self {
    color: #f5f5f5 !important;
    -webkit-text-fill-color: #f5f5f5;
    font-family: Arial, sans-serif;
    font-size: 1.9rem;
    line-height: 1;
}

/* ============================================
   MODAL PICKER SELECT - Reusable Component
   MODAL PICKER SELECT - Reusable Component for invoices.php */
.modal-picker-select {
    background: var(--light-gray-color);
    border: 1px solid var(--outline);
    border-radius: 0;
    padding: 14px;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 12px;
    position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
        margin: 0px;
        width: auto;
        max-width: 90vw;
}

.modal-picker-select h2 {
    all: unset;
    display: block;
    margin: 0 0 10px 0;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--foreground);
}

.modal-picker-select .modal-select-input {
    width: fit-content;
    max-width: 100%;
    height: 40px;
    padding: 0 10px;
    border: none;
    border-radius: 3px;
    background-color: var(--light-gray-color);
    box-shadow: var(--shadow-unified);
    color: var(--foreground);
    font-family: 'Syncopate';
    font-weight: bold;
    font-size: clamp(0.88rem, calc(0.76rem + 0.14vw), 1rem);
    outline: none;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}

.modal-picker-select .modal-select-input option {
    font-family: 'Syncopate';
    font-weight: bold;
}

.darkmode .modal-picker-select,
.darkmode .modal-picker-select .modal-select-input {
    background-color: var(--light-gray-color);
}

.modal-picker-select .lindual-custom-select {
    padding-left: 2em;
    padding-right: 2em;
}

.modal-picker-select .lindual-custom-select-trigger,
.modal-picker-select .lindual-custom-select-option {
    font-family: 'Syncopate';
    font-weight: bold;
}

.modal-picker-select .lindual-custom-select-option.is-selected {
    background-color: var(--table-row-zs);
}

.modal-picker-select .lindual-custom-select-option {
    text-align: center;
    padding: 6px 10px;

}

.modal-picker-select .lindual-custom-select-option:hover {
    background-color: var(--table-row-zs);
    filter: brightness(0.96);
}
.item1 {grid-area: alertText; position: relative; text-align: center; align-self: end; line-height: 1.75; padding-top: 1.75em; border: none; background-color: var(--background);}
.item2 {grid-area: buttonArea1; position: relative; text-align: center; align-self: center;}
.item3 {grid-area: buttonArea2; position: relative; text-align: center; align-self: center;}

button {
    cursor: pointer;
}
a {
    text-decoration: none;
    color: var(--green-color);
    font-weight: bold;    
}

.lindual-link-reset {
    text-decoration: none;
    color: var(--foreground);
}

.lindual-link-reset #back-button {
    color: var(--green-color);
}
input[type="button"] {
    cursor: pointer;
    padding: 2px 4px 0px 4px;
}
input[type="checkbox"] {
    accent-color: var(--checkbox-accent-color);
}
input[type="radio"]:focus {
    box-shadow: var(--shadow-unified);
    outline: none;
}
.pointer {
    cursor: pointer;
}

.filter-toggle-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-toggle-slot {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.filter-toggle-slot .filter-toggle-icon {
    position: absolute;
    top: 0;
    left: 0;
}

#response-div {
    position: fixed;
    width: min(92vw, 980px);
    height: auto;
    max-height: 86vh;
    top: 50%;
    left: 50%;
    padding: 2.8em 0.9375em 1.65em;
    transform: translate(-50%,-50%);
    z-index: 1001;
    background-color: var(--background);
    box-shadow: var(--shadow-unified);
    border: 2px;
    border-style: double;
    border-color: var(--foreground);
    border-radius: 5px;
    display: grid;
    grid-template-rows: minmax(0, auto) auto;
    row-gap: 0.9em;
}
#selected-content {
    position: relative;
    width: 100%;
    max-height: calc(86vh - 9.4em);
    overflow: auto;
    justify-content: center;
}

.response-actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    column-gap: 4.5em;
    margin-bottom: 0.45em;
}
.blur-all, .blur-all-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(2px);
}
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 30000;
    background: var(--loader-overlay);
    backdrop-filter: blur(10px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.darkmode .page-loader {
    background: var(--loader-overlay);
}
.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: none;
}

@keyframes dot-keyframes {
    0% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }
    100% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
}

.loading-dots {
    display: none;
    text-align: center;
    width: 100%;
}
.loading-dots--dot {
    animation: dot-keyframes 1.5s infinite ease-in-out;
    background-color: var(--darkgreen-color);
    border-radius: 10px;
    display: inline-block;
    height: 10px;
    width: 10px;
}
.loading-dots--dot:nth-child(2) {
    animation-delay: 0.5s;
}
.loading-dots--dot:nth-child(3) {
    animation-delay: 1s;
}
.message-format {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Open Sans';
    text-decoration: none;
}
.center-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.center-box.login {
    border-color: var(--color-accent-dark, #00727a);
    border-radius: 8px;
    overflow: hidden;
}

.center-box.login .login-box-boxheader {
    background-color: var(--color-accent-dark, #00727a);
}

.centerBox {
    display: block;
    margin: 0 auto;
}
.epSearch {
    width: 185px;
}
.count:before {
    counter-increment: section;
    content: counter(section);
}
.navOption {
    transition: all 1s;
}
.filterOptions {
    transition: all 1s;
}
#echoMessage {
    transition: all 1s;
}
#pdfFrame {
    transition: all 1s;
}

body.translator-workspace-page .content {
    position: fixed;
    top: calc(6% + 24px);
    bottom: 12px;
    left: 0;
    right: 0;
    box-sizing: border-box;
    padding: 12px;
    min-height: 0;
}

body.translator-workspace-page {
    overflow-x: hidden;
}

body.translator-workspace-page .translator-workspace {
    border: var(--border);
    background: var(--light-gray-color);
    box-shadow: var(--shadow-unified);
    padding: 10px;
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
}

body.translator-workspace-page .translator-workspace__topbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 8px;
    border: var(--border);
    background: var(--background);
    padding: 8px;
    align-items: center;
}

body.translator-workspace-page .translator-workspace__topbar-action {
    border: var(--border);
    background: var(--light-gray-color);
    color: var(--foreground);
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
    padding: 8px 10px;
    cursor: pointer;
    white-space: nowrap;
}

body.translator-workspace-page .translator-workspace__topbar-action:hover {
    background: var(--table-row-zs);
}

body.translator-workspace-page .translator-workspace__topbar-action.is-inactive {
    visibility: hidden;
    pointer-events: none;
}

body.translator-workspace-page .translator-workspace__topbar p {
    margin: 0;
    text-align: center;
    color: var(--foreground);
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
}

body.translator-workspace-page .translator-workspace__grid {
    display: grid;
    grid-template-columns: 0.6fr 3.8fr 0.6fr;
    gap: 10px;
    min-height: 0;
}

body.translator-workspace-page .translator-workspace__panel {
    border: var(--border);
    background: var(--background);
    padding: 10px;
    min-height: 0;
    overflow: auto;
}

body.translator-workspace-page .translator-workspace__title {
    margin: 0 0 8px 0;
    color: var(--green-color);
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(0.88rem, calc(0.8rem + 0.2vw), 1rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.translator-workspace-page .translator-workspace__panel--right,
body.translator-workspace-page .translator-workspace__panel--right .translator-workspace__title,
body.translator-workspace-page .translator-workspace__panel--right .translator-workspace__context-list li {
    text-align: right;
}

body.translator-workspace-page .translator-workspace__steps,
body.translator-workspace-page .translator-workspace__context-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.translator-workspace-page .translator-workspace__steps li,
body.translator-workspace-page .translator-workspace__context-list li {
    margin-bottom: 6px;
}

body.translator-workspace-page .translator-workspace__step,
body.translator-workspace-page .translator-workspace__actions button {
    width: 100%;
    border: var(--border);
    background: transparent;
    color: var(--foreground);
    padding: 8px 9px;
    text-align: left;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
}

body.translator-workspace-page .translator-workspace__step:hover,
body.translator-workspace-page .translator-workspace__actions button:hover {
    background: var(--table-row-zs);
}

body.translator-workspace-page .translator-workspace__step--active {
    color: var(--green-color);
    font-weight: 700;
}

body.translator-workspace-page .translator-workspace__panel--center {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 8px;
    overflow: hidden;
}

body.translator-workspace-page .translator-workspace__module {
    min-height: 0;
}

body.translator-workspace-page .translator-workspace__module--translation,
body.translator-workspace-page .translator-workspace__module--project-setup,
body.translator-workspace-page .translator-workspace__module--placeholder {
    display: none;
}

body.translator-workspace-page[data-active-step="1"] .translator-workspace__module--project-setup {
    display: grid;
}

body.translator-workspace-page[data-active-step="6"] .translator-workspace__module--translation {
    display: grid;
}

body.translator-workspace-page:not([data-active-step="1"]):not([data-active-step="6"]) .translator-workspace__module--placeholder {
    display: grid;
    place-items: center;
}

body.translator-workspace-page #translationModuleBody {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
}

body.translator-workspace-page .translator-workspace__module.is-hidden {
    display: none;
}

body.translator-workspace-page .translator-workspace__module--placeholder {
    border: var(--border);
    background: var(--light-gray-color);
    padding: 16px;
}

body.translator-workspace-page .translator-workspace__module--placeholder p {
    margin: 0;
    color: var(--foreground);
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
    text-align: center;
}

body.translator-workspace-page .translator-workspace__setup-grid {
    display: grid;
    min-height: 0;
}

body.translator-workspace-page .translator-workspace__setup-card {
    border: var(--border);
    background: var(--light-gray-color);
    padding: 12px;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 10px;
}

body.translator-workspace-page .translator-workspace__setup-note {
    margin: 0;
    color: var(--foreground);
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
}

body.translator-workspace-page .translator-workspace__setup-actions {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
}

body.translator-workspace-page .translator-workspace__setup-actions button,
body.translator-workspace-page .translator-workspace__setup-select {
    border: var(--border);
    background: var(--background);
    color: var(--foreground);
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
    padding: 8px 10px;
}

body.translator-workspace-page .translator-workspace__setup-actions button {
    cursor: pointer;
}

body.translator-workspace-page .translator-workspace__setup-select {
    width: max-content;
    min-width: 18rem;
    max-width: 100%;
    justify-self: start;
}

body.translator-workspace-page .translator-workspace__setup-actions button:hover {
    background: var(--table-row-zs);
}

body.translator-workspace-page .translator-workspace__meta,
body.translator-workspace-page .translator-workspace__status,
body.translator-workspace-page .translator-workspace__context-list li {
    margin: 0;
    color: var(--foreground);
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
}

body.translator-workspace-page .translator-workspace__meta {
    margin-bottom: 0;
}

body.translator-workspace-page .translator-workspace__module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 0;
}

body.translator-workspace-page .translator-workspace__box {
    border: var(--border);
    background: var(--light-gray-color);
    min-height: 0;
    padding: 8px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
}

body.translator-workspace-page .translator-workspace__box-title {
    margin: 0;
    color: var(--green-color);
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
    font-weight: 700;
}

body.translator-workspace-page .translator-workspace__segment-list {
    border: var(--border);
    background: var(--background);
    overflow: auto;
    min-height: 0;
}

body.translator-workspace-page .translator-workspace__segment-row {
    width: 100%;
    border: none;
    border-bottom: var(--border);
    background: transparent;
    color: var(--foreground);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    text-align: left;
    gap: 8px;
    padding: 8px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: var(--font-size-body-desktop);
    cursor: pointer;
}

body.translator-workspace-page .translator-workspace__segment-row:hover {
    background: var(--table-row-zs);
}

body.translator-workspace-page .translator-workspace__segment-row.is-active {
    background: var(--selected-row);
}

body.translator-workspace-page .translator-workspace__segment-no {
    color: var(--green-color);
    font-weight: 700;
}

body.translator-workspace-page .translator-workspace__segment-text {
    overflow-wrap: anywhere;
    line-height: 1.35;
}

body.translator-workspace-page .translator-workspace__module-footer {
    display: grid;
    grid-template-rows: auto auto;
    gap: 8px;
}

body.translator-workspace-page .translator-workspace__actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
}

body.translator-workspace-page .translator-workspace__actions button {
    text-align: center;
}

body.translator-workspace-page .translator-workspace__status,
body.translator-workspace-page .translator-workspace__context-list li {
    border: var(--border);
    background: var(--light-gray-color);
    padding: 7px 9px;
}

@media screen and (max-width: 1100px) {
    body.translator-workspace-page .translator-workspace__topbar {
        grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    }

    body.translator-workspace-page .translator-workspace__grid {
        grid-template-columns: 1fr;
    }

    body.translator-workspace-page .translator-workspace__actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    body.translator-workspace-page .content {
        top: calc(16% + 16px);
        bottom: 8px;
        padding: 8px;
    }

    body.translator-workspace-page .translator-workspace {
        padding: 8px;
    }

    body.translator-workspace-page .translator-workspace__topbar,
    body.translator-workspace-page .translator-workspace__module-grid,
    body.translator-workspace-page .translator-workspace__actions {
        grid-template-columns: 1fr;
    }

    body.translator-workspace-page .translator-workspace__setup-actions {
        grid-template-columns: 1fr;
    }

    body.translator-workspace-page .translator-workspace__topbar-action {
        width: 100%;
    }
}








