/* ======================================================
   NOTIFICATION PANEL & ITEMS
   ====================================================== */

#notificationBox {
    background: #fff;
    border: 1px solid #ccc;
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    position: absolute;
    top: 50px;
    right: 15px;
    display: none;
    z-index: 999;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.notification-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8faff;
}

.notif-title {
    font-size: 14px;
    font-weight: bold;
    color: #0b3d91;
}

.notif-message {
    font-size: 13px;
    color: #333;
    margin-top: 4px;
}

/* Scrollbar styling */
#notificationBox::-webkit-scrollbar {
    width: 6px;
}
#notificationBox::-webkit-scrollbar-thumb {
    background: #b7b7b7;
    border-radius: 3px;
}

/* Notification badge */
#notificationBadge {
    background: red;
    color: white;
    padding: 3px 7px;
    font-size: 11px;
    border-radius: 50%;
    margin-left: 3px;
}

/* Smooth fade-in effect for new notifications */
.notification-item {
    animation: notifFadeIn 0.3s ease-out;
}

@keyframes notifFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
