/* VORTEX — الإشعارات: الجرس والنافذة المنسدلة وصفحة الإشعارات */
.nb-wrap { position: relative; display: inline-flex; }
.nb-btn { position: relative; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; color: #e8eefc; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.nb-btn:hover, .nb-btn[aria-expanded="true"] { border-color: #76e5fd; background: rgba(255,255,255,.09); }
.nb-btn svg { width: 18px; height: 18px; }
.nb-dot { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, #13abd2, #76e5fd); color: #04151c; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #070b14; }
.nb-panel { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: min(370px, 92vw); max-height: 70vh; display: flex; flex-direction: column; border-radius: 16px; background: #0c1320; border: 1px solid rgba(118,229,253,.18); box-shadow: 0 22px 50px rgba(0,0,0,.55); z-index: 90; overflow: hidden; animation: nb-in .16s ease-out; }
@keyframes nb-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nb-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.nb-head b { color: #fff; font-size: 15px; }
.nb-link { background: none; border: 0; color: #76e5fd; font: inherit; font-size: 12px; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.nb-link:hover { background: rgba(118,229,253,.1); }
.nb-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.nb-foot { display: block; text-align: center; padding: 12px; color: #76e5fd; text-decoration: none; font-size: 13px; font-weight: 700; border-top: 1px solid rgba(255,255,255,.07); }
.nb-foot:hover { background: rgba(118,229,253,.06); }
.nb-empty { padding: 26px 12px; text-align: center; color: #8e99a4; font-size: 13px; list-style: none; }

/* عنصر الإشعار (مشترك بين النافذة والصفحة) */
.nx-item { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; cursor: pointer; color: #dfe7f7; transition: background .15s; }
.nx-item:hover { background: rgba(255,255,255,.04); }
.nx-item.unread { background: rgba(19,171,210,.08); }
.nx-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(118,229,253,.1); color: #76e5fd; }
.nx-ico svg { width: 16px; height: 16px; }
.nx-main { min-width: 0; flex: 1; display: grid; gap: 3px; }
.nx-main b { color: #fff; font-size: 14px; line-height: 1.4; }
.nx-body { color: #c4ccd8; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.nx-main small { color: #8e99a4; font-size: 12px; }
.nx-new { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #76e5fd; margin-top: 6px; box-shadow: 0 0 8px rgba(118,229,253,.7); }

/* صفحة الإشعارات */
.nt { width: min(760px, 100% - 32px); margin: 0 auto; padding: 28px 0 90px; }
.nt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.nt-head h1 { margin: 0; font-size: 26px; font-weight: 900; color: #fff; }
.nt-btn { font: inherit; font-size: 13px; color: #76e5fd; background: rgba(19,171,210,.1); border: 1px solid rgba(118,229,253,.35); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.nt-btn:hover { background: rgba(19,171,210,.18); }
.nx-page { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nx-page .nx-item { background: #0c1217; border: 1px solid rgba(255,255,255,.07); padding: 14px; }
.nx-page .nx-item.unread { border-color: rgba(118,229,253,.35); }
.hidden { display: none !important; }
