#badges {
    margin: 0 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#badges .badge {
    width: 27px;
    height: 31px;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 5px;
    margin: 0 20px;
    position: relative;
}

#badges .container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

#badges .badge_messages {
    font-size: 16pt;
    color: #66b5a3;
}

#badges .badge_tasks {
    font-size: 16pt;
    color: #b94d4d;
}

#badges .empty::before {
    color: rgba(255,255,255,0.3);
}

#badges .empty::before {
    color: rgba(255,255,255,0.3);
}

#badges .pushAlert::before {
    font-family: 'Font Awesome 6 Pro';
    content: "\f1f6"; /* bell-slash */
    font-size: 1rem;
    color: #ff8010;
    font-weight: 900;
}

#badges .granted .pushAlert {
    display:none;
}

#badges .granted .pushAlert:before {
    font-family: 'Font Awesome 6 Pro';
    content: "\f0f3"; /* bell*/
    font-size: 1rem;
    color: #8080ff;
    font-weight: 900;
}


#badges .badge[data-counter]:after {
    font-family: Arial, Helvetica;
    font-size: 0.8rem;
    font-weight: normal;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    left: 5px;
    top: -10px;

    height: 1rem;
    padding: 0 0.3rem;
    border-radius: 0.5rem;

    content: attr(data-counter);

    background: red;
    color: white;
}

#badges .badge[data-counter='0']:after {
    background: rgba(255,255,255,0.22);
    color: black;
}
