.content-wrapper {
    background: #f4f6f9;
}

.uos-instance-mode-banner {
    background: #dc3545;
    border-top: 1px solid #bd2130;
    border-bottom: 1px solid #bd2130;
    color: #fff;
    font-size: 1.05rem;
    padding: 0.8rem 0;
}

.uos-instance-mode-banner strong {
    margin-right: 0.5rem;
}

.table td,
.table th {
    vertical-align: middle;
}

.uos-number {
    font-variant-numeric: tabular-nums;
}

.uos-empty {
    color: #6c757d;
    padding: 2rem;
    text-align: center;
}

.uos-selected-row td:first-child {
    border-left: 4px solid #007bff;
    font-weight: 600;
}

.uos-wait-indicator {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.72);
    display: flex;
    inset: 0;
    justify-content: center;
    padding-top: 5rem;
    position: fixed;
    z-index: 2000;
}

.uos-wait-box {
    background: #fff;
    border: 1px solid #d8dee6;
    border-radius: 6px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.14);
    min-width: 280px;
    padding: 1rem;
}

.uos-wait-modal-spinner {
    aspect-ratio: 1 / 1;
    flex: 0 0 2rem;
    height: 2rem !important;
    max-height: 2rem;
    max-width: 2rem;
    min-height: 2rem;
    min-width: 2rem;
    width: 2rem !important;
}

.main-sidebar .sidebar {
    height: calc(100vh - 4.6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 6rem;
}

.main-sidebar .nav-sidebar {
    padding-bottom: 3rem;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.uos-sidebar-active,
.sidebar-dark-primary .nav-sidebar > .nav-item.menu-open > .nav-link.active,
.sidebar-dark-primary .nav-sidebar > .nav-item.menu-open > .nav-link.uos-sidebar-active {
    background-color: #007bff !important;
    color: #fff !important;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active .nav-icon,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active .right,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.uos-sidebar-active .nav-icon,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.uos-sidebar-active .right {
    color: #fff !important;
}

.sidebar-dark-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.active,
.sidebar-dark-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.uos-sidebar-active {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8f9fa !important;
}

.sidebar-dark-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.active .nav-icon,
.sidebar-dark-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.uos-sidebar-active .nav-icon,
.sidebar-dark-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.active .right,
.sidebar-dark-primary .nav-sidebar .nav-treeview > .nav-item > .nav-link.uos-sidebar-active .right {
    color: #f8f9fa !important;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-treeview {
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    margin: 0.2rem 0.5rem 0.45rem 1.35rem;
    padding-left: 0.45rem;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-treeview > .nav-item > .nav-link {
    font-size: 0.94rem;
    margin-left: 0;
    padding-left: 0.55rem;
    width: 100%;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-treeview > .nav-item > .nav-link .nav-icon {
    font-size: 0.82rem;
    margin-left: 0;
    margin-right: 0.35rem;
    width: 1.25rem;
}

@media (min-width: 992px) {
    body.uos-sidebar-resizable:not(.sidebar-collapse) .main-sidebar {
        width: var(--uos-sidebar-width, 250px);
    }

    body.uos-sidebar-resizable:not(.sidebar-collapse) .main-header,
    body.uos-sidebar-resizable:not(.sidebar-collapse) .content-wrapper,
    body.uos-sidebar-resizable:not(.sidebar-collapse) .main-footer {
        margin-left: var(--uos-sidebar-width, 250px) !important;
    }

    .uos-sidebar-resize-handle {
        bottom: 0;
        cursor: col-resize;
        position: absolute;
        right: -5px;
        top: 0;
        width: 10px;
        z-index: 1040;
    }

    .uos-sidebar-resize-handle::after {
        background: rgba(255, 255, 255, 0.35);
        border-radius: 2px;
        content: "";
        left: 4px;
        opacity: 0;
        position: absolute;
        top: 0;
        transition: opacity 0.15s ease;
        width: 2px;
        height: 100%;
    }

    .main-sidebar:hover .uos-sidebar-resize-handle::after,
    .uos-sidebar-resize-handle:focus::after,
    body.uos-sidebar-resizing .uos-sidebar-resize-handle::after {
        opacity: 1;
    }

    body.uos-sidebar-resizing {
        cursor: col-resize;
        user-select: none;
    }
}

@media (max-width: 991.98px) {
    .uos-sidebar-resize-handle {
        display: none;
    }
}

.uos-toggle-form {
    display: inline-block;
    line-height: 1;
}

.custom-switch .custom-control-label::before {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-switch .custom-control-label::after {
    background-color: #fff;
}

.custom-switch .custom-control-input.uos-user-permission-deny:checked ~ .custom-control-label::before,
.custom-switch .custom-control-input.uos-partial-exclude-switch:checked ~ .custom-control-label::before {
    background-color: #dc3545;
    border-color: #dc3545;
}

.custom-switch .custom-control-input.uos-user-permission-deny:focus ~ .custom-control-label::before,
.custom-switch .custom-control-input.uos-partial-exclude-switch:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.uos-table-switch {
    min-height: 1.5rem;
    padding-left: 2.75rem;
}

.uos-table-switch .custom-control-label {
    cursor: pointer;
    min-height: 1.5rem;
}

.uos-supplier-table {
    table-layout: fixed;
    min-width: 112rem;
}

.uos-supplier-table th,
.uos-supplier-table td {
    white-space: normal;
}

.uos-supplier-table .uos-action-column {
    text-align: center;
    width: 3.25rem;
}

.uos-supplier-table .uos-supplier-client {
    width: 11rem;
}

.uos-supplier-table .uos-number {
    width: 7rem;
}

.uos-supplier-table .uos-supplier-name {
    min-width: 16rem;
    overflow-wrap: anywhere;
}

.uos-supplier-table .uos-supplier-name .small span {
    display: inline-block;
}

.uos-supplier-table .uos-supplier-keywords {
    color: #6c757d;
    max-width: 18rem;
    overflow-wrap: anywhere;
}

.uos-supplier-table th:nth-child(11),
.uos-supplier-table td:nth-child(11),
.uos-supplier-table th:nth-child(12),
.uos-supplier-table td:nth-child(12),
.uos-supplier-table th:nth-child(13),
.uos-supplier-table td:nth-child(13) {
    width: 10.5rem;
}

.uos-import-failures-table {
    table-layout: fixed;
    width: 100%;
}

.uos-import-failures-table th,
.uos-import-failures-table td {
    white-space: normal;
}

.uos-import-failures-table td {
    vertical-align: top;
}

.uos-import-failures-table .uos-import-failure-id {
    width: 3.5rem;
}

.uos-import-failures-table .uos-import-failure-date {
    width: 7.5rem;
}

.uos-import-failures-table .uos-import-failure-file {
    overflow-wrap: anywhere;
    width: 30%;
}

.uos-import-failures-table .uos-import-failure-path {
    overflow-wrap: anywhere;
}

.uos-import-failures-table .uos-import-failure-client {
    width: 4rem;
}

.uos-import-failures-table .uos-import-failure-error {
    overflow-wrap: anywhere;
    width: 34%;
}

.uos-import-failures-table .uos-import-failure-status {
    width: 4.75rem;
}

.uos-import-failures-table .uos-import-failure-actions {
    width: 7.5rem;
}

.uos-users-table {
    table-layout: fixed;
    width: 100%;
}

.uos-users-table th,
.uos-users-table td {
    white-space: normal;
}

.uos-users-table .uos-user-name {
    width: 12%;
}

.uos-users-table .uos-user-username {
    width: 10%;
}

.uos-users-table .uos-user-email {
    overflow-wrap: anywhere;
    width: 18%;
}

.uos-users-table .uos-user-role {
    width: 8%;
}

.uos-users-table .uos-user-rights {
    width: 7%;
}

.uos-users-table .uos-user-printers {
    font-size: 0.875rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    width: 20%;
}

.uos-users-table .uos-user-printers span {
    color: #6c757d;
    display: inline-block;
    min-width: 3.1rem;
}

.uos-users-table .uos-user-login {
    width: 9%;
}

.uos-users-table .uos-user-status {
    width: 11%;
}

.uos-users-table .uos-user-actions {
    white-space: nowrap;
    width: 5%;
}

.uos-booking-invoice-table {
    table-layout: fixed;
}

.uos-booking-invoice-table th,
.uos-booking-invoice-table td {
    white-space: normal;
}

.uos-booking-invoice-table th:first-child,
.uos-booking-invoice-table td:first-child {
    padding-left: 1rem;
    padding-right: 0.75rem;
    text-align: center;
    width: 4.75rem;
}

.uos-booking-invoice-table .uos-table-switch {
    display: inline-block;
    min-width: 2.75rem;
}

.uos-booking-invoice-table th:nth-child(2),
.uos-booking-invoice-table td:nth-child(2) {
    width: 3.25rem;
}

.uos-booking-invoice-table th:nth-child(3),
.uos-booking-invoice-table td:nth-child(3) {
    text-align: center;
    width: 3.25rem;
}

.uos-booking-invoice-table th:nth-child(4),
.uos-booking-invoice-table td:nth-child(4) {
    width: 16rem;
}

.uos-booking-invoice-table th:nth-child(5),
.uos-booking-invoice-table td:nth-child(5) {
    width: 14rem;
}

.uos-booking-invoice-table th:nth-child(6),
.uos-booking-invoice-table td:nth-child(6) {
    width: 6.25rem;
}

.uos-booking-invoice-table th:nth-child(7),
.uos-booking-invoice-table td:nth-child(7) {
    width: 7.5rem;
}

.uos-booking-invoice-table th:nth-child(8),
.uos-booking-invoice-table td:nth-child(8) {
    width: 9rem;
}

.uos-booking-invoice-table th:last-child,
.uos-booking-invoice-table td:last-child {
    width: 13rem;
    white-space: nowrap;
}

.uos-booking-supplier {
    align-items: center;
    display: flex;
    min-width: 0;
    white-space: nowrap;
}

.uos-booking-supplier-logo {
    flex: 0 0 auto;
    height: 24px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
    width: 24px;
}

.uos-booking-supplier-name {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uos-booking-supplier-id {
    white-space: nowrap;
}

.uos-booking-supplier-id-with-logo {
    padding-left: 32px;
}

.uos-dropzone {
    align-items: center;
    background: #f8fafc;
    border: 2px dashed #9fb3c8;
    border-radius: 6px;
    color: #495057;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 11rem;
    padding: 1.25rem;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.uos-dropzone:hover,
.uos-dropzone.is-dragover {
    background: #eaf4ff;
    border-color: #007bff;
    color: #0056b3;
}

.uos-dropzone.is-ready {
    border-color: #28a745;
}

.uos-dropzone-sm {
    min-height: 8.5rem;
    padding: 1rem;
}

.uos-dropzone-icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.uos-dropzone-title {
    font-weight: 600;
}

.uos-dropzone-text,
.uos-dropzone-files {
    display: block;
    font-size: 0.875rem;
}

.uos-dropzone-files {
    color: #6c757d;
    margin-top: 0.75rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.uos-dropzone-input {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.uos-active-filter-bar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.uos-filter-chip {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0.4rem 0.5rem;
}

.uos-filter-chip:hover {
    color: #fff;
    text-decoration: none;
}

.uos-client-logo-thumb,
.uos-supplier-logo-thumb {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    height: 1.875rem !important;
    object-fit: contain;
    padding: 0.15rem;
    vertical-align: middle;
    width: 3.6rem !important;
}

.uos-email-client-logo-placeholder {
    align-items: center;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #6c757d;
    display: inline-flex;
    height: 1.875rem;
    justify-content: center;
    vertical-align: middle;
    width: 3.6rem;
}

.uos-client-logo-preview {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    height: 3.25rem;
    object-fit: contain;
    padding: 0.35rem;
    width: 100%;
}

.uos-client-logo-placeholder,
.uos-upload-client-logo-placeholder {
    align-items: center;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    display: flex;
    justify-content: center;
}

.uos-client-logo-placeholder {
    height: 3.25rem;
    width: 100%;
}

.uos-upload-client-header {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    min-height: 2.35rem;
}

.uos-upload-client-logo,
.uos-upload-client-logo-placeholder {
    flex: 0 0 auto;
    height: 2.35rem;
    width: 4.25rem;
}

.uos-upload-client-logo {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    object-fit: contain;
    padding: 0.25rem;
}

.uos-upload-client-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.uos-upload-result-list {
    max-height: 22rem;
    overflow-y: auto;
}

.uos-upload-result-list .list-group-item {
    overflow-wrap: anywhere;
}

.uos-supplier-logo-preview {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    height: 4rem;
    object-fit: contain;
    padding: 0.35rem;
    width: 100%;
}

.uos-supplier-logo-placeholder {
    align-items: center;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    display: flex;
    height: 4rem;
    justify-content: center;
    font-size: 0.9rem;
    width: 100%;
}

.uos-supplier-modal-logo,
.uos-supplier-modal-logo-placeholder {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    flex: 0 0 auto;
    height: 2.35rem;
    width: 4.25rem;
}

.uos-supplier-modal-logo {
    object-fit: contain;
    padding: 0.25rem;
}

.uos-supplier-modal-logo-placeholder {
    align-items: center;
    color: #6c757d;
    display: inline-flex;
    justify-content: center;
}

.uos-supplier-modal-title-main {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.uos-system-logo-preview-box,
.uos-system-logo-placeholder {
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    min-height: 6rem;
    padding: 0.75rem;
    width: 100%;
}

.uos-system-logo-preview {
    display: block;
    max-height: 5rem;
    max-width: 100%;
    object-fit: contain;
}

.uos-system-logo-placeholder {
    color: #6c757d;
    font-size: 0.9rem;
}

.uos-shop-logo-thumb {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    height: 1.875rem;
    object-fit: contain;
    padding: 0.15rem;
    vertical-align: middle;
    width: 3.6rem;
}

.uos-shop-logo-placeholder-small {
    align-items: center;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #6c757d;
    display: inline-flex;
    height: 1.875rem;
    justify-content: center;
    vertical-align: middle;
    width: 3.6rem;
}

.uos-shop-logo-preview-box,
.uos-shop-logo-placeholder {
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    min-height: 6rem;
    padding: 0.75rem;
    width: 100%;
}

.uos-shop-logo-preview {
    display: block;
    max-height: 5rem;
    max-width: 100%;
    object-fit: contain;
}

.uos-shop-logo-placeholder {
    color: #6c757d;
    font-size: 0.9rem;
}

.uos-delivery-note-detail-shop-logo-wrap {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    margin-left: auto;
    max-width: 12rem;
}

.uos-delivery-note-detail-shop-logo {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: block;
    max-height: 2.75rem;
    max-width: 12rem;
    object-fit: contain;
    padding: 0.25rem 0.45rem;
}

.uos-delivery-note-detail-shop-logo-fallback {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    min-height: 2.25rem;
    overflow: hidden;
    padding: 0.35rem 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uos-login-system-logo {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    display: block;
    margin: 0 auto 0.5rem;
    max-height: 4.5rem;
    max-width: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.login-page .login-box {
    width: 430px;
}

.login-page .login-card-body .small {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .login-page .login-box {
        width: calc(100% - 1.5rem);
    }

    .login-page .login-card-body .small {
        white-space: normal;
    }
}

.uos-delivery-print-body {
    background: #eef1f4;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.uos-delivery-print-toolbar {
    align-items: center;
    background: #1f2937;
    color: #fff;
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.uos-delivery-print-toolbar form {
    margin: 0;
}

.uos-delivery-print-toolbar a,
.uos-delivery-print-toolbar button {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #111827;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.45rem 0.7rem;
    text-decoration: none;
}

.uos-delivery-print-page {
    background: #fff;
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.14);
    margin: 1.5rem auto;
    min-height: 277mm;
    page-break-after: always;
    padding: 3mm 6mm 8mm 4mm;
    position: relative;
    width: 210mm;
}

.uos-delivery-print-page:last-child {
    page-break-after: auto;
}

.uos-delivery-print-page > :not(.uos-delivery-print-watermark) {
    position: relative;
    z-index: 1;
}

.uos-delivery-print-watermark {
    display: block;
    height: 120mm;
    left: 55mm;
    object-fit: contain;
    pointer-events: none;
    position: absolute;
    top: 160mm;
    width: 100mm;
    z-index: 0;
}

.uos-delivery-print-topline {
    align-items: flex-start;
    border-bottom: 1px solid #111;
    display: grid;
    column-gap: 2mm;
    grid-template-columns: 42mm minmax(0, 1fr) 80mm;
    min-height: 12mm;
}

.uos-delivery-print-system-logo img {
    display: block;
    height: auto;
    max-height: 11mm;
    max-width: 40mm;
    object-fit: contain;
}

.uos-delivery-print-counter {
    font-size: 16pt;
    line-height: 11mm;
    text-align: center;
}

.uos-delivery-print-through-label {
    font-size: 13pt;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 11mm;
    overflow: visible;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.uos-delivery-print-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3mm;
    min-height: 55mm;
    padding-right: 38mm;
    position: relative;
}

.uos-delivery-print-sender {
    font-size: 11pt;
    line-height: 1.35;
    max-width: 58mm;
    padding-top: 4mm;
}

.uos-delivery-print-sender span,
.uos-delivery-print-sender strong {
    display: block;
}

.uos-delivery-print-vehicle-storage {
    font-size: 10pt;
    line-height: 1.22;
    margin-top: 10mm;
    max-width: 62mm;
}

.uos-delivery-print-vehicle-storage > strong {
    font-size: 10.5pt;
    font-weight: 800;
    margin-bottom: 0.6mm;
}

.uos-delivery-print-vehicle-storage-main {
    font-weight: 800;
}

.uos-delivery-print-vehicle-storage-detail {
    color: #374151;
    font-size: 8.5pt;
    margin-bottom: 0.9mm;
}

.uos-delivery-print-heading {
    flex: 1;
    min-width: 0;
    padding-top: 4mm;
    text-align: center;
}

.uos-delivery-print-logo-row {
    align-items: center;
    display: flex;
    gap: 7mm;
    justify-content: center;
    margin: 0 auto 12mm;
}

.uos-delivery-print-shop-logo {
    display: block;
    height: auto;
    margin: 0 auto 12mm;
    max-height: 22mm;
    max-width: 54mm;
    object-fit: contain;
}

.uos-delivery-print-logo-row .uos-delivery-print-shop-logo,
.uos-delivery-print-extra-recipient-logo {
    display: block;
    height: auto;
    margin: 0;
    max-height: 22mm;
    max-width: 40mm;
    object-fit: contain;
}

.uos-delivery-print-number {
    font-size: 24pt;
    font-weight: 400;
    line-height: 1.2;
}

.uos-delivery-print-erp {
    font-size: 20pt;
    font-weight: 400;
    line-height: 1.7;
}

.uos-delivery-print-compartment-stack {
    max-width: 42mm;
    min-width: 32mm;
    overflow-wrap: anywhere;
    position: absolute;
    right: 8mm;
    text-align: center;
    top: 7mm;
    word-break: normal;
}

.uos-delivery-print-warehouse-code {
    font-size: 30pt;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 2mm;
    white-space: normal;
}

.uos-delivery-print-warehouse-code-long {
    font-size: 22pt;
}

.uos-delivery-print-main-compartment {
    font-size: 40pt;
    font-weight: 700;
    line-height: 0.95;
    padding-top: 0;
}

.uos-delivery-print-main-compartment-long {
    font-size: 24pt;
}

.uos-delivery-print-split-slot {
    border: 0.4mm solid #111;
    margin-top: 4mm;
    padding: 1mm 2mm 2mm;
}

.uos-delivery-print-split-slot span {
    display: block;
    font-size: 14pt;
    font-weight: 800;
    line-height: 1;
}

.uos-delivery-print-split-slot strong {
    display: block;
    font-size: 44pt;
    line-height: 1;
}

.uos-delivery-print-barcode {
    display: block;
    fill: #000;
    height: 11mm;
    width: 100%;
}

.uos-delivery-print-order-barcode {
    margin: 0 auto 1mm;
    width: 90mm;
}

.uos-delivery-print-order-barcode .uos-delivery-print-barcode {
    height: 12mm;
}

.uos-delivery-print-continuation-header {
    margin: 8mm auto 6mm;
    max-width: 122mm;
    text-align: center;
}

.uos-delivery-print-continuation-title {
    font-size: 11pt;
    font-weight: 800;
    margin-bottom: 2mm;
}

.uos-delivery-print-continuation-order-barcode {
    margin: 0 auto 1mm;
    width: 88mm;
}

.uos-delivery-print-continuation-order-barcode .uos-delivery-print-barcode {
    height: 10mm;
}

.uos-delivery-print-continuation-number {
    font-size: 22pt;
    line-height: 1.15;
}

.uos-delivery-print-continuation-erp {
    font-size: 16pt;
    line-height: 1.35;
}

.uos-delivery-print-large-icon {
    display: block;
    height: auto;
    margin: -28mm 0 4mm 5mm;
    max-width: 26mm;
}

.uos-delivery-print-meta {
    font-size: 10pt;
    line-height: 1.55;
    text-align: right;
}

.uos-delivery-print-recipient {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 10pt;
    gap: 1.5mm;
    justify-content: center;
    margin-bottom: 1mm;
    text-align: center;
}

.uos-delivery-print-contact {
    align-items: center;
    display: flex;
    font-size: 9.5pt;
    gap: 4mm;
    justify-content: center;
    margin-bottom: 5mm;
    text-align: center;
}

.uos-delivery-print-facts {
    display: grid;
    font-size: 10pt;
    gap: 2mm;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 3mm;
    text-align: center;
}

.uos-delivery-print-facts-compact {
    padding-bottom: 1mm;
}

.uos-delivery-print-flags {
    font-size: 9pt;
    margin-bottom: 2mm;
    min-height: 0;
    text-align: center;
}

.uos-delivery-print-multi-vehicle-notice {
    background: #fee2e2;
    border: 0.8mm solid #991b1b;
    color: #991b1b;
    font-size: 18pt;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 3mm;
    padding: 2.2mm 3mm;
    text-align: center;
}

.uos-delivery-print-table {
    border-collapse: collapse;
    border: 1px solid #111;
    font-size: 11pt;
    width: 100%;
}

.uos-delivery-print-table th,
.uos-delivery-print-table td {
    border: 1px solid #111;
    padding: 1.5mm 1.2mm;
    text-align: left;
    vertical-align: top;
}

.uos-delivery-print-table th {
    border-bottom: 1px solid #111;
    font-size: 11pt;
    font-weight: 700;
    padding-bottom: 1mm;
    padding-top: 1mm;
}

.uos-delivery-print-item-group {
    break-inside: avoid;
    page-break-inside: avoid;
}

.uos-delivery-print-item-group tr,
.uos-delivery-print-barcode-row {
    break-inside: avoid;
    page-break-inside: avoid;
}

.uos-delivery-print-barcode-row {
    break-before: avoid;
    page-break-before: avoid;
}

.uos-delivery-print-section-header th {
    background: #fff;
}

.uos-delivery-print-table th:first-child,
.uos-delivery-print-table td:first-child {
    text-align: center;
    width: 20mm;
}

.uos-delivery-print-table th:nth-child(3),
.uos-delivery-print-table td:nth-child(3) {
    text-align: center;
    width: 20mm;
}

.uos-delivery-print-location {
    line-height: 1.12;
    overflow-wrap: anywhere;
    padding-left: 0.8mm;
    padding-right: 0.8mm;
    word-break: normal;
}

.uos-delivery-print-location-main {
    color: #111;
    font-size: 12pt;
    font-weight: 800;
    line-height: 1.05;
}

.uos-delivery-print-location-detail {
    color: #111;
    font-size: 10.5pt;
    font-weight: 500;
    line-height: 1.05;
    margin-top: 0.5mm;
}

.uos-delivery-print-location-status {
    color: #92400e;
    font-size: 10.5pt;
    font-weight: 800;
    line-height: 1.05;
    margin-top: 0.8mm;
}

.uos-delivery-print-table th:last-child,
.uos-delivery-print-table td:last-child {
    text-align: center;
    width: 18mm;
}

.uos-delivery-print-stock,
.uos-delivery-print-qty {
    font-size: 18pt;
    font-weight: 700;
}

.uos-delivery-print-stock {
    color: #374151;
    font-weight: 800;
}

.uos-delivery-print-parking span {
    color: #111;
    display: block;
    font-size: 24pt;
    line-height: 1;
}

.uos-delivery-print-parking small {
    color: #111;
    display: block;
    font-size: 10pt;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 1mm;
}

.uos-delivery-print-qty {
    font-weight: 900;
}

.uos-delivery-print-qty span {
    display: block;
    font-size: 24pt;
    line-height: 1;
}

.uos-delivery-print-qty-warning {
    display: block;
    height: auto;
    margin: 1.5mm auto 0;
    max-width: 13mm;
}

.uos-delivery-print-item-code {
    font-size: 11pt;
    font-weight: 700;
    margin-bottom: 1.5mm;
}

.uos-delivery-print-item-name {
    font-size: 12pt;
    line-height: 1.25;
}

.uos-delivery-print-item-attributes {
    font-size: 12pt;
    line-height: 1.25;
    margin-top: 1mm;
}

.uos-delivery-print-item-reservation {
    color: #374151;
    font-size: 9pt;
    line-height: 1.2;
    margin-top: 1mm;
}

.uos-delivery-print-location-icon {
    display: block;
    height: auto;
    margin: 2mm auto 0;
    max-width: 18mm;
}

.uos-delivery-print-barcode-row td {
    padding: 2mm 20mm 1mm;
    text-align: center;
}

.uos-delivery-print-barcode-content {
    align-items: center;
    display: flex;
    gap: 8mm;
    justify-content: center;
}

.uos-delivery-print-barcode-list {
    flex: 0 1 auto;
}

.uos-delivery-print-barcode-row-assembled .uos-delivery-print-barcode-list {
    min-width: 108mm;
}

.uos-delivery-print-barcode-block {
    margin: 0 auto 2mm;
    text-align: center;
}

.uos-delivery-print-barcode-label {
    display: inline-block;
    font-size: 11pt;
    margin-right: 1.8mm;
    min-width: 28mm;
    text-align: right;
    vertical-align: top;
}

.uos-delivery-print-barcode-value {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 70mm;
}

.uos-delivery-print-item-barcode {
    display: block;
    height: 8mm;
    max-width: 70mm;
    width: 70mm;
}

.uos-delivery-print-barcode-row strong {
    display: block;
    font-size: 11pt;
    font-weight: 400;
    line-height: 1.2;
}

.uos-delivery-print-assembled-vehicle {
    border-left: 1px solid #d1d5db;
    flex: 0 0 34mm;
    padding-left: 8mm;
    text-align: center;
}

.uos-delivery-print-assembled-vehicle img {
    display: block;
    height: auto;
    margin: 0 auto 2mm;
    max-width: 18mm;
}

.uos-delivery-print-assembled-vehicle strong {
    font-size: 11pt;
    font-weight: 800;
    line-height: 1.2;
}

.uos-delivery-print-pickup-row td {
    background: #fff4cc;
}

.uos-delivery-print-summary {
    font-size: 9pt;
    margin-top: 7mm;
    text-align: center;
}

.uos-delivery-print-continuation-notice {
    color: #111827;
    font-size: 18pt;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 7mm;
    text-align: center;
}

.uos-delivery-print-footer {
    border-top: 1px solid #d1d5db;
    color: #6b7280;
    font-size: 8.5pt;
    margin-top: 8mm;
    padding-top: 3mm;
}

@media print {
    @page {
        margin: 8mm 5mm 8mm 4mm;
        size: A4;
    }

    .uos-delivery-print-toolbar {
        display: none;
    }

    .uos-delivery-print-body {
        background: #fff;
    }

    .uos-delivery-print-page {
        box-shadow: none;
        margin: 0;
        min-height: 0;
        page-break-after: always;
        padding: 0;
        width: auto;
    }

    .uos-delivery-print-page:last-child {
        page-break-after: auto;
    }
}

.uos-delivery-bulk-toolbar {
    background: #f8f9fa;
}

.uos-delivery-notes-table .uos-delivery-select-column {
    text-align: center;
    width: 5.5rem;
}

.uos-delivery-notes-table .uos-table-switch {
    min-width: 2.75rem;
}

.uos-delivery-note-order-number {
    white-space: nowrap;
}

.uos-delivery-note-list-shop-name {
    color: #6c757d;
    font-size: 0.8125rem;
    line-height: 1.15;
    margin-left: 2rem;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.uos-logo-candidate {
    background: #fff;
}

.uos-logo-candidate-image {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    height: 4rem;
    object-fit: contain;
    padding: 0.35rem;
    width: 100%;
}

.uos-logo-dropzone {
    align-items: center;
    background: #f8fafc;
    border: 2px dashed #9fb3c8;
    border-radius: 6px;
    color: #495057;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 8rem;
    padding: 1rem;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.uos-logo-dropzone:hover,
.uos-logo-dropzone.is-dragover {
    background: #eaf4ff;
    border-color: #007bff;
    color: #0056b3;
}

.uos-logo-dropzone.is-ready {
    border-color: #28a745;
}

.uos-logo-dropzone-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.uos-logo-dropzone-title {
    font-weight: 600;
}

.uos-logo-dropzone-text,
.uos-logo-dropzone-file {
    display: block;
    font-size: 0.875rem;
}

.uos-logo-dropzone-file {
    color: #6c757d;
    margin-top: 0.5rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.uos-logo-dropzone-input {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.uos-email-template-preview-frame {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    min-height: 22rem;
    width: 100%;
}

.uos-email-template-preview-text {
    background: #f8f9fa;
    border-radius: 4px;
    min-height: 22rem;
    padding: 1rem;
    white-space: pre-wrap;
}

.uos-login-page {
    align-items: center;
    background: #1d1e20;
    display: flex;
    min-height: 100vh;
}

.uos-login-shell {
    padding: 1.25rem;
    width: 100%;
}

.uos-login-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 920px;
    overflow: hidden;
}

.uos-login-content {
    align-items: center;
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    min-height: 450px;
    padding: 3rem 4rem 2rem;
}

.uos-login-illustration {
    flex: 0 0 350px;
    text-align: center;
}

.uos-login-illustration img {
    display: block;
    height: auto;
    max-width: 100%;
}

.uos-login-form-panel {
    flex: 1 1 430px;
    max-width: 430px;
}

.uos-login-brand {
    margin-bottom: 0.5rem;
    text-align: center;
}

.uos-login-brand img {
    display: inline-block;
    max-height: 5.4rem;
    max-width: min(100%, 340px);
    object-fit: contain;
}

.uos-login-brand strong {
    color: #5f6368;
    display: block;
    font-size: 2.1rem;
    line-height: 1.05;
}

.uos-login-form-panel h1 {
    color: #202428;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    text-align: center;
}

.uos-login-input-group {
    margin-bottom: 1.5rem;
}

.uos-login-input-group .input-group-text {
    background: #ff5a1f;
    border-color: #ff5a1f;
    color: #fff;
    font-size: 1rem;
    justify-content: center;
    width: 2.625rem;
}

.uos-login-input-group .form-control {
    font-size: 1.25rem;
    height: 3rem;
}

.uos-login-submit {
    font-size: 1.25rem;
    height: 3rem;
    margin-top: 0.25rem;
}

.uos-login-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0 1rem 1rem;
}

.uos-login-meta span {
    color: #25292d;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .uos-login-shell {
        padding: 0.75rem;
    }

    .uos-login-content {
        flex-direction: column;
        gap: 1.25rem;
        min-height: auto;
        padding: 1.75rem 1.25rem 1.25rem;
    }

    .uos-login-illustration {
        flex: 0 1 auto;
        max-width: 13rem;
    }

    .uos-login-form-panel {
        flex-basis: auto;
        max-width: 100%;
        width: 100%;
    }

    .uos-login-brand img {
        max-height: 4rem;
    }

    .uos-login-form-panel h1 {
        font-size: 1.35rem;
    }

    .uos-login-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0 1.25rem 1rem;
    }

    .uos-login-meta span {
        white-space: normal;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .uos-login-content {
        gap: 1.75rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .uos-login-illustration {
        flex-basis: 300px;
    }
}

.modal-dialog.uos-scrollable-admin-modal {
    height: calc(100vh - 3.5rem);
    max-height: calc(100vh - 3.5rem);
}

.modal-dialog.uos-scrollable-admin-modal .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

.modal-dialog.uos-scrollable-admin-modal .uos-client-form,
.modal-dialog.uos-scrollable-admin-modal .uos-bikeleasing-provider-form,
.modal-dialog.uos-scrollable-admin-modal .uos-email-template-form,
.modal-dialog.uos-scrollable-admin-modal .uos-supplier-form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.modal-dialog.uos-scrollable-admin-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.modal-dialog.uos-scrollable-admin-modal .modal-footer {
    flex: 0 0 auto;
}

.uos-email-template-form .note-editor.note-frame {
    margin-bottom: 0;
}

.uos-email-template-form .note-editor .note-editable {
    max-height: 220px;
    min-height: 160px;
    overflow-y: auto;
}

.uos-invoice-number-copy-wrap {
    align-items: center;
    display: inline-flex;
    gap: 0.25rem;
    max-width: 100%;
}

.uos-copy-invoice-number {
    color: #6c757d;
    line-height: 1;
    padding: 0 0.125rem;
    vertical-align: baseline;
}

.uos-copy-invoice-number:hover,
.uos-copy-invoice-number:focus {
    color: #007bff;
    text-decoration: none;
}

.uos-copy-invoice-number.is-copied {
    color: #28a745;
}

.uos-copy-invoice-number.is-copy-error {
    color: #dc3545;
}

.uos-invoice-title-copy {
    font-size: inherit;
    line-height: inherit;
}

.uos-invoice-title-copy i {
    font-size: 0.8em;
}

.uos-invoice-client-logo {
    display: inline-block;
    height: 1.05rem;
    max-width: 3.5rem;
    object-fit: contain;
    vertical-align: -0.125rem;
    width: auto;
}

.uos-delivery-note-number {
    color: #212529;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.1rem;
    overflow-wrap: anywhere;
}

.uos-invoice-comment-row > td {
    background: #fff7df !important;
    border-left: 4px solid #ffc107;
    box-shadow: inset 0 1px 0 rgba(255, 193, 7, 0.18);
    cursor: pointer;
    padding: 0.65rem 0.9rem;
    text-align: left !important;
}

.uos-invoice-comment-row:hover > td {
    background: #ffefbf !important;
}

.uos-invoice-comment-preview {
    color: #28323c;
    max-width: 100%;
    text-align: left;
}

.uos-invoice-comment-preview-meta {
    color: #6c5600;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.uos-invoice-comment-preview-text {
    font-size: 0.92rem;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.uos-delivery-country-flag {
    border: 1px solid rgba(0, 0, 0, 0.18);
    display: inline-block;
    height: 14px;
    object-fit: cover;
    vertical-align: -2px;
    width: 22px;
}

.uos-delivery-note-detail-items th,
.uos-delivery-note-detail-items td {
    vertical-align: middle;
}

.uos-delivery-note-detail-items .uos-bike-stocker-col {
    min-width: 14rem;
    width: 16rem;
}

.uos-bike-stocker-details {
    min-width: 13rem;
}

.uos-bike-stocker-detail {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    column-gap: 0.6rem;
    display: grid;
    grid-template-columns: minmax(6.5rem, 45%) minmax(6rem, 1fr);
    line-height: 1.3;
    padding: 0.22rem 0;
}

.uos-bike-stocker-detail:last-child {
    border-bottom: 0;
}

.uos-bike-stocker-detail-label {
    color: #6c757d;
    font-size: 0.72rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.uos-bike-stocker-detail-value {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
    overflow-wrap: anywhere;
}

.uos-bike-stocker-detail-value-mono {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .modal-dialog.uos-scrollable-admin-modal {
        height: calc(100vh - 1rem);
        max-height: calc(100vh - 1rem);
    }
}
.uos-list-auto-refresh-control {
    min-width: 250px;
}

.uos-csb-locks-table {
    table-layout: fixed;
    width: 100%;
}

.uos-csb-locks-table th,
.uos-csb-locks-table td {
    overflow-wrap: anywhere;
    vertical-align: top;
}

.uos-csb-locks-select-col {
    width: 72px;
}

.uos-csb-locks-number-col {
    width: 180px;
}

.uos-csb-locks-client-col {
    width: 125px;
}

.uos-csb-locks-status-col {
    width: 210px;
}

.uos-csb-locks-action-col {
    width: 80px;
}

.uos-csb-lock-filename {
    display: block;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .uos-list-auto-refresh-control {
        width: 100%;
    }
}
