.main-menu .x-treelist-nav .x-treelist-item-text {
    line-height: 35px;
}
.main-menu .x-treelist-nav .x-treelist-item-icon:before, .x-treelist-nav .x-treelist-item-tool:before, .x-treelist-nav .x-treelist-item-expander {
    line-height: 35px;
}


.main-menu .x-treelist-nav .x-treelist-row {
    padding-left: 4px; 
    padding-right: 1px; 
}
/* x-treelist-item x-treelistitem x-treelist-item-leaf x-treelist-item-with-icon x-treelist-item-selected */
/* .main-menu .x-treelist-nav .x-treelist-row .x-treelist-item-wrap{
    padding-left: 18px; 
} */
/* .logo-caption  {
    background-color: #32404e;
    color: #fff;
}  */

.user-label {
    color: #adb3b8;
    font: normal 10px tahoma, arial, helvetica, sans-serif;
} 

.logo-btn-exit {
    border-color: #32404e ;
    background-color: #32404e ;    
}

.logo-btn-exit .x-btn-inner {
    overflow: visible !important;
    font: normal 10px tahoma, arial, helvetica, sans-serif;
    color: #adb3b8;
}

.logo-btn-exit .x-btn-inner-default-medium {
    color: #adb3b8;
    padding: 0 0px !important;
    max-width: 100%;
} 


.x-panel-body-default .logo-caption  {
    background-color: #32404e;
    color: #fff;
} 

.x-panel-body-default .logo-image  {
    background-color: #32404e;
}

.x-panel-body-default .logo-version  {
    background-color: #32404e;
    color: #adb3b8;
} 

.main-menu-detail .x-tab-close-btn {
        background-image: url("/files/img/Close.png");
        background-size: 14px auto;
        background-repeat: no-repeat;
        background-position: -1px 2px !important;
        width: 14px;
        height: 14px;
}

.main-menu .x-treelist-nav .x-treelist-item-text {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap; 
}

.badge-chats-count {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px; 
    height: 25px; 
    background-color: #1E90FF; 
    color: white; 
    border-radius: 5px; 
    text-align: center;
    font-size: 14px;
}

.order-menu-item-execute {
    /* background-color: #f8d7da;  */
    height: 30px; /* Увеличенная высота */
    line-height: 30px; /* Центрирование текста по вертикали */
    font-weight: bold; /* Жирный шрифт */
}

.order-menu-item-rollback {
    transition: background-color 0.15s ease;
    line-height: 25px; /* Центрирование текста по вертикали */
    height: 25px; /* Увеличенная высота */
}

.order-menu-item-rollback .x-menu-item-text {
    transition: color 0.15s ease,
                font-size 0.15s ease;
}

.order-menu-item-rollback.x-menu-item-active {
    background-color: #e25e6b !important;
}

.order-menu-item-rollback.x-menu-item-active .x-menu-item-text {
    color: #ffffff !important;
    font-size: 14px;   /* было 13px по умолчанию */
    font-weight: 600;
}

.order-menu-item-edit {
    /* background-color: #f8d7da;  */
    height: 25px; /* Увеличенная высота */
    line-height: 25px; /* Центрирование текста по вертикали */
    font-weight: bold; /* Жирный шрифт */
}

.order-menu-item-delete {
    position: relative;
    transition: background-color 0.15s ease;
}

/* основной текст */
.order-menu-item-delete .x-menu-item-text {
    display: block;
    transition: color 0.15s ease, font-size 0.15s ease;
}

/* hover состояние */
.order-menu-item-delete.x-menu-item-active {
    background-color: #dc3545 !important;
    z-index: 20000;
}

/* основной текст белый и чуть больше */
.order-menu-item-delete.x-menu-item-active .x-menu-item-text {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    /* line-height: normal;  */
}

/* белая иконка */
.order-menu-item-delete.x-menu-item-active .x-menu-item-icon-default {
    color: #ffffff !important;
}

/* ===== Подсказка ===== */
.menu-subtext {
    display: block;
    font-size: 11px;
    font-weight: 300;         /* тонкий шрифт */
    /* line-height: 14px;       чуть больше межстрочного интервала */ 
    letter-spacing: 0.2px;    /* лёгкое расширение для читаемости */
    color: #ffffff;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.15s ease, max-height 0.15s ease;
}

/* показываем только при hover */
.order-menu-item-delete.x-menu-item-active .menu-subtext {
    opacity: 1;
    max-height: 20px; /* достаточная высота для текста */
}


.protocol-menu-item-delete {
    transition: background-color 0.15s ease;
    line-height: 25px; /* Центрирование текста по вертикали */
    height: 25px; /* Увеличенная высота */
}

.protocol-menu-item-delete .x-menu-item-text {
    transition: color 0.15s ease,
                font-size 0.15s ease;
}

.protocol-menu-item-delete.x-menu-item-active {
    background-color: #dc3545 !important;
}

.protocol-menu-item-delete.x-menu-item-active .x-menu-item-text {
    color: #ffffff !important;
    font-size: 14px;   /* было 13px по умолчанию */
    font-weight: 600;
}

.protocol-menu-item-delete.x-menu-item-active .x-menu-item-icon-default {
    color: #ffffff !important;
}