    html{
        background: #282e38 !important;
    }
    body {
        background: #282e38;
        font-family: "Roboto", sans-serif;
        margin: 0;
        padding-bottom: 60px;
        overflow-x: hidden;
        font-size: 14px;
        color: #919eab ;
    }
    /* FOOTER*/
    .footer
    {
        background-color: rgb(44,51,62) !important;
    }

    /* HEAD MENU */
    #topnav .topbar-main {
            background: rgb(44,51,62);
    }
    .navbar-custom
    {
        background: rgb(53,61,74);
    }
    .navigation-menu>li>a
    {
        color: rgb(173, 181, 189) !important;
    }
    .navigation-menu>li>a:hover
    {
        color: #71b6f9 !important;
    }
    .dropdown-menu, .submenu, .dropdown-item{
        background: rgb(49,56,68) !important;
        color: rgb(108,117,125) !important;
        border-color: rgb(58,66,80) !important;
    }
    .page-title{
        color: white !important;
    }
    .sidebarContainer
    {
        background: rgb(49,56,68);
    }
    /* CARDS */
    .card, .card-body, .card-box,.card-footer{
        background: rgb(49,56,68);
        color: rgb(173,181,189) !important;
        border-color: rgb(173,181,189) !important;
    }
    .card-header{
        background: #2c333e;
        color: rgb(173,181,189) !important;
    }

    /* LIST */
    .list-group-item
    {
        background: rgb(49,56,68);
    }
    .submenu>li>ul>li>a, .nav-more>.submenu>li>a{
        color: rgb(173, 181, 189) !important;
    }
    .submenu>li>ul>li>a:hover, .nav-more>.submenu>li>a:hover{
        color: #71b6f9 !important;
    }

    /* TABLES */
    th, td{
        color: rgb(152, 166, 173);
        border-color: #6f6f6f !important;
    }
    thead, tbody{
        border-color: #6f6f6f !important;
    }
    .tablesorter-colgroup
    {
        color: rgb(152, 166, 173);
        border-color: #6f6f6f !important;
    }
    .tablesorter-headerRow>th {
        background-color: rgb(49,56,68) !important;
        border-color: #6f6f6f !important;
    }
    .tablesorter-filter-row{
        background-color: rgb(49,56,68) !important;
        border-color: #6f6f6f !important;
    }
    .tablesorter-filter-row>td{
        background-color: rgb(49,56,68) !important;
        border-color: #6f6f6f !important;
    }
    .odd>td{
        background-color: rgb(49,56,68) !important;
        border-color: #6f6f6f !important;
    }
    .even>td{
        background-color: rgb(78, 78, 89) !important;
        border-color: #6f6f6f !important;
    }
    .table-striped>tbody>tr:nth-of-type(odd){
        background-color: rgb(78, 78, 89) !important;
    }

    /* FORMs */
    input, textarea, select{
        background-color: rgb(54,62,75) !important;
        color: rgb(152,166,173) !important;
        border-color: #6f6f6f !important;;
    }
    ::placeholder{
        color:rgb(108,117,125) !important;
    }

    /* DevExtreme select (dxSelectGlobal.js): vzhled jako ostatní pole, vnitřní input bez vlastního pozadí a rámečku */
    .dx-select-host.dx-editor-outlined {
        background: #323a46 !important;
        box-shadow: inset 0 0 0 1px #6f6f6f !important; /* Material kreslí rámeček stínem, ne borderem */
    }
    .dx-select-host.dx-editor-outlined.dx-state-hover { box-shadow: inset 0 0 0 1px #919eab !important; }
    .dx-select-host.dx-editor-outlined.dx-state-focused { box-shadow: inset 0 0 0 2px #71b6f9 !important; }
    .dx-select-host.dx-state-disabled { opacity: .6; }
    .dx-select-host input.dx-texteditor-input,
    .dx-select-host .dx-texteditor-buttons-container,
    .dx-select-host .dx-dropdowneditor-button,
    .dx-select-host .dx-tag-container {
        background: transparent !important;
        border: 0 !important;
        color: #919eab !important;
    }
    .dx-select-host .dx-tag-content { background: #3e4757 !important; color: #adb5bd !important; }
    /* placeholder kreslí DevExtreme sám (.dx-placeholder); globální ::placeholder by ho zdvojil */
    .dx-select-host input.dx-texteditor-input::placeholder { color: transparent !important; }
    .dx-select-host .dx-placeholder::before { color: #919eab !important; opacity: .8; }
    .input-group-append, .input-group-text{
        background-color: rgb(54,62,75) !important;
        border-color:rgb(108,117,125) !important;
        color: #6f6f6f !important;;
    }

    /* SELECT2 */
    .select2-container .select2-selection--multiple {
        border-color:rgb(108,117,125) !important;
    }
    .select2-selection__rendered, .select2-selection
    {
        background-color: rgb(54,62,75) !important;
        border-color:rgb(108,117,125) !important;
    }
    .select2-selection__arrow b{
        border-color: #c8c8c8 transparent transparent !important;
    }
    .select2-search,.select2-results__options
    {
        background: rgb(49,56,68);
    }
    .select2-results__option[aria-selected=true]
    {
        background-color: #c8c8c8 !important;
    }

    /* CK EDITOR */
    .cke_bottom, .cke_top
    {
        background: rgb(49,56,68) !important;
    }
    .cke_chrome{
        border-color: #6f6f6f !important;
    }

    /* MODALS */
    .modal-dialog
    {
        color: rgb(173,181,189) !important;
    }
    .modal-content{
        background: rgb(49,56,68) !important;
    }
    .modal-header, .modal-body, .modal-footer{
        border-bottom-color: rgb(58,66,80) !important;
        border-top-color: rgb(58,66,80) !important;
    }

    /* Pagination */
    .page-item{
        background-color: #6f6f6f !important;
    }

    /* OTHERS */
    hr{
        background: #6f6f6f !important;
    }

/*



    #topnav .navigation-menu>li>a
    {
        color:#919eab !important;
    }
    .submenu{
        background: #313844 !important;
        color: #919eab !important
    }
    .dropdown-menu, .dropdown-item{
        background: #313844 !important;
        color: #adb5bd !important
    }
    .card
    {
        background: #313844;
    }
    .card-header, .card-footer
    {
        color: #919eab !important;
    }
    .col-form-label
    {
        color: #919eab !important;
    }

    .card-box
    {
        background: #313844 !important;
        color: #adb5bd !important;
    }
    select, input, textarea{
        background: #323a46 !important;
        color: #919eab !important;
    }
    ::placeholder{
        color:#919eab !important;
    }
    .orgchart{
        background: #313844 !important;
    }
    .modal-content
    {
        background: #313844 !important;
    }
    .page-title, .modal-title{
        color: #919eab;
    }
 */

/* NOTIFIKAČNÍ PANEL (pravý vysouvací panel, style.css ho má natvrdo bílý) */
.side-bar, .right-bar {
    background: #313844 !important;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .45);
}
.right-bar h4 {
    color: #adb5bd;
    border-bottom-color: #3a4250;
}
.right-bar .right-bar-toggle {
    color: #adb5bd;
}
.notification-list .list-group-item {
    background: transparent;
    border-bottom-color: #3a4250 !important;
}
.notification-list .list-group-item:hover {
    background: #3a4250;
}
.user-list .user-list-item .user-desc span.name {
    color: #dee2e6;
}
.user-list .user-list-item .user-desc span.desc {
    color: #919eab;
}

/* SMART MODUL – horní lišta (v šabloně bg-white) */
.smartTopbar {
    background: #353d4a !important;
    border-bottom-color: #3a4250 !important;
    color: #adb5bd;
}

/* Tlačítko bez varianty (jen .btn) má tmavý text Bootstrapu – na tmavém podkladu nečitelné */
.btn:not([class*="btn-"]) {
    color: #adb5bd;
}

/* Barevné plochy uvnitř karet (stav ve Smart modulu aj.) – karta jinak vnutí šedý text s !important */
.card-body.bg-danger, .card-body.bg-success, .card-body.bg-primary, .card-body.bg-info {
    color: #fff !important;
}
.card-body.bg-warning {
    color: #343a40 !important;
}

    /* BADGE-LIGHT – v tmavém režimu bílé písmo na světlém pozadí (počty v záhlaví karet) */
    .badge-light, a.badge-light:hover, a.badge-light:focus {
        background-color: rgb(58,66,80);
        color: rgb(173,181,189);
    }

/* PHONE: logo má tmavý text – na tmavé liště ho zesvětlit (modrá zůstane díky hue-rotate) */
#topnav .logo img {
    filter: invert(1) hue-rotate(180deg) brightness(1.15);
}

/* Mobilní menu (style.css mu pod 992 px dává bílé pozadí a světlé linky) */
@media (max-width: 991px) {
    #navigation {
        background-color: rgb(53,61,74) !important;
        border-color: rgb(58,66,80) !important;
    }
    #topnav .navigation-menu .submenu {
        background: rgb(49,56,68) !important;
    }
}

/* Pole pro výběr souboru (Bootstrap custom-file) */
.custom-file-label {
    background-color: #323a46 !important;
    border-color: #6f6f6f !important;
    color: #919eab !important;
}
.custom-file-label::after {
    background-color: #3e4757 !important;
    color: #adb5bd !important;
    border-color: #6f6f6f !important;
}
