/* notifikationer.css */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);  /* This will make it overlap the corner */
    background-color: #ff4d4d;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 10; /* Ensure it's above the icon */
}

@keyframes pulse {
    0% { transform: translate(30%, -30%) scale(1); }
    50% { transform: translate(30%, -30%) scale(1.1); }
    100% { transform: translate(30%, -30%) scale(1); }
}
/* Notification badges */
.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notification-badge-blue {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);  /* This will make it overlap the corner */
    right: 5px;
    background-color: #4d8cff;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
    z-index: 10;
}