body.dark-mode, body.dark-mode #page{
    background: #222;
}
body.dark-mode *{
    color:#FFF !important;
}
body.dark-mode div{
    background-image: none !important;
    background-color: #111 !important; 
}
body.dark-mode footer{
    background-color: #111;
}

body.dark-mode .custom-logo{
    filter: contrast(0) brightness(10);
}

/* Atualização para modo escuro */
body.dark-mode [style*="background-color: #ffffffe6"], body.dark-mode article,
body.dark-mode [style*="background-color: rgb(255, 255, 255, 0.9)"],
body.dark-mode .elemento-com-fundo-branco-especifico {
    background-color: #444 !important;
}


#eg-ac-floating-tab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 40px;
    overflow: hidden;
    height: 50px;
    transition: all .2s ease;
}

#eg-ac-floating-tab.active {
    overflow: hidden;
    height: auto;
}

#eg-ac-floating-tab button {
    display: block;
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    background-size: 100%;
    margin: 10px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 0 !important;
    cursor: pointer;
    transition: all .2s ease;
}

#eg-ac-floating-tab button:hover{
    transform: scale(1.1);
}

#eg-ac-floating-tab #eg-ac-toggle-dark-mode {
    background-image: url('images/dark-mode.png');
}

#eg-ac-floating-tab #eg-ac-toggle-dark-mode.active {
    background-image: url('images/light-mode.png');
}

#eg-ac-floating-tab #eg-ac-increase-font-size {
    background-image: url('images/plus.png');
}

#eg-ac-floating-tab #eg-ac-decrease-font-size {
    background-image: url('images/minus.png');
}

#eg-ac-floating-tab #eg-ac-reset {
    background-image: url('images/reset.png');
}

#eg-ac-floating-tab #eg-ac-toggle-acessibilidade {
    background-image: url('images/acessibilidade.png');
}
