@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #ffffff;
    --first-color-light: #666;
    --white-color: #333 /*#F7F6FB*/;
    --header-color: #ddd;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;

    /*--bs-primary: #FF6A59;*/

    --body-background: #F0F0F0;

    --sidebar-nav-link-color: #666;
    --sidebar-nav-link-hover-color: #333;
    --sidebar-background-color: #ffffff;
    --sidebar-logo-color: #333;

    --sidebar-nav-link-active-color: #fff;
    --sidebar-nav-link-active-hover-color: #eee;
    --sidebar-nav-link-active-background-color: var(--bs-primary);
}

*, ::before, ::after {
    box-sizing: border-box
}

body {
    /*position: relative;*/
    /*margin: var(--header-height) 0 0 0;*/
    /*padding: 0 1rem;*/
    /*font-family: var(--body-font);*/
    /*font-size: var(--normal-font-size);*/
    background-color: var(--body-background);
    transition: .5s
}


.ui-sortable-placeholder {
    height: 40px; /* Высота, которую будет занимать плейсхолдер */
    background: #f0f0f0; /* Цвет фона для плейсхолдера */
    border: 1px dashed #ccc; /* Граница для плейсхолдера */
    visibility: visible !important; /* Обеспечиваем видимость плейсхолдера */
}


tr[data-level="2"], tr[data-level="3"], tr[data-level="4"],
tr[data-level="5"], tr[data-level="6"], tr[data-level="7"],
tr[data-level="8"], tr[data-level="9"], tr[data-level="10"] {
    display: none;
}

.toggle-btn {
    cursor: pointer;
    /*padding: 2px 5px;*/
    /*margin-right: 5px;*/
}

.leverer {
    display: inline-block;
    width: 60px;

}

.toggle-btn:active, .toggle-btn:hover, .toggle-btn:focus {
    outline: 0;
    outline-offset: 0;
    box-shadow: none;
}


.breadcrumb {
    position: relative;
    box-sizing: border-box;
    margin: 20px 0 20px;
    padding: 10px;
    background-color: #fff;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}


.dropdown:hover .dropdown-menu,
.dropdown:focus .dropdown-menu,
.dropdown-toggle:focus + .dropdown-menu {
    display: block;
    z-index: 1051;
}


.goods-tree > .card {
    overflow-x: scroll;
}

.mailingButton {
    margin-left: 15px;
    /*    position: absolute;*/
    /*    right:0;*/
    /*    bottom:50px;*/
}

.mailing-hidden {
    display: none;
}


#loading-indicator {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);

}

#loading-indicator div {
    width: 0;
    background-color: #f0ad4e;
    animation: progress 2s linear infinite;
}

@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}


.drag-handle {
    cursor: move;
    font-size: 18px;
    color: #007bff;
    user-select: none;
}

.drag-handle:hover {
    color: #0056b3;
}

.drag-handle-cell {
    text-align: center;
    width: 50px;
}

#notification-container .alert {
    margin-bottom: 1rem; /* Расстояние между уведомлениями */
    max-width: 300px; /* Максимальная ширина */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень для эффекта "выпуклости" */
}


@media (min-width: 768px) {
    .goods-tree{
        max-height: 100vh;
        height: 100%;
        overflow: scroll;
    }
    .good-work{
        max-height: 100vh;
        height: 100%;
        overflow-y: scroll;
    }
}
