/*-----------------------------------------------------------------------------

-	MOVISART 1.1.0 Default Public Style Settings -

All Stylesheet

version:   	1.1.0
date:      	28/04/2026
author:		Movisart
email:     	webmaster@movisart.pt
website:   	https://www.movisart.pt
-----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
- Admin Bar (Frontend)
-----------------------------------------------------------------------------*/

/* Remove icon original */
#wpadminbar #wp-admin-bar-wp-logo .ab-icon:before {
    display: none !important;
}

/* Barra */
body:not(.wp-admin) #wpadminbar {
    background: #2b2b2b !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Itens principais */
body:not(.wp-admin) #wpadminbar .ab-top-menu > li > .ab-item {
    width: 38px;
    min-width: 38px;
    height: 32px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #d6d6d6 !important;
    background: transparent !important;
}

/* Hover */
body:not(.wp-admin) #wpadminbar .ab-top-menu > li:hover > .ab-item,
body:not(.wp-admin) #wpadminbar .ab-top-menu > li > .ab-item:focus {
    background: #3a3a3a !important;
    color: #ffffff !important;
}

/* Item aberto */
body:not(.wp-admin) #wpadminbar .menupop:hover > .ab-item {
    background: #4d4d4d !important;
    color: #ffffff !important;
}

/* Ícones */
body:not(.wp-admin) #wpadminbar .ab-icon,
body:not(.wp-admin) #wpadminbar .ab-icon:before,
body:not(.wp-admin) #wpadminbar .ab-item:before {
    color: #9ca3af !important;
}

body:not(.wp-admin) #wpadminbar li:hover .ab-icon:before,
body:not(.wp-admin) #wpadminbar li:hover .ab-item:before {
    color: #ffffff !important;
}

/* Esconder labels */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-my-sites > .ab-item,
body:not(.wp-admin) #wpadminbar #wp-admin-bar-site-name > .ab-item,
body:not(.wp-admin) #wpadminbar #wp-admin-bar-customize > .ab-item,
body:not(.wp-admin) #wpadminbar #wp-admin-bar-edit > .ab-item,
body:not(.wp-admin) #wpadminbar #wp-admin-bar-google-site-kit > .ab-item,
body:not(.wp-admin) #wpadminbar #wp-admin-bar-elementor_notes > .ab-item {
    font-size: 0 !important;
}

/* Ícones custom */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-my-sites > .ab-item:before {
    content: "\f325";
    font-family: dashicons;
    font-size: 18px;
}

body:not(.wp-admin) #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
    content: "\f102";
    font-family: dashicons;
    font-size: 18px;
}

/* Adicionar */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-new-content .ab-label {
    display: none !important;
}

body:not(.wp-admin) #wpadminbar #wp-admin-bar-new-content .ab-icon {
    margin: 0 !important;
}

/* Updates / Comments → bullet */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-updates .ab-label,
body:not(.wp-admin) #wpadminbar #wp-admin-bar-comments .ab-label {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626 !important;
    color: transparent !important;
    font-size: 0 !important;
}

/* esconder quando 0 */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-comments .count-0 {
    display: none !important;
}

/* Yoast → bullet com cor por estado */
body:not(.wp-admin) #wpadminbar .adminbar-seo-score {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* estados Yoast */
body:not(.wp-admin) #wpadminbar .adminbar-seo-score.good {
    background: #7ad03a !important;
}

body:not(.wp-admin) #wpadminbar .adminbar-seo-score.ok {
    background: #ffba00 !important;
}

body:not(.wp-admin) #wpadminbar .adminbar-seo-score.bad {
    background: #dc3232 !important;
}

body:not(.wp-admin) #wpadminbar .adminbar-seo-score.na,
body:not(.wp-admin) #wpadminbar .adminbar-seo-score.noindex {
    background: #999999 !important;
}

/* esconder texto score */
body:not(.wp-admin) #wpadminbar .adminbar-seo-score * {
    display: none !important;
}

/* Yoast icon */
body:not(.wp-admin) #wpadminbar #yoast-ab-icon {
    filter: brightness(0) saturate(100%) invert(70%);
}

body:not(.wp-admin) #wpadminbar #wp-admin-bar-wpseo-menu:hover #yoast-ab-icon {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* remover lixo yoast */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-wpseo-get-premium,
body:not(.wp-admin) #wpadminbar #wp-admin-bar-wpseo_brand_insights,
body:not(.wp-admin) #wpadminbar .yoast-badge {
    display: none !important;
}

/* Site Kit → só ícone */
body:not(.wp-admin) #wpadminbar .googlesitekit-wp-adminbar__label {
    display: none !important;
}

/* Elementor → manter texto */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-elementor_edit_page > .ab-item {
    width: auto !important;
    min-width: auto !important;
    padding: 0 10px !important;
    font-size: 13px !important;
}

/* Elementor Inspector → só ícone */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-elementor_inspector > .ab-item {
    font-size: 0 !important;
}

body:not(.wp-admin) #wpadminbar #wp-admin-bar-elementor_inspector > .ab-item:before {
    content: "\f107";
    font-family: dashicons;
    font-size: 18px;
    color: #9ca3af !important;
}

body:not(.wp-admin) #wpadminbar #wp-admin-bar-elementor_inspector:hover > .ab-item:before {
    color: #ffffff !important;
}

/* remover ícone extra Elementor */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-elementor_edit_page > .ab-item:before {
    display: none !important;
}

/* Utilizador */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-my-account > .ab-item {
    width: auto !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

/* Avatar */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-my-account img {
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
}

/* Nome */
body:not(.wp-admin) #wpadminbar #wp-admin-bar-my-account .display-name {
    color: #ffffff;
}