:root {
    --artic-grey: #f3f5f7;
    --midnight-black: #171718;
    --full-black: #050505;
    --dusk-purple: #5b00b6;
    --sunset-red: #fb1b1f;
    --atlantic-blue: #3c2aea;
    --pacific-blue: #00ccfe;
    --aquamarine-blue-gradient: linear-gradient(120deg, #00ccfe 0%, #3c2aea 100%);
    --gloaming-pink-gradient: linear-gradient(120deg, #fb1b1f 0%, #5b00b6 100%);
    }
    
    * {
    transition: color 0.5s;
    }
    
    #newtogglemenu {
        display: none;
    }
    
    .wp-menu-image.svg {
        filter: brightness(2);
    }
    
    /*box do painel*/
    #adminmenu, #adminmenuback, #adminmenuwrap {
        background-color: transparent;
    }
    
    #adminmenuwrap {
        width: 242px !important;
        background: transparent !important;
        padding: 10px;
    }

    #adminmenu li.wp-menu-separator {
        height: 0px !important;
        margin-bottom: 15px !important;
        margin-top: 15px !important;
        border-bottom: 1px solid #ffffff14;
        width: 100%;
    }
    
    ul#adminmenu {
        width: 212px !important;
        background: var(--full-black);
        border-radius: 15px;
        padding: 30px 15px;
        margin: 0px !important;
    }
    
    #adminmenu>li:not(#menu-atom6p_logo) .wp-menu-image>img {
        max-width: 70%;
        max-height: 70%;
        padding: 15%;
        transition: .2s;
        opacity: 1;
    }
    
    #wpcontent, #wpfooter {
        margin-left: 264px !important;
        border-radius: 10px 0px 0px 10px;
        overflow: hidden;
        padding: 48px !important;
    }

    /* Estilo específico para a logo do topo */
    .atom6p-top-logo img {
        max-width: 150px;
        height: auto;
    }

    #menu-atom6p_logo .wp-menu-image img {
        padding: 0px;
        opacity: 1;
        width: 180px;
        height: 50px;
        object-fit: contain;
        filter: brightness(1000) saturate(0);
    }
    
    /* hover botoes*/
    
    ul#adminmenu li:not(#menu-atom6p_logo) a {
        background: transparent !important;
        border-radius: 5px;
        box-shadow: none;
        transition: all 0.3s ease;
    }
    
    ul#adminmenu li:not(#menu-atom6p_logo).current a.current 
    {
            background: var(--gloaming-pink-gradient) !important;
            box-shadow: none;
        }
    
        ul#adminmenu li:not(#menu-atom6p_logo).wp-has-current-submenu > a.wp-has-current-submenu {
            background: #2f2f32 !important;
            box-shadow: none;
        }
        
    
    ul#adminmenu li:not(#menu-atom6p_logo) a:focus {
        background: var(--full-black) !important;
        box-shadow: none;
    }
    
    ul#adminmenu li:not(#menu-atom6p_logo) a:hover {
        background: #2f2f32 !important;
        box-shadow:none;
    }
    
    ul#adminmenu li#menu-atom6p_logo.current a.current,
    ul#adminmenu li#menu-atom6p_logo.wp-has-current-submenu > a.wp-has-current-submenu,
    ul#adminmenu li#menu-atom6p_logo a:focus,
    ul#adminmenu li #menu-atom6p_logo a:hover {
        box-shadow:none !important;
        box-shadow: none;
    }
    
    
    ul#adminmenu li#menu-atom6p_logo.current a.current,
    ul#adminmenu li#menu-atom6p_logo.wp-has-current-submenu > a.wp-has-current-submenu,
    ul#adminmenu li#menu-atom6p_logo a:focus,
    ul#adminmenu li #menu-atom6p_logo a:hover {
        box-shadow:none !important;
    }
    
    #menu-atom6p_logo,
    #menu-atom6p_logo a {
        background: transparent !important;
        padding: 0 !important;
    }
    
    #menu-atom6p_logo::after,
    #menu-atom6p_logo a::after {
        content: none !important;
    }
    
    #adminmenu .update-plugins.wf-menu-badge {
        background-color: #fff !important;
    }
    
    #adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
        display: flex;
        background: var(--midnight-black);
        width: 192px;
        margin-top: 10px;
        padding: 10px;
        border-radius: 10px;
        gap: 5px;
        flex-direction: column;
    }
    
    #adminmenu .wp-submenu a:hover,
    #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
    #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,
    .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
    #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover {
        color: #ffffff !important;
        box-shadow: none;
    }
    
    #adminmenu .wp-submenu a:focus,
    #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
    #adminmenu .wp-submenu a:active,
    #adminmenu .wp-has-current-submenu .wp-submenu a:active,
    #adminmenu .wp-submenu a:visited,
    #adminmenu .wp-has-current-submenu .wp-submenu a:visited {
        color: #ffffff !important;
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    li#menu-posts:hover {
        background: transparent !important;
    }
    
    #adminmenu li.menu-top:hover {
        background: transparent !important;
    }
    
    ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu>li.current>a.current:after {
        right: -16px;
    }
    
    /* Query Monitor plugin */
    body.wp-admin #qm {
        margin-left: 220px !important;
    }
    
    @media (min-width: 961px) {
        .auto-fold .interface-interface-skeleton {
            left: 250px;
        }
    }
    
    /* Gutenberg */
    .auto-fold .edit-post-header {
        left: 220px;
    }
    
    .auto-fold .components-notice-list {
        left: 220px;
    }
    
    /* Various themes fix */
    @media screen and (min-width: 961px) {
        body.auto-fold .edit-post-layout__content {
            margin-left: 220px;
        }
    }
    
    /* ajustar a barra admin */
    #wpadminbar {
        display: flex;
        top: 10px;
        left: auto;
        right: 10px !important;
        width: auto;
        min-width: auto;
        justify-content: flex-end;
        border-radius: 10px;
        background: var(--full-black);
    }

    div#wp-toolbar {
        /* width: auto; */
        gap: 36px;
        display: flex;
        flex-direction: row;
    }

    
    .ab-item{
        color: #fff !important;
    }

    .ab-item:hover {
        color: var(--artic-grey) !important;
    }
    
    
      
    
    /* Remove o padding da barra admin removida */
    html.wp-toolbar {
        padding-top: 0px;
    }
    
    /* Remove o botão de diminuir a barra lateral */
    #collapse-menu {
        display: none;
    }
    
    /* Separador do link sair */
    #menu-logout {
        margin-top: 30px !important;
    }
    
    #menu-ver-site .wp-menu-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 30px !important;
    }
    
    #menu-user img {
        opacity: 1;
        width: 20px;
        border-radius: 5px;
        padding-top: 6px !important;
    }
    
    #menu-atom6p_logo {
        height: 80px;
    }
    
    #menu-atom6p_logo:hover, #menu-atom6p_logo a:hover {
        background: transparent !important;
    }
    
    #menu-atom6p_logo .wp-menu-image {
        width: 100% !important;
        padding: 20px;
        box-sizing: border-box;
        height: 80px !important;
        padding-top: 0px;
        padding-left: 10px;
        padding-right: 40px;
    }
    
    #menu-atom6p_logo .wp-menu-image img {
        opacity: 1;
        width: 100%;
    }
    
    #adminmenu li a {
        padding-left: 10px !important;
        margin-top: 7px;
    }
    
    #newtogglemenu {
        background: var(--midnight-black);
        width: 50px;
        height: 50px;
        position: absolute;
        left: 10px;
        z-index: 999999;
        top: 0px;
        border-radius: 0px 0px 4px 4px;
    }
    
    #adminmenu li:first-child > a.menu-top:focus {
        background: transparent;
    }
    
    .hamburguer {
        position: relative;
        display: block;
        background: var(--artic-grey);
        width: 30px;
        height: 3px;
        top: 25px;
        left: 10px;
        transition: .5s ease-in-out;
    }
    
    .hamburguer:before,
    .hamburguer:after {
        background: var(--artic-grey);
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        transition: .5s ease-in-out;
    }
    
    .hamburguer:before {
        top: -10px;
    }
    
    .hamburguer:after {
        bottom: -10px;
    }
    
    
    #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, #adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
        display: none;
    }
    
    
    .button.button-primary.button-hero:hover {
        box-shadow: inset 0px 0px 200px 30px var(--full-black);
        color: #ffffff !important; /* Define a cor do texto no hover */
        border-color: none !important; /* Ajusta a cor da borda, se necessário */
        box-shadow: none !important; /* Remove qualquer sombra */
    }

    /* Logo no topo do menu */
    #adminmenu .atom6p-menu-logo {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    #adminmenu .atom6p-menu-logo img {
        max-width: 150px;
        height: auto;
    }

    /* Ajuste do menu para acomodar a logo */
    #adminmenu {
        margin-top: 0 !important;
    }

    .atom6p-settings_input {
        margin: 20px 0;
    }

    .atom6p-settings .logo-preview {
        margin-top: 20px;
    }