/*--------------------------------------------------------------
# The header bell's notifications panel (Views/Shared/_NotificationsPanel.cshtml, drawn by
# notifications.js), in the landing dashboard's frosted-glass look: an AL-MA blue header with an
# unread count, unread rows tinted with a dot to mark them read, and "Mark all as Read" below.
# Loaded by every layout that has the bell.
--------------------------------------------------------------*/
#notifPanel.notif-panel {
    --notif-blue: #304f7f;
    --notif-accent: #106eea;
    --notif-line: rgba(48, 79, 127, 0.18);
    position: fixed;
    right: 10px;
    z-index: 2000;
    width: 380px;
    max-width: calc(100vw - 20px);
    margin-top: 8px;
    padding: 0;
    border: 1px solid var(--notif-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(12, 7, 74, 0.18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden;
    font-size: 0.78rem;
    color: #333;
}

.notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    background: var(--notif-blue);
    color: #fff;
}

.notif-head-title {
    font-size: 0.88rem;
    font-weight: 600;
}

.notif-count {
    border-radius: 999px;
    padding: 0 8px;
    background: #fff;
    color: var(--notif-blue);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.notif-list {
    max-height: min(60vh, 520px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.notif-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 12px;
    border-bottom: 1px solid rgba(48, 79, 127, 0.10);
}

    .notif-row:last-child {
        border-bottom: 0;
    }

    .notif-row.is-unread {
        background: rgba(16, 110, 234, 0.07);
    }

    .notif-row.is-link {
        cursor: pointer;
    }

        .notif-row.is-link:hover {
            background: rgba(48, 79, 127, 0.09);
        }

.notif-icon {
    flex: none;
    margin-top: 1px;
    font-size: 1rem;
    color: var(--notif-blue);
}

.notif-body {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.notif-title {
    font-weight: 600;
    color: #222;
}

.notif-row.is-unread .notif-title {
    font-weight: 700;
}

.notif-msg {
    margin-top: 1px;
}

    .notif-msg a {
        color: var(--notif-accent);
        text-decoration: none;
    }

        .notif-msg a:hover {
            text-decoration: underline;
        }

    .notif-msg b {
        font-weight: 600;
    }

.notif-time {
    margin-top: 1px;
    font-size: 0.7rem;
    color: #6c757d;
}

.notif-read {
    flex: none;
    padding: 4px;
    border: 0;
    border-radius: 50%;
    background: none;
    line-height: 0;
    cursor: pointer;
}

    .notif-read:focus-visible {
        outline: 2px solid var(--notif-accent);
    }

.notif-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--notif-accent);
}

.notif-read:hover .notif-dot {
    box-shadow: 0 0 0 3px rgba(16, 110, 234, 0.25);
}

.notif-empty {
    padding: 18px 12px;
    text-align: center;
    color: #6c757d;
}

.notif-foot {
    padding: 3px 12px;
    border-top: 1px solid var(--notif-line);
    text-align: right;
}

.notif-markall {
    padding: 2px 0;
    border: 0;
    background: none;
    color: var(--notif-blue);
    font-size: 0.78rem;
    font-weight: 600;
}

    .notif-markall:hover {
        color: var(--notif-accent);
        text-decoration: underline;
    }
