/* Extracted from base.html.twig - General components */

/* General .role-indicator, potentially for older parts or as a fallback */
/* Note: .nextgen-navbar .role-indicator in 02_navbar.css will override this in that context */
.role-indicator {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

.notification-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50%;
    background-color: #dc3545;
    color: #fff;
}

/* General role background colors, used by the general .role-indicator or other elements */
/* These might be overridden by more specific styles in .nextgen-navbar contexts */
.role-super-admin {
    background-color: #1e3a8a;
}
.role-client-admin {
    background-color: #2c3e50;
}
.role-office-staff {
    background-color: #0f766e;
}
.role-worker {
    background-color: #9d174d;
}
