.markRead {
    background: transparent;
    border: none;
    color: var(--btnError-bg);
    background: transparent;
    border: none;
    padding: 6px 10px;
    min-width: 35px;
    cursor: pointer;
}
#helpTourBtn {
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    padding: .2rem;
    font-size: 0.75em;
}
#helpTourBtn i {
    font-size: 1.8rem;
}
.markRead:hover {
    text-shadow: 0 0 10px var(--btnError-bg);
}

/* Menu Mobile Responsivo - Overlay Fullscreen */
@media (max-width: 767px) {

    /* Ocultar menu desktop completamente */
    .header .header-actions {
        display: none;
    }

    /* Mostrar hamburger */
    .hamburger-btn {
        display: flex;
        padding: 15px;
        min-width: 50px;
        min-height: 50px;
        z-index: 1003;
    }

    .hamburger-line {
        width: 28px;
        height: 3px;
        background: var(--fontColorWhite);
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Animação do hamburger quando aberto */
    .hamburger-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .hamburger-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Menu Mobile Overlay - Fullscreen */
    .header-actions.open {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--secondary-color);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1002;
        animation: slideIn 0.3s ease-out;
        padding: 12px;
        margin: 0;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Itens do menu mobile */
    .header-actions.open>li {
        width: 100%;
        display: block !important;
        padding: 0 2rem;
    }

    /* Botão "Criar Grupo" no menu mobile */
    .header-actions.open .btn {
        font-family: 'Poppins', sans-serif;
        width: 100%;
        font-size: 1.1rem;
        min-height: 60px;
        padding: 1.7rem 2.5rem;
        border-radius: 15px;
        background: var(--background-gradient135deg);
        color: var(--fontColorWhite);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
        transition: all 0.3s ease;
        transform: none;
    }

    .header-actions.open .btn:active {
        transform: scale(0.98);
    }

    /* Seção de Notificações no menu mobile */
    .header-actions.open .notification-section {
        width: 100%;
        max-width: 600px;
        /* background: rgba(255, 255, 255, 0.1); 
        border-radius: 15px;
        padding: 20px;*/
        margin-bottom: 5px;
    }

    /* .header-actions.open .notification-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--fontColorWhite);
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        padding: 10px 0;
        border-radius: 8px;
        background: var(--background-gradient135deg);
        transition: background 0.3s ease;
    } */

    .header-actions.open .notification-badge-mobile {
        background: var(--btnError-bg);
        color: var(--fontColorWhite);
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.9rem;
        min-width: 25px;
        text-align: center;
    }



    .header-actions.open .notification-item-mobile {
        display: flex;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--fontColorWhite);
        font-size: 0.95rem;
        gap: 10px;
    }

    .header-actions.open .notification-item-mobile:last-child {
        border-bottom: none;
    }

    .header-actions.open .notification-text {
        flex: 1;
        line-height: 1;
        font-size: .9rem;
    }

    .header-actions.open .notification-text.unread {
        font-weight: 600;
        color: var(--btnWarning-bg);
    }

    .header-actions.open .mark-read-mobile {
        background: var(--btnSuccess-bg);
        color: white;
        border: none;
        padding: 6px 10px;
        border-radius: 8px;
        font-size: 0.8rem;
        cursor: pointer;
        min-width: 35px;
    }

    /* Seção do Usuário no menu mobile */
    .header-actions.open .user-section {
        width: 100%;
        max-width: 600px;
        background: transparent;
        border-radius: 15px;
        padding: 25px;
        text-align: center;
    }

    .header-actions.open .user-avatar-mobile {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--secondary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border: 3px solid rgba(255, 255, 255, 0.3);
    }

    .header-actions.open .user-avatar-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-actions.open .user-avatar-mobile i {
        font-size: 2.5rem;
        color: var(--fontColorWhite);
    }

    .header-actions.open .user-name-mobile {
        color: var(--fontColorWhite);
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .header-actions.open .user-actions {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .header-actions.open .user-action-btn {
        width: 100%;
        min-height: 60px;
        background: rgba(255, 255, 255, 0.15);
        color: var(--fontColorWhite);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .header-actions.open .user-action-btn:hover,
    .header-actions.open .user-action-btn:active {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(0.98);
    }

    /* Ajustes no header para mobile */
    .header-content {
        padding: 0 5px;
    }

    .header h1 {
        /* font-size: 1.2rem; */
        padding: 0 10px;
    }

    /* Scroll suave para notificações */
    .header-actions.open .notification-list::-webkit-scrollbar {
        width: 4px;
    }

    .header-actions.open .notification-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .header-actions.open .notification-list::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
    }

    #subMenuNotificationsMobile {
        display: none;
        width: 98%;
        background: rgba(255, 255, 255, 0.1);
        padding: 0px 1rem;
        margin: 0;
    }

    #mobileMenuOverlay a,
    #mobileMenuOverlay h1 {
        text-decoration: none;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    #subMenuNotificationsMobile.open {
        display: block !important;
    }
}