
/* MPMS notifications */
.side-link-notifications { position: relative; }
.side-icon-notification { position: relative; }
.notification-count {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    margin-left: auto;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(239, 68, 68, .28);
}
.side-link-notifications.active .notification-count { background: #fff; color: #dc2626; }
@media (min-width: 901px) {
  body.sidebar-collapsed .side-link-notifications .notification-count {
    position: absolute;
    top: 4px;
    right: 3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 8px;
    z-index: 2;
  }
}
.notification-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(96,165,250,.34), transparent 35%),
        linear-gradient(135deg, #0f2743 0%, #143f68 52%, #0b5f86 100%);
    box-shadow: 0 18px 40px rgba(15,39,67,.18);
    margin-bottom: 18px;
}
.notification-hero h2 { margin: 5px 0 7px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; }
.notification-hero p { margin: 0; max-width: 780px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.7; }
.notification-hero-count {
    width: 116px; min-height: 116px; display: grid; place-items: center; align-content: center;
    border-radius: 22px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px); text-align: center;
}
.notification-hero-count strong { display: block; font-size: 40px; line-height: 1; }
.notification-hero-count span { margin-top: 6px; color: rgba(255,255,255,.74); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.notification-toolbar {
    display: grid;
    grid-template-columns: auto minmax(220px,1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(149,171,197,.52) !important;
}
.notification-filter-tabs { display: flex; gap: 6px; }
.notification-filter-tab {
    display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 11px;
    color: #5e7188; font-size: 12px; font-weight: 800; text-decoration: none;
}
.notification-filter-tab:hover { background: #eef4fa; color: #183a5d; }
.notification-filter-tab.active { background: #153a5e; color: #fff; box-shadow: 0 8px 18px rgba(21,58,94,.17); }
.notification-search { display: flex; min-width: 0; gap: 8px; }
.notification-search label {
    flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0;
    padding: 0 12px; border: 1px solid #cfdae7; border-radius: 11px; background: #f7faff;
}
.notification-search label svg { width: 16px; color: #6f88a0; flex: 0 0 auto; }
.notification-search input {
    min-width: 0; width: 100%; border: 0; outline: 0; background: transparent;
    padding: 11px 0; font: inherit; color: #213a55;
}
.notification-mark-all { margin: 0; }
.notification-list-card { padding: 0; overflow: hidden; }
.notification-list-heading {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 24px; border-bottom: 1px solid #e1e8f0;
    background: linear-gradient(180deg,#ffffff,#f7faff);
}
.notification-list-heading h3 { margin: 4px 0 0; color: #173957; font-size: 19px; }
.notification-live-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #d6e7de;
    border-radius: 999px; background: #f4fbf7; color: #37745a; font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.notification-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.notification-list { display: grid; }
.notification-item {
    display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 15px;
    padding: 20px 24px; border-bottom: 1px solid #e8eef4; background: #fff; position: relative;
}
.notification-item:last-child { border-bottom: 0; }
.notification-item.is-unread { background: linear-gradient(90deg,#edf6ff 0%,#fff 65%); }
.notification-item.is-unread::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:#2c79c9; }
.notification-item-icon {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    color: #28689d; background: #eaf4fc; border: 1px solid #d6e8f7;
}
.notification-item.is-unread .notification-item-icon { color: #fff; background: linear-gradient(135deg,#2e7fc4,#174f84); border-color: transparent; box-shadow: 0 8px 18px rgba(42,117,181,.2); }
.notification-item-icon svg { width: 19px; }
.notification-item-content { min-width: 0; }
.notification-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.notification-type-label { color: #6d8298; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.notification-item h4 { margin: 4px 0 7px; color: #183b5b; font-size: 15px; }
.notification-item p { margin: 0; color: #62758a; font-size: 12px; line-height: 1.65; }
.notification-unread-pill {
    flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; background: #fee2e2; color: #b91c1c;
    font-size: 8px; font-weight: 900; letter-spacing: .1em;
}
.notification-item-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; color: #8090a2; font-size: 10px; }
.notification-item-meta span { display: inline-flex; align-items: center; gap: 5px; }
.notification-item-meta svg { width: 13px; }
.notification-item-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: flex-end; align-content: center; }
.notification-item-actions form { margin: 0; }
.notification-empty { padding: 70px 25px; text-align: center; }
.notification-empty-icon {
    width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 14px;
    border-radius: 18px; background: #edf4fb; color: #5b86ab;
}
.notification-empty-icon svg { width: 27px; }
.notification-empty h3 { margin: 0 0 7px; color: #183b5b; }
.notification-empty p { max-width: 540px; margin: 0 auto; color: #718197; font-size: 12px; line-height: 1.7; }
.side-link-notifications .side-icon { overflow: visible !important; }

@media (max-width: 900px) {
    .notification-hero { grid-template-columns: 1fr; }
    .notification-hero-count { width: 100%; min-height: 82px; grid-template-columns: auto auto; gap: 12px; justify-content: center; }
    .notification-hero-count strong { font-size: 34px; }
    .notification-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .notification-hero { padding: 22px; border-radius: 18px; }
    .notification-list-heading { padding: 18px; align-items: flex-start; flex-direction: column; }
    .notification-item { grid-template-columns: 40px minmax(0,1fr); padding: 18px; }
    .notification-item-icon { width: 40px; height: 40px; }
    .notification-item-actions { grid-column: 2; justify-content: flex-start; padding-top: 2px; }
    .notification-search { flex-direction: column; }
}

/* Notifications: remove the global content-card accent strip above the filter tabs. */
body:not(.print-view-body) .notification-toolbar::before {
    content: none !important;
    display: none !important;
}
