/* ================== NOTIFICATION SYSTEM ================== */

/* ---- Bell button ---- */
.notiBellWrap { position: relative; display: inline-block; }
.notiBellBtn {
    border: none; background: transparent; cursor: pointer;
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #475569; font-size: 16px; transition: background .15s;
    position: relative;
}
.notiBellBtn:hover { background: #e2e8f0; color: #0f172a; }
.notiBellBtn.has-noti { color: #f59e0b; }
.notiBellBadge {
    position: absolute; top: 2px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: #ef4444; color: #fff; border-radius: 9px;
    font-size: 11px; font-weight: 700; line-height: 18px;
    text-align: center; box-shadow: 0 0 0 2px #fff;
}

/* ---- Dropdown ---- */
.notiDropdownBackdrop {
    position: fixed; inset: 0; background: transparent; z-index: 9000;
}
.notiDropdownPanel {
    position: fixed; top: 60px; right: 16px;
    width: 400px; max-height: 560px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
    z-index: 10001; display: flex; flex-direction: column; overflow: hidden;
    animation: notiSlide .18s ease-out;
}
.notiDropdownBackdrop { z-index: 10000 !important; }
@keyframes notiSlide { from{opacity:0;transform:translateY(-8px);} to{opacity:1;transform:translateY(0);} }

.notiDropdownHeader {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-bottom: 1px solid #f1f5f9; background: #fff;
}
.notiDropdownHeader .title { font-weight: 700; font-size: 15px; color: #1e3a8a; user-select:none; }
.notiHeaderBtn {
    border: 1px solid #e2e8f0; background: #fff; cursor: pointer;
    width: 32px; height: 32px; border-radius: 8px; color: #1d4ed8;
    display: inline-flex; align-items: center; justify-content: center;
}
.notiHeaderBtn:hover { background: #f1f5f9; color: #0f172a; }

.notiDropdownTabs {
    display: flex; gap: 6px; padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9; background: #f8fafc;
}
.notiDropdownTabs span {
    cursor: pointer; padding: 5px 12px; border-radius: 16px;
    font-size: 12px; font-weight: 600; color: #64748b; transition: all .15s;
}
.notiDropdownTabs span:hover { background: #e2e8f0; color: #0f172a; }
.notiDropdownTabs span.active { background: #2563eb; color: #fff; }

.notiDropdownBody { flex: 1; overflow-y: auto; max-height: 420px; }
.notiDropdownLoading, .notiDropdownEmpty {
    padding: 40px 20px; text-align: center; color: #94a3b8; font-size: 13px;
}
.notiDropdownEmpty i { font-size: 32px; color: #cbd5e1; margin-bottom: 10px; display: block; }

.notiItem {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background .15s;
    align-items: flex-start;
    background-color: #FAFAFA;
}
.notiItem:hover { background: #FAFAFA; }
    .notiItem.unread {
        background: #E8F5E9;
    }
        .notiItem.unread:hover {
            background: #C8E6C9;
        }

.notiIcon {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex: none; color: #fff; font-size: 15px; box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.notiIcon.info    { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.notiIcon.success { background: linear-gradient(135deg,#10b981,#047857); }
.notiIcon.warning { background: linear-gradient(135deg,#f59e0b,#b45309); }
.notiIcon.error   { background: linear-gradient(135deg,#ef4444,#b91c1c); }

.notiContent { flex: 1; min-width: 0; }
.notiTitle { font-weight: 600; font-size: 13px; color: #0f172a; margin-bottom: 5px; }
.notiMsg {
    font-size: 13px; color: #334155;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.notiMeta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11px; color: #b45309; }
.notiMeta .dot { width: 8px; height: 8px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 3px #dbeafe; }

.notiItemActions { display: flex; flex-direction: column; gap: 4px; }
.notiTinyBtn {
    border: none; background: transparent; cursor: pointer;
    width: 26px; height: 26px; border-radius: 6px; color: #64748b;
    display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
.notiItemActions .notiTinyBtn i {
    color: #64748b !important;
}
.notiTinyBtn:hover {
    background: #fff;
    color: #0f172a;
}
.notiTinyBtn.danger:hover { background: #fff; color: #b91c1c; }

.notiDropdownFooter {
    padding: 10px; border-top: 1px solid #f1f5f9;
    display: flex; justify-content: center; background: #f8fafc;
}
.notiSeeAllBtn {
    border: none; background: transparent; cursor: pointer;
    color: #2563eb; font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 8px;
}
.notiSeeAllBtn:hover { background: #dbeafe; }

/* ================== TOAST STACK (góc dưới trái) ================== */
.notiStackWrap {
    position: fixed; left: 20px; bottom: 20px;
    width: 400px; max-width: calc(100vw - 40px);
    display: flex; flex-direction: column-reverse; gap: 12px;
    z-index: 10000; pointer-events: none;
}

/* ── Base card ─────────────────────────────────────────────── */
.notiStackItem {
    pointer-events: auto;
    display: flex; gap: 12px; padding: 14px 16px 14px 14px;
    border-radius: 16px;
    border: 1px solid transparent;
    box-shadow: 0 8px 32px rgba(15,23,42,.14), 0 2px 8px rgba(15,23,42,.08);
    position: relative; overflow: hidden;
    backdrop-filter: blur(8px);
    transition: box-shadow .2s, transform .2s;
    opacity: 0;
    animation: notiToastIn .3s cubic-bezier(.2,.8,.3,1.2) forwards;
}
.notiStackItem:hover {
    box-shadow: 0 16px 48px rgba(15,23,42,.2), 0 4px 16px rgba(15,23,42,.1);
    transform: translateY(-2px) scale(1.01);
}
@keyframes notiToastIn {
    0%   { opacity: 0; transform: translateX(-28px) scale(.94); }
    60%  { transform: translateX(4px) scale(1.01); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Tinted backgrounds per type ──────────────────────────── */
.notiStackItem.type-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}
.notiStackItem.type-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}
.notiStackItem.type-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}
.notiStackItem.type-error {
    background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}

/* ── Accent bar left ───────────────────────────────────────── */
.notiStackItem::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    border-radius: 16px 0 0 16px;
}
.notiStackItem.type-info::before    { background: linear-gradient(180deg,#60a5fa,#2563eb); }
.notiStackItem.type-success::before { background: linear-gradient(180deg,#34d399,#059669); }
.notiStackItem.type-warning::before { background: linear-gradient(180deg,#fbbf24,#d97706); }
.notiStackItem.type-error::before   { background: linear-gradient(180deg,#f87171,#dc2626); }

/* ── Icon ──────────────────────────────────────────────────── */
.notiStackIcon {
    width: 40px; height: 40px; border-radius: 12px; flex: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.notiStackItem.type-info .notiStackIcon    { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.notiStackItem.type-success .notiStackIcon { background: linear-gradient(135deg,#34d399,#059669); }
.notiStackItem.type-warning .notiStackIcon { background: linear-gradient(135deg,#fbbf24,#d97706); }
.notiStackItem.type-error .notiStackIcon   { background: linear-gradient(135deg,#f87171,#dc2626); }

/* ── Body ──────────────────────────────────────────────────── */
.notiStackBody { flex: 1; min-width: 0; }
.notiStackHeader { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }

.notiStackTitle { font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.notiStackItem.type-info .notiStackTitle    { color: #1e40af; }
.notiStackItem.type-success .notiStackTitle { color: #065f46; }
.notiStackItem.type-warning .notiStackTitle { color: #92400e; }
.notiStackItem.type-error .notiStackTitle   { color: #991b1b; }

.notiStackTime { font-size: 11px; color: #64748b; margin-right: 30px; }

.notiStackMsg {
    font-size: 12.5px; color: #475569; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Actions ───────────────────────────────────────────────── */
.notiStackActions { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.notiBtn {
    border: 1px solid rgba(0,0,0,.1); background: rgba(255,255,255,.7); cursor: pointer;
    padding: 4px 12px; border-radius: 8px; font-size: 11.5px; font-weight: 600;
    color: #475569; display: inline-flex; align-items: center; gap: 4px;
    transition: all .15s; backdrop-filter: blur(4px);
}
.notiBtn:hover { background: rgba(255,255,255,.95); color: #0f172a; border-color: rgba(0,0,0,.18); transform: translateY(-1px); }
.notiBtn.primary { background: #2563eb; border-color: #2563eb; color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,.35); }
.notiBtn.primary:hover { background: #1d4ed8; box-shadow: 0 4px 12px rgba(37,99,235,.45); }
.notiStackItem.type-success .notiBtn.primary { background: #059669; border-color: #059669; box-shadow: 0 2px 8px rgba(5,150,105,.35); }
.notiStackItem.type-success .notiBtn.primary:hover { background: #047857; }
.notiStackItem.type-warning .notiBtn.primary { background: #d97706; border-color: #d97706; box-shadow: 0 2px 8px rgba(217,119,6,.35); }
.notiStackItem.type-warning .notiBtn.primary:hover { background: #b45309; }
.notiStackItem.type-error .notiBtn.primary { background: #dc2626; border-color: #dc2626; box-shadow: 0 2px 8px rgba(220,38,38,.35); }
.notiStackItem.type-error .notiBtn.primary:hover { background: #b91c1c; }
.notiBtn.ghost { border-color: transparent; background: transparent; }
.notiBtn.ghost:hover { background: rgba(0,0,0,.06); }

/* ── Close button ──────────────────────────────────────────── */
.notiStackClose {
    position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px; border-radius: 8px;
    border: none; background: rgba(255,255,255,.6); cursor: pointer; color: #94a3b8;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .15s; backdrop-filter: blur(4px);
    background-color:transparent;
}
.notiStackClose:hover { background: rgba(0,0,0,.08); color: #0f172a; }

/* ── Ring timer ────────────────────────────────────────────── */
.notiCloseRing { position: absolute; inset: 0; width: 100%; height: 100%;
    transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.notiCloseRing circle {
    stroke: currentColor; opacity: 0.5;
    transition: stroke-dashoffset 0.15s linear;
}

/* ================== NOTIFICATION PAGE — Refined Modern ================== */

/* tokens */
:root {
    --np-bg:        #f0f2f8;
    --np-surface:   #ffffff;
    --np-border:    #dde1ec;
    --np-text:      #111827;
    --np-sub:       #4b5563;
    --np-muted:     #9ca3af;
    --np-blue:      #2563eb;
    --np-blue-lt:   #dbeafe;
    --np-green:     #059669;
    --np-green-lt:  #d1fae5;
    --np-amber:     #d97706;
    --np-amber-lt:  #fef3c7;
    --np-red:       #dc2626;
    --np-red-lt:    #fee2e2;
    --np-radius:    10px;
    --np-shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

/* keyframes */
@keyframes npRowIn {
    from { opacity:0; transform:translateX(-6px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes npPing {
    0%,100% { box-shadow: 0 0 0 0 rgba(37,99,235,.6); }
    60%      { box-shadow: 0 0 0 5px rgba(37,99,235,0); }
}
@keyframes npHeroIn {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}

/* PAGE */
.notiPage {
    padding: 0px;
    background: #f0faf4;
    /* min-height: 100%; */
    background-color: #009688;
    border-top: 2px solid #10b981 !important;
    height: calc(100svh - 90px) !important;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* HERO */
.notiHero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    margin: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    flex-wrap: wrap;
    user-select: none;
    animation: npHeroIn .4s cubic-bezier(0.16, 1, 0.3, 1) both;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255,255,255,0.6);
}
.notiHeroLeft { display: flex; flex-direction: column; gap: 4px; }
.notiHeroTitle {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}
    .notiHeroTitle i {
        color: #3b82f6;
        font-size: 18px;
        background: #eff6ff;
        padding: 6px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
    }
.notiHeroSub {
    margin-top: 2px;
    font-size: 13px;
    color: #64748b !important;
    font-weight: 500;
}

.notiHeroStats { display: flex; gap: 8px; flex-wrap: wrap; }
.notiHeroStat {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 16px; border-radius: 10px;
    background: #ffffff;
    min-width: 72px; cursor: default;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.6);
}
.notiHeroStat:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px -4px rgba(0,0,0,.1); 
}
.notiHeroStat .num { font-size: 22px; font-weight: 800; color: var(--np-text); line-height: 1; margin-bottom: 2px;}
.notiHeroStat .lbl { font-size: 9px; font-weight: 700; color: var(--np-muted); text-transform: uppercase; letter-spacing: 1px; }
.notiHeroStat.unread { background: linear-gradient(to bottom, #ffffff, #fffbeb); border-color: #fce7f3; }
.notiHeroStat.unread .num { color: var(--np-amber); }
.notiHeroStat.read   { background: linear-gradient(to bottom, #ffffff, #f0fdf4); border-color: #dcfce7; }
.notiHeroStat.read .num { color: var(--np-green); }
.notiHeroStat.today  { background: linear-gradient(to bottom, #ffffff, #eff6ff); border-color: #dbeafe; }
.notiHeroStat.today .num { color: var(--np-blue); }

/* GRID */
.notiPageGrid {
    display: grid;
    grid-template-columns: 224px 1fr;
    gap: 12px;
    align-items: start;
}
@media (max-width: 860px) { .notiPageGrid { grid-template-columns: 1fr; } }

/* SIDEBAR */
.notiSide {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: 5px;
    padding: 12px;
    box-shadow: var(--np-shadow);
    overflow-y: auto;
    overflow-x: hidden;
    margin-left:12px;
}
.notiSideBlock + .notiSideBlock {
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--np-border);
}
.notiSideTitle {
    font-size: 10px;
    font-weight: 700;
    color: #00796B;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    padding: 0 4px;
}
.notiSideList { list-style: none; padding: 0; margin: 0; }
.notiSideList li {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; border-radius: 8px;
    font-size: 13px; font-weight: 500; color: var(--np-sub);
    cursor: pointer; user-select: none;
    transition: background .12s, color .12s;
}
.notiSideList li:hover { background: var(--np-bg); color: var(--np-text); }
.notiSideList li.active {
    background: var(--np-blue-lt); color: var(--np-blue); font-weight: 700;
}
.notiSideList li .cnt {
    margin-left: auto; background: var(--np-red); color: #fff;
    padding: 2px 7px; border-radius: 20px; font-size: 10px; font-weight: 700;
}
.notiSideList li.tinfo   i { color: var(--np-blue); }
.notiSideList li.tsuccess i { color: var(--np-green); }
.notiSideList li.twarning i { color: var(--np-amber); }
.notiSideList li.terror   i { color: var(--np-red); }

.notiSideDate { display: flex; flex-direction: column; gap: 7px; }
.notiSideActions { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.notiSideActions .e-btn { width: 100% !important; justify-content: flex-start !important; }
.notiSideDate .e-date-wrapper.e-date-container.e-input-group.inputBase {
    border: 0; border-bottom: 1px solid rgba(0,0,0,.14) !important;
}

/* MAIN COLUMN */
.notiMain {
    height: calc(100svh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-right:6px;
}

/* SEARCH BAR */
.notiSearchBar {
    display: flex; align-items: center; gap: 10px;
    background: var(--np-surface);
    border-radius: 8px;
    padding: 6px 12px; margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.03);
    border: 1px solid var(--np-border);
    transition: border-color .2s, box-shadow .2s;
}
.notiSearchBar:focus-within {
    border-color: var(--np-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
    .notiSearchBar > i {
        color: #64748b;
        font-size: 14px;
        flex-shrink: 0;
    }
.notiSearchBar > .e-input-group, .notiSearchBar > div { flex: 1; margin-bottom: 0 !important; }
.notiSearchBar .inputBase.e-input-group { border: 0; background: transparent; }
.notiSearchBar .e-input { font-size: 13px !important; padding: 4px 6px !important; }

/* DAY GROUP */
.notiDayGroup { margin-bottom: 6px; }
.notiDayLabel {
    display: none;
    font-size: 11px; font-weight: 700; color: var(--np-muted);
    text-transform: uppercase; letter-spacing: .8px;
    padding: 0 4px 8px; border-bottom: 1px solid var(--np-border); margin-bottom: 8px;
    align-items: center; gap: 8px;
}
.notiDayLabel .cnt { font-size: 10px; font-weight: 500; }

/* ROW */
.notiRow {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--np-border);
    border-left: 0px solid transparent;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
    animation: npRowIn .3s cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);;
}
.notiRow:hover {
    background: #fafbff;
    
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -6px rgba(37,99,235,.15);
}
/*.notiRow.type-info    { border-left-color: var(--np-blue); }
.notiRow.type-success { border-left-color: var(--np-green); }
.notiRow.type-warning { border-left-color: var(--np-amber); }
.notiRow.type-error   { border-left-color: var(--np-red); }
    .notiRow.unread {
        background: linear-gradient(to right, #f8faff, #ffffff);
        box-shadow: 0 4px 12px rgba(37,99,235,.08);
        border-color: #dbeafe;
    }
    */
    .notiRow.unread {
        background: linear-gradient(to right, #F9FBE7, #ffffff);
        box-shadow: 0 4px 12px rgba(37,99,235,.08);
        border-color: #dbeafe;
    }
/* icon */
.notiRowIcon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.notiRow:hover .notiRowIcon { transform: scale(1.15) rotate(5deg); }
.notiRow.type-info    .notiRowIcon { background: linear-gradient(135deg, #dbeafe, #eff6ff); color: var(--np-blue); border: 1px solid #bfdbfe; }
.notiRow.type-success .notiRowIcon { background: linear-gradient(135deg, #d1fae5, #ecfdf5); color: var(--np-green); border: 1px solid #a7f3d0; }
.notiRow.type-warning .notiRowIcon { background: linear-gradient(135deg, #fef3c7, #fffbeb); color: var(--np-amber); border: 1px solid #fde68a; }
.notiRow.type-error   .notiRowIcon { background: linear-gradient(135deg, #fee2e2, #fef2f2); color: var(--np-red); border: 1px solid #fecaca; }

/* body */
.notiRowBody { flex: 1; min-width: 0; }
.notiRowHead {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 4px;
}
.notiRowHead .ttl { font-size: 13px; font-weight: 700; color: var(--np-text); }
    .notiRowHead .time {
        margin-left: auto;
        font-size: 11px;
        color: #94a3b8;
        white-space: nowrap;
        font-style: italic;
        margin-top:8px;
    }
.notiRowHead .badge {
    padding: 2px 8px; border-radius: 20px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.notiRowHead .badge.info    { background: #dbeafe; color: #1d4ed8; }
.notiRowHead .badge.success { background: #d1fae5; color: #065f46; }
.notiRowHead .badge.warning { background: #fef3c7; color: #92400e; }
.notiRowHead .badge.error   { background: #fee2e2; color: #991b1b; }
.notiRowHead .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #10b981; flex-shrink: 0;
    animation: npPing 2s ease-in-out infinite;
}
.notiRowMsg {
    font-size: 12px;
    color: #333;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notiRowFoot {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
    font-size: 11px;
    color: #047857;
}
.notiRowFoot i { margin-right: 5px; }

/* actions */
.notiRowActions { display: flex; gap: 3px; align-items: flex-start; flex-shrink: 0; }
.rowBtn {
    width: 28px; height: 28px; border-radius: 7px; border: none !important;
    background: transparent; cursor: pointer; color: var(--np-muted);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; transition: background .12s, color .12s;
}
.rowBtn:hover { background: #eff6ff; color: var(--np-blue); }
.rowBtn.danger:hover { background: #fee2e2; color: var(--np-red); }

/* EMPTY */
.notiEmptyState {
    background: var(--np-surface);
    border: 1.5px dashed var(--np-border); border-radius: 14px;
    padding: 64px 20px; text-align: center; user-select: none;
}
.notiEmptyState > i { font-size: 44px; color: var(--np-border); display: block; margin-bottom: 14px; }
.notiEmptyState .t1 { font-size: 15px; font-weight: 700; color: var(--np-sub); }
.notiEmptyState .t2 { font-size: 12px; margin-top: 15px; color: var(--np-muted); }

.notiPagerWrap { margin-top: 14px; display: flex; justify-content: center; }

/* util buttons */
.btnNotiSearchReload {
    background: transparent;
    box-shadow: none;
    outline: none;
    border: 0;
    color: #009688;
    transition: color .12s;
}
.btnNotiSearchReload:hover { color: var(--np-blue); background: transparent; }

.btnNotiToolMarkAll {
    background: #eff6ff; color: var(--np-blue) !important;
    font-weight: 500 !important; border-radius: 5px;
    border: 0px solid #bfdbfe !important; transition: all .15s;
}
.btnNotiToolMarkAll:hover {
    background: var(--np-blue); color: #fff !important;
    border-color: var(--np-blue) !important;
    box-shadow: 0 4px 14px rgba(37,99,235,.35);
}

.btnNotiToolDelAll {
    background: #fef2f2; color: var(--np-red) !important;
    font-weight: 500 !important; border-radius: 5px;
    border: 0px solid #fecaca !important; transition: all .15s;
}
.btnNotiToolDelAll:hover {
    background: var(--np-red); color: #fff !important;
    border-color: var(--np-red) !important;
    box-shadow: 0 4px 14px rgba(220,38,38,.3);
}
}