﻿html, body {
    height: 100dvh;
    overflow: hidden;
}

.text-pre {
    white-space: pre-line;
}

.dm-nav-menu {
    --dxbl-accordion-group-header-default-bg: var(--DS-color-surface-primary-subdued-rest);
    --dxbl-accordion-group-header-hover-bg: var(--DS-color-surface-primary-subdued-hovered);
    --dxbl-accordion-group-border-radius: 0;
}

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed;
    border-width: 2px !important;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(183, 183, 183, 0.1);
}

    .custom-drop-zone.custom-drop-zone-hover {
        border-style: solid;
    }

    .custom-drop-zone svg {
        width: 42px;
        height: 42px;
    }

    .custom-drop-zone > *:not(#overviewDemoSelectButton) {
        pointer-events: none;
    }

/* MENU */
.dm-nav-app__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 8px 12px 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary);
    line-height: 1;
    gap: 4px;
    min-height: 36px;
}

    .dm-nav-app__header span:first-child {
        flex: 1;
        text-align: left;
        line-height: 1;
    }

.dm-nav-app--active .dm-nav-app__header {
    color: var(--bs-primary);
}

.dm-nav-app__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.dm-nav-app__chevron--open {
    transform: rotate(90deg);
}

/* Položky */
.dm-nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 32px;
    padding: 0 24px;
    color: inherit;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1;
    transition: background 0.15s;
}

    .dm-nav-item:hover {
        background: rgba(0, 0, 0, 0.05);
    }

.dm-nav-item--active {
    color: var(--bs-primary);
    font-weight: 600;
    background: rgba(var(--bs-primary-rgb), 0.08);
}

/* Separátor */
.dm-nav-separator {
    margin: 4px 16px;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

/* Devexpress Tabs */
.scroll-tabs.dxbl-tabs {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.scroll-tabs .dxbl-tabs-content-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.scroll-tabs .dxbl-tabs-content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}