/* Yenilikler bildirim merkezi (web/notifications.js). Renkler app.css değişkenlerinden gelir. */
.notif-wrap { position: relative; display: inline-flex; }
.notif-button { position: relative; }
.notif-button.has-unread svg { color: var(--teal, #006678); }
.notif-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-grid; place-items: center; border-radius: 9px;
  background: var(--danger, #bb2428); color: #fff; font-size: .66rem; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 2px var(--surface, #fff);
}
.notif-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 120;
  width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 560px);
  display: flex; flex-direction: column;
  background: var(--surface, #fff); color: var(--ink, #0b1e3f);
  border: 1px solid var(--line, #d6dee8); box-shadow: var(--shadow, 0 22px 60px rgba(9, 30, 63, .12));
}
.notif-panel[hidden] { display: none; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line, #d6dee8); }
.notif-head b { font-size: .9rem; }
.notif-head .notif-link { white-space: nowrap; }
.notif-tabs { display: flex; border-bottom: 1px solid var(--line, #d6dee8); }
.notif-tab { flex: 1; height: 38px; border: 0; background: transparent; color: var(--ink-2, #43536c); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.notif-tab.active { color: var(--ink, #0b1e3f); box-shadow: inset 0 -3px 0 var(--teal, #006678); }
.notif-list { overflow-y: auto; padding: .25rem 0; }
.notif-item { padding: .8rem 1rem; border-bottom: 1px solid var(--line, #d6dee8); }
.notif-item:last-child { border-bottom: 0; }
.notif-item.is-unread { background: var(--teal-soft, #e7f3f5); }
.notif-item.is-read { opacity: .82; }
.notif-meta { display: flex; align-items: center; gap: .5rem; font-size: .7rem; color: var(--ink-3, #738097); margin-bottom: .3rem; }
.notif-kind { padding: .1rem .45rem; border: 1px solid currentColor; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.notif-item.is-new .notif-kind { color: var(--teal, #006678); }
.notif-item.is-fix .notif-kind { color: var(--orange, #b54708); }
.notif-item.is-improve .notif-kind { color: var(--violet, #7357c9); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger, #bb2428); margin-left: auto; }
.notif-title { display: block; font-size: .86rem; margin-bottom: .25rem; }
.notif-body { margin: 0 0 .35rem; font-size: .8rem; line-height: 1.45; color: var(--ink-2, #43536c); }
.notif-empty { margin: 0; padding: 1.2rem 1rem; font-size: .8rem; color: var(--ink-3, #738097); }
.notif-link { border: 0; background: transparent; padding: 0; color: var(--teal, #006678); font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; text-decoration: underline; }
.notif-link[hidden] { display: none; }
.notif-foot { padding: .7rem 1rem; border-top: 1px solid var(--line, #d6dee8); background: var(--surface-soft, #f0f5f8); }
.notif-setting { display: flex; align-items: center; gap: .5rem; font-size: .78rem; cursor: pointer; }
.notif-toast {
  position: fixed; right: 16px; bottom: 16px; z-index: 150; display: flex; align-items: center; gap: .75rem;
  max-width: calc(100vw - 32px); padding: .75rem 1rem;
  background: var(--ink, #0b1e3f); color: var(--surface, #fff); font-size: .82rem; box-shadow: var(--shadow, 0 22px 60px rgba(9, 30, 63, .12));
}
.notif-toast .notif-link { color: inherit; }
.notif-close { border: 0; background: transparent; color: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .notif-panel { position: fixed; top: calc(var(--header-h, 76px) + 4px); right: 16px; left: 16px; width: auto; }
}
[data-notifications-host] { display: flex; align-items: center; gap: .6rem; }
