/**
 * Akcepti Notifications Styles
 */

/* Badge styling */
.notif-nbr {
    position: relative;
    background: #ccc;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    margin-left: -8px;
    margin-top: -12px;
}

.notif-nbr.has-notifications {
    background: #e53328;
    animation: pulse 2s infinite;
}

.notif-nbr-count {
    color: white;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 51, 40, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(229, 51, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 51, 40, 0);
    }
}

/* Panel styling */
.notifications-panel {
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 1000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 380px;
    max-height: 450px;
    overflow: hidden;
}

.panel-nav-notif {
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.panel-nav-notif::-webkit-scrollbar {
    width: 6px;
}

.panel-nav-notif::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.panel-nav-notif::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.panel-nav-notif::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Notification items */
.notification-item {
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: #f5f8fa !important;
}

.notification-item:last-child {
    border-bottom: none !important;
}

/* Severity-based left border */
.notification-high {
    border-left: 3px solid #e53328;
}

.notification-medium {
    border-left: 3px solid #f0ad4e;
}

.notification-info {
    border-left: 3px solid #5bc0de;
}

/* Empty state */
.notification-empty {
    padding: 30px 15px;
    text-align: center;
    color: #999;
}

.notification-empty i {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
    color: #ccc;
}

/* Mark as read button */
#button-mark-as-read {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

#button-mark-as-read:hover {
    background: #e8e8e8;
    color: #333;
}

/* Icons (Bootstrap Icons fallback) */
.bi-exclamation-triangle-fill::before { content: "⚠"; }
.bi-person-x-fill::before { content: "👤"; }
.bi-calendar-x-fill::before { content: "📅"; }
.bi-clock-fill::before { content: "⏰"; }
.bi-calendar-check::before { content: "📆"; }
.bi-exclamation-circle-fill::before { content: "❗"; }
.bi-list-task::before { content: "📋"; }
.bi-plus-circle-fill::before { content: "➕"; }
.bi-bell-slash::before { content: "🔕"; }
