/*************** Estilos Globais (ServerModule CustomCSS) ***************/

/* ---------------------- Menu TreeView ---------------------- */
.x-treelist-nav {
    background-color: #1C1C1C !important;
    background-position: 24px 0% !important;
    padding: 0 !important;
    border: none !important;
    overflow: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #adb3b8 #516579;
}

/* Scrollbar para Mozilla */
.x-treelist-nav::-webkit-scrollbar {
    width: 7px; 
    height: 7px; 
    background: #516579;
}

.x-treelist-nav::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

.x-treelist-nav::-webkit-scrollbar-thumb {
    border-radius: 7px; 
    background: #adb3b8;
}

.x-treelist-nav .x-treelist-item-text {
    color: #adb3b8;
    margin-left: 27px;
    margin-right: 26px;
    font-size: 14px;
    line-height: 34px;
}

.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: 34px !important;
}

/* ---------------------- Botões Coloridos ---------------------- */
.BotaoPreto { background: #363636 !important; color: #fff !important; border-color: #363636 !important; }
.BotaoVermelho { background: #d9534f !important; color: #fff !important; border-color: #d9534f !important; }
.BotaoVerde { background: #28a745 !important; color: #fff !important; border-color: #28a745 !important; border-radius: 5px; }
.BotaoAzul { background: #007bff !important; color: #fff !important; border-color: #007bff !important; }
.BotaoAzulEscuro { background: #337ab7 !important; color: #fff !important; border-color: #337ab7 !important; }
.BotaoBranco { background: #FFFFFF !important; color: #fff !important; border-color: #FFFFFF !important; }
.BotaoLaranja { background: #e67e22 !important; color: #fff !important; border-color: #f0ad4e !important; }
.BotaoDarkRed { background: #8B0000 !important; color: #fff !important; border-color: #8B0000 !important; }
.BotaoMarrom { background: #8B4513 !important; color: #fff !important; border-color: #8B4513 !important; }
.BotaoRoyalBlue { background: #4169E1 !important; color: #fff !important; border-color: #4169E1 !important; }
.BotaoRoxo { background: #483D8B !important; color: #fff !important; border-color: #483D8B !important; }
.BotaoCinza { background: #778899 !important; color: #fff !important; border-color: #778899 !important; }

/* Transição comum para botões */
.BotaoPreto, .BotaoVermelho, .BotaoVerde, .BotaoAzul, 
.BotaoAzulEscuro, .BotaoBranco, .BotaoLaranja, .BotaoDarkRed, 
.BotaoMarrom, .BotaoRoyalBlue, .BotaoRoxo, .BotaoCinza {
    -webkit-transition: background 0.5s ease-in-out;
    transition: background 0.5s ease-in-out;
}

/* ---------------------- Painel Arredondado ---------------------- */
.RoundPanel {
    border-radius: 5px !important;
    background: rgba(11, 84, 151, .8) !important; 
    border: 1px solid #CCC !important;
}

/* ---------------------- Badge do Menu ---------------------- */
.badge-menu {
    opacity: 1;
    position: absolute !important; 
    right: 0 !important;
    top: 10px !important;    
    display: flex;    
    justify-content: center;
    background-color: green;
    color: white;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 8px;
    border-radius: 50%;
}