/* Admin Notification Badges */

/* Main notification badge on user dropdown button */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    border-radius: 10px;
    background: var(--danger-color, #dc3545);
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: badge-pulse 2s ease-in-out infinite;
    z-index: 1;
}

/* Pulse animation for notification badge */
@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 0 0 0 rgba(220,53,69,0.7);
    }
    50% {
        box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 0 0 4px rgba(220,53,69,0);
    }
}

/* Notification badge on dropdown menu items */
.dropdown-item .badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    margin-left: 5px;
}

/* Warning highlight for pending registration items */
.list-group-item-warning.list-group-item-action {
    border-left: 4px solid #ffc107;
}

.list-group-item-warning.list-group-item-action:hover {
    background-color: #fff3cd;
    border-left-color: #ffb000;
}

/* Glow effect for danger badges */
.badge.bg-danger {
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(220,53,69,0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(220,53,69,0.8);
    }
}

/* Alert box with pending registrations */
.alert-warning .btn-warning {
    box-shadow: 0 2px 8px rgba(255,193,7,0.4);
    transition: all 0.3s;
}

.alert-warning .btn-warning:hover {
    box-shadow: 0 4px 12px rgba(255,193,7,0.6);
    transform: translateY(-2px);
}

/* Positioning fix for Bootstrap badge */
.position-relative .badge.rounded-pill {
    font-size: 10px;
    padding: 4px 7px;
    min-width: 18px;
}
