@import "_variables.css";
@import "icons.css";
@import "devexpress.css";
@import "custom.css";
@import "custom_editor.css";

@font-face {
    font-family: "Inter";
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    height: 100%;
    font-size: 16px;
}

.account-layout,
.account-layout :is(input, textarea, select, button, label, span, a, div, p, main, nav),
.login-shell,
.login-shell :is(input, textarea, select, button, label, span, a, div, p),
.logdesk-sidebar,
.logdesk-sidebar :is(a, span, div, nav) {
    font-family: var(--app-font-family) !important;
}

:root {
    --app-font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Jeden root dla DevExpress - tekst dziedziczy font */
.dxbl,
.dxbs-scheduler,
.dxbl-grid {
    font-family: var(--app-font-family);
}

    /* Wymuszenie na treściach grid/scheduler (bez psucia ikon) */
    .dxbl-grid :is(th, td, input, textarea, select, button, a, label, span, div, p),
    .dxbs-scheduler :is(th, td, input, textarea, select, button, a, label, span, div, p) {
        font-family: var(--app-font-family) !important;
    }

/* Ikon nie ruszamy */
.oi,
[class^="oi-"],
[class*=" oi-"],
.dxbl-image,
.dxbl-icon {
    font-family: inherit !important;
}


/* wszystko z prefiksem dxbl / dxbs */
[class^="dxbl-"],
[class*=" dxbl-"],
[class^="dxbs-"],
[class*=" dxbs-"] {
    font-family: var(--app-font-family) !important;
}
.fs-6 {
    font-size: 1rem !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/*scrollbar*/
::-webkit-scrollbar {
    width: var(--scroll-width);
    height: var(--scroll-height);
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 0.1rem;
    cursor: default;
    background-color: lightgray;
    background-clip: padding-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: gray;
    }

/*tooltip*/
.tooltip .tooltip-inner {
    max-width: 30rem !important;
}


/*Bootstrap override*/
thead th {
   text-transform: inherit !important;
}

/*reconnect modal*/
.reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.85;
    text-align: center;
    font-weight: bold;
    padding-top: 1rem
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-refused > div {
    display: none;
}

.components-reconnect-refused > .refused {
    display: block;
}


/*responsive font sizes*/
@media (min-width: 0) {
    .fs-xss-1 {
        font-size: calc(1.375rem + 1.5vw - var(--fs-xss-offset)) !important
    }

    .fs-xss-2 {
        font-size: calc(1.325rem + .9vw - var(--fs-xss-offset)) !important
    }

    .fs-xss-3 {
        font-size: calc(1.3rem + .6vw - var(--fs-xss-offset)) !important
    }

    .fs-xss-4 {
        font-size: calc(1.275rem + .3vw - var(--fs-xss-offset)) !important
    }

    .fs-xss-5 {
        font-size: calc(1.25rem - var(--fs-xss-offset)) !important
    }

    .fs-xss-6 {
        font-size: calc(1rem - var(--fs-xss-offset)) !important
    }

}

@media (min-width: 576px)  {
    .fs-xs-1 {
        font-size: calc(1.375rem + 1.5vw - var(--fs-xs-offset)) !important
    }

    .fs-xs-2 {
        font-size: calc(1.325rem + .9vw - var(--fs-xs-offset)) !important
    }

    .fs-xs-3 {
        font-size: calc(1.3rem + .6vw - var(--fs-xs-offset)) !important
    }

    .fs-xs-4 {
        font-size: calc(1.275rem + .3vw - var(--fs-xs-offset)) !important
    }

    .fs-xs-5 {
        font-size: calc(1.25rem - var(--fs-xs-offset)) !important
    }

    .fs-xs-6 {
        font-size: calc(1rem - var(--fs-xs-offset)) !important
    }

    .fs-bold-xs-1 {
        font-size: calc(1.375rem + 1.5vw - var(--fs-xs-offset)) !important;
        font-weight: bold;
    }

    .fs-bold-xs-2 {
        font-size: calc(1.325rem + .9vw - var(--fs-xs-offset)) !important;
        font-weight: bold;
    }

    .fs-bold-xs-3 {
        font-size: calc(1.3rem + .6vw - var(--fs-xs-offset)) !important;
        font-weight: bold;
    }

    .fs-bold-xs-4 {
        font-size: calc(1.275rem + .3vw - var(--fs-xs-offset)) !important;
        font-weight: bold;
    }

    .fs-bold-xs-5 {
        font-size: calc(1.25rem - var(--fs-xs-offset)) !important;
        font-weight: bold;
    }

    .fs-bold-xs-6 {
        font-size: calc(1rem - var(--fs-xs-offset)) !important;
        font-weight: bold;
    }

    .w-xs-auto {
        width: 100% !important;
    }
}
@media (min-width: 768px)  {
    .fs-sm-1 {
        font-size: calc(1.375rem + 1.5vw - var(--fs-sm-offset)) !important
    }

    .fs-sm-2 {
        font-size: calc(1.325rem + .9vw - var(--fs-sm-offset)) !important
    }

    .fs-sm-3 {
        font-size: calc(1.3rem + .6vw - var(--fs-sm-offset)) !important
    }

    .fs-sm-4 {
        font-size: calc(1.275rem + .3vw - var(--fs-sm-offset)) !important
    }

    .fs-sm-5 {
        font-size: calc(1.25rem - var(--fs-sm-offset)) !important
    }

    .fs-sm-6 {
        font-size: calc(1rem - var(--fs-sm-offset)) !important
    }
}
@media (min-width: 992px) {
    .fs-md-1 {
        font-size: calc(1.375rem + 1.5vw - var(--fs-md-offset)) !important
    }

    .fs-md-2 {
        font-size: calc(1.325rem + .9vw - var(--fs-md-offset)) !important
    }

    .fs-md-3 {
        font-size: calc(1.3rem + .6vw - var(--fs-md-offset)) !important
    }

    .fs-md-4 {
        font-size: calc(1.275rem + .3vw - var(--fs-md-offset)) !important
    }

    .fs-md-5 {
        font-size: calc(1.25rem - var(--fs-md-offset)) !important
    }

    .fs-md-6 {
        font-size: calc(1rem - var(--fs-md-offset)) !important
    }
}

.min-w-max-c {
    min-width: max-content !important;
}

.min-w-fit-c {
    min-width: fit-content !important;
}

.text-overflow-clip {
    text-overflow: clip !important;
}

.w-max-c {
    width: max-content !important;
}

.el-hover:hover {
    cursor: pointer;
}

.h-fit-c {
    height: fit-content !important;
}

.ps-4_5 {
    padding-left: 2rem;
}

.pe-4_5 {
    padding-right: 2rem;
}

.pt-4_5 {
    padding-top: 2rem;
}

.pb-4_5 {
    padding-bottom: 2rem;
}

.w-0 {
    width: 0 !important;
}

/* Blazored TextEditor classes */
.ql-align-right {
    text-align: right;
}

.ql-align-center {
    text-align: center;
}

.ql-align-left {
    text-align: left;
}

/* prevent selection of text */
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.dxbl-drawer .dxbl-drawer-body,
.dxbl-drawer .dxbl-drawer-panel {
    padding: 0 !important;
    height: 100vh;
    max-height: 100%;
    margin-top: 1px;
}

.demo-drawer .dxbl-drawer-content {
    font-size: var(--dxbl-drawer-panel-font-size);
    line-height: var(--dxbl-drawer-panel-line-height);
    overflow: auto;
    padding: var(--dxbl-drawer-panel-padding-y) var(--dxbl-drawer-panel-padding-x);
}

.demo-drawer:has(.demo-drawer-menu) {
    --dxbl-drawer-panel-body-padding-x: 0;
    --dxbl-drawer-panel-body-padding-y: 0;
}

.dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-x: 0.9375rem;
    --dxbl-menu-top-left-border-radius: 0;
    --dxbl-menu-top-right-border-radius: 0;
    --dxbl-menu-bottom-left-border-radius: 0;
    --dxbl-menu-bottom-right-border-radius: 0;
}

.dxbl-sm .dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-x: 0.8125rem;
}

.dxbl-lg .dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-x: 1.0625rem;
}

.theme-fluent-light .dxbl-menu.demo-drawer-menu,
.theme-fluent-dark .dxbl-menu.demo-drawer-menu {
    --dxbl-menu-item-padding-y-s: var(--DS-sizing-xs);
}

.theme-fluent-light .dxbl-btn-toolbar .dxbl-btn.demo-drawer-toggle-button,
.theme-fluent-dark .dxbl-btn-toolbar .dxbl-btn.demo-drawer-toggle-button {
    --dxbl-btn-padding-x-s: var(--DS-sizing-s);
    --dxbl-btn-padding-x-m: var(--DS-sizing-m);
    --dxbl-btn-padding-x-l: var(--DS-sizing-l);
}

.demo-drawer-mini .demo-drawer-mini-menu .dxbl-menu-item-text {
    visibility: hidden;
    transition: visibility linear var(--dxbl-drawer-animation-duration);
    height: 100vh;
    max-height: 100%;
}

.no-border {
    border: 0 !important;
    box-shadow: 0 !important;
    background-color: transparent !important;
}

.navbar-left {
    justify-content: flex-start;
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 30px;
    min-width: 150px;
    max-width: 220px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 8px 0;
}

.dashboard-tile {
    display: flex; 
    flex-direction: row;
    align-items: center; 
    gap: 1rem; 
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,0.1);
    min-height: 100px;
    text-align: left;
}

.tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #36A9DF; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .tile-icon img {
        width: 50%;
        height: 50%;
        filter: brightness(0) invert(1);
    }

.tile-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tile-caption {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.tile-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #36A9DF;
    line-height: 1;
}

.tile-subcaption {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.tile-indicator {
  margin-left: auto;                
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  background-color: #e6f4ea;        
  color: #218838;                   
  font-size: 12px;
  font-weight: 500;
  border-radius: 9999px;            
  white-space: nowrap;
}

.tile-indicator-down {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    background-color: #f0a1a1;
    color: #d91414;
    font-size: 12px;
    font-weight: 500;
    border-radius: 9999px;
    white-space: nowrap;
}

.indicator-arrow {
  font-size: 0.65rem;
  line-height: 1;
}

.appointments-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,0.1);
}

    .appointments-table th,
    .appointments-table td {
        padding: 12px 16px;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }

    .appointments-table th {
        font-weight: 500;
        font-size: 0.9rem;
    }

    .appointments-table tbody tr:hover {
        background: #fafafa;
    }



/* NOWY PASEK NAWIGACJI */
.logdesk-sidebar {
    border-radius: 12px;
    padding: 16px 0 0 0;
    overflow-y: auto;
    flex-direction: column;
    justify-content: space-between;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.logdesk-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.logdesk-sidebar::-webkit-scrollbar-thumb {
    background: transparent;
}

.logdesk-sidebar-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.logdesk-nav-group {
    position: relative;
}

.logdesk-subnav {
    display: none;
    flex-direction: column;
    margin: 0 0px 0px 12px;
    padding-bottom: 4px;
}

.logdesk-subnav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin: 2px 8px;
    border-radius: 12px;
    color: #4b5563 !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

    .logdesk-subnav-item:hover {
        background: #f3f4f6;
        color: #111827;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    }

.logdesk-nav-group.is-open .logdesk-subnav {
    display: flex;
}

.sidebar-collapsed .logdesk-subnav {
    display: none !important;
}


.logdesk-nav {
    background-color: white;
    border-radius: 1rem;
    width: 95%;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    margin-left: 12px;
    padding: 4px 0;
}

.sidebar-collapsed .logdesk-nav {
    width: 55px;
    margin-left: 4px;
    margin-right: 12px;
    padding: 4px 0;
}

.sidebar-collapsed .logdesk-nav-label,
.sidebar-collapsed .logdesk-nav-wms-label {
    display: none !important;
}


.sidebar-collapsed .logdesk-nav-item {
    justify-content: center !important;
    padding: 10px 0;
    gap: 0;
    width: 40px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.logdesk-nav-item:hover .icon {
    transform: scale(1.12);
}

.logdesk-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin: 2px 8px;
    border-radius: 12px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    cursor: pointer;
}

    .logdesk-nav-item:hover {
        background: var(--main-color-hover);
        transform: scale(1.05);
        color: black;
    }

    .logdesk-nav-item.is-active {
        background: #ffffff;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    }

.logdesk-nav-label,
.logdesk-nav-wms-label {
    opacity: 1;
    max-width: 160px;
    transform: translateX(0);
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.20s ease 0.12s, max-width 0.20s ease 0.12s, transform 0.20s ease 0.12s;
}

.sidebar.logdesk-sidebar {
    width: 280px;
    min-width: 280px;
    transition: width 0.25s ease-in-out, min-width 0.25s ease-in-out, padding 0.25s ease-in-out;
}

    .sidebar.logdesk-sidebar.sidebar-collapsed {
        width: 70px !important;
        min-width: 70px !important;
        padding-left: 8px;
        padding-right: 8px;
    }


.logdesk-nav-item .icon {
    width: 24px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
    transition: transform 0.18s ease-in-out;
}

.logdesk-nav-item .icon-bs-black-medium {
    width: 24px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
    transition: transform 0.18s ease-in-out;
}

.avatar-menu:hover {
    cursor: pointer;
    transform: scale(1.05);
}


.logdesk-sidebar-marketplaces {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
}

    .logdesk-sidebar-marketplaces .logdesk-nav {
        max-height: 310px;
        overflow-y: auto;
    }



    /* Firefox */
    .logdesk-sidebar-marketplaces .logdesk-nav {
        scrollbar-width: none;
    }

        /* Safari */
        .logdesk-sidebar-marketplaces .logdesk-nav::-webkit-scrollbar {
            display: none;
        }


.logdesk-marketplace-icon {
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    margin-right: 0rem;
    position: relative;
    top: -1px;
}

.logdesk-sidebar-warehouses {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
}

    .logdesk-sidebar-warehouses .logdesk-nav {
        max-height: 310px;
        overflow-y: auto;
    }

        /* ukrycie scrollbara – Chrome / Edge / Opera */
    .logdesk-sidebar-warehouses .logdesk-nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    /* Firefox */
    .logdesk-sidebar-warehouses .logdesk-nav {
        scrollbar-width: none;
    }

        /* Safari */
        .logdesk-sidebar-warehouses .logdesk-nav::-webkit-scrollbar {
            display: none;
        }


.logdesk-warehouse-icon {
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    margin-right: 0rem;
    position: relative;
    top: -1px;
}


/* NOWY PASEK NAWIGACJI */
/*********************************
    WRAPPER & HEADER
*********************************/



/*********************************
    POPUP DETAILS STYLING
*********************************/

.dx-popup-title {
    font-size: 18px !important;
    font-weight: 600 !important;
}

.logdesk-integrations-details .dx-fl-item-caption {
    font-weight: 600;
    color: #374151;
}

.logdesk-integrations-details {
    padding: 10px;
    font-size: 14px;
}




.beta-badge {
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    font-weight: 600;
    position: relative;
    top: -2px;
}

.kanban-id-link {
    cursor: pointer;
    color: #C46024;
    font-weight: 600;
}

    .kanban-id-link:hover {
        text-decoration: underline;
    }





/*index*/
.index-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
    gap: 16px;
    align-items: stretch;
}

.index-layout-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%; /* ważne, żeby złapało wysokość rzędu grida */
}

    .index-layout-sidebar > * + * {
        margin-top: 16px;
    }



@media (max-width: 1200px) {
    .index-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}


/* liveactivitypanel */
.side-panels {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-activity-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 14px 10px 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin-bottom: 20px;
    max-height: 615px;
    z-index: 100 !important;
    position: relative !important;
}

.live-activity-header {
    display: flex;
    justify-content: space-between;
    color: #111827;
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.live-activity-loader {
    flex: 1 1 auto; /* <-- wypełnij wysokość listy */
    width: 100%;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    min-height: 240px;
}


.live-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    flex: 1 1 auto; /* <-- klucz */
    min-height: 240px; /* <-- przestrzeń na loader */
    align-items: stretch; /* <-- loader będzie na pełną szerokość */
}

.live-activity-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 6px;
    border-radius: 10px;
    background: #f9fafb;
}

.live-activity-left {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.live-activity-bullet {
    margin-top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #4f46e5;
}

.live-activity-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.live-activity-title {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
}

    .live-activity-title:hover {
        text-decoration: underline;
    }

.live-activity-sub {
    font-size: 11px;
    color: #6b7280;
}

.live-activity-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    flex: 0 0 70px;
}

.live-activity-time {
    color: #9ca3af;
    font-variant-numeric: tabular-nums;
}

.live-activity-tag {
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.live-activity-tag-gray {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #374151;
}

.live-activity-tag-blue {
    background: #dbeafe;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.live-activity-tag-purple {
    background: #f3e8ff;
    border-color: #e9d5ff;
    color: #7c3aed;
}

.live-activity-tag-green {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #16a34a;
}

.live-activity-tag-red {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

.live-activity-empty {
    list-style: none;
    text-align: center;
    padding: 1.5rem 0;
    color: #6b7280;
}


/*********************************
    WRAPPER & HEADER
*********************************/
.okapi-integrations-wrapper {
    padding: 24px;
    background: #ffffff;
    z-index: 100 !important;
    position: relative !important;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.okapi-integrations-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    background: #ffffff;
    z-index: 100 !important;
    flex-wrap: wrap;
    gap: 16px;
    position: relative !important;
}

.okapi-integrations-title span {
    font-size: 22px;
    font-weight: 700;
}

.okapi-integrations-title small {
    font-size: 13px;
    color: #6b7280;
}

/*********************************
    ACTIONS (search + filter)
*********************************/

.okapi-integrations-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.okapi-integrations-search,
.okapi-integrations-filter {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    background-color: #fff;
}

    .okapi-integrations-search:focus,
    .okapi-integrations-filter:focus {
        outline: 2px solid #f26444;
        border-color: #f26444;
    }

/*********************************
    EMPTY STATE
*********************************/

.okapi-integrations-empty {
    padding: 40px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

/*********************************
    GROUP BLOCK (border, category name)
*********************************/

.okapi-integrations-group {
    border: 1px dashed #e5e7eb;
    border-radius: 16px;
    padding: 16px 18px 20px;
    background: #fafafa;
    margin-bottom: 20px;
}

.okapi-integrations-group-title {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
}

/*********************************
    TILE GRID
*********************************/

.okapi-integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

/*********************************
    TILE (CARD)
*********************************/

.okapi-integrations-tile {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.15s ease;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

    .okapi-integrations-tile:hover {
        transform: translateY(-3px);
        border-color: #f26444;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    }

/*********************************
    LOGO AREA
*********************************/

.okapi-integrations-logo img {
    max-width: 130px;
    max-height: 38px;
    object-fit: contain;
}

/* Placeholder w razie braku loga */
.okapi-integrations-logo-placeholder {
    width: 130px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    font-size: 14px;
}

/*********************************
    CAPTION (name under logo)
*********************************/

.okapi-integrations-caption {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #111827;
}

.okapi-integrations-owner {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: #111827;
    margin-bottom: 10px; 
}


.integration-info {
    padding: 18px 18px 20px;
}

.integration-info-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    min-height: 56px;
}

    .integration-info-logo img {
        height: 52px;
        max-width: 260px;
        object-fit: contain;
        display: block;
    }

.integration-info-desc {
    font-size: 14px;
}


.toolbar-integrations .dxbl-toolbar-item-icon,
.toolbar-integrations .dxbl-image {
    max-height: 42px;
    max-width: 96px;
    width: auto;
    height: 32px;
    object-fit: contain;
}

.toolbar-integrations .dxbl-toolbar {
    max-height: 58px;
}

/* Mobile sidebar collapse - completely hide instead of shrinking */
.sidebar.logdesk-sidebar.sidebar-mobile.sidebar-collapsed {
    display: none !important;
}

.sidebar.logdesk-sidebar.sidebar-mobile {
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

/* Body-driven sidebar toggle (works regardless of render mode) */
body.sidebar-collapsed .sidebar.logdesk-sidebar.sidebar-desktop {
    width: 70px !important;
    min-width: 70px !important;
    padding-left: 8px;
    padding-right: 8px;
}

body.sidebar-collapsed .sidebar.logdesk-sidebar.sidebar-desktop .logdesk-nav-label,
body.sidebar-collapsed .sidebar.logdesk-sidebar.sidebar-desktop .logdesk-nav-wms-label {
    display: none !important;
}

body.sidebar-collapsed .sidebar.logdesk-sidebar.sidebar-mobile {
    display: none !important;
}

.header-hamburger {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
}

.header-hamburger:hover {
    opacity: 0.7;
}

.header-navbar > .d-flex {
    align-items: center !important;
}

.header-navbar .header-logo,
.header-navbar .header-hamburger {
    align-self: center;
}

.tickets-toolbar-search { min-width: 220px; }

