.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: -8px;
  width: 420px;
  max-width: calc(100vw - 24px);
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
  overflow: hidden;
  animation: notifSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes notifSlideDown {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border-soft);
}
.notif-header-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--text-strong);
  letter-spacing: -0.3px;
}
.notif-header-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 8px;
}
.notif-read-all-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  color: var(--brand-teal);
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}
.notif-read-all-btn:hover { background: var(--accent-light); }
.notif-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 16px 0;
  border-bottom: 1px solid var(--border-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.notif-tabs::-webkit-scrollbar { display: none; }
.notif-tab {
  padding: 8px 14px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  transition: all 0.2s;
  position: relative;
}
.notif-tab:hover { color: var(--text-strong); background: var(--bg-soft); }
.notif-tab.active {
  color: var(--brand-teal);
  font-weight: 700;
}
.notif-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 8px; right: 8px;
  height: 2.5px;
  background: var(--brand-teal);
  border-radius: 2px 2px 0 0;
}
.notif-list {
  max-height: 420px;
  overflow-y: auto;
  padding: 6px;
}
.notif-item {
  padding: 14px 14px;
  border-radius: 14px;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}
.notif-item:last-child { margin-bottom: 0; }
.notif-item:hover {
  background: var(--bg-soft);
  transform: translateX(2px);
}
.notif-item.unread {
  background: rgba(0,153,153,0.04);
}
.notif-item.unread:hover { background: rgba(0,153,153,0.08); }
/* Kategori renkleri - sol border */
.notif-item.cat-sale { border-left: 3px solid #10B981; }
.notif-item.cat-admin { border-left: 3px solid #8B5CF6; }
.notif-item.cat-target { border-left: 3px solid #3B82F6; }
.notif-item.cat-delivery { border-left: 3px solid #F59E0B; }
.notif-item.cat-payment { border-left: 3px solid #EC4899; }
.notif-item.cat-system { border-left: 3px solid #6B7280; }
.notif-item.cat-critical { border-left: 3px solid #EF4444; }
/* İkon kutuları */
.notif-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  transition: transform 0.2s;
}
.notif-item:hover .notif-icon-wrap { transform: scale(1.08); }
.notif-item.cat-sale .notif-icon-wrap { background: rgba(16,185,129,0.10); }
.notif-item.cat-admin .notif-icon-wrap { background: rgba(139,92,246,0.10); }
.notif-item.cat-target .notif-icon-wrap { background: rgba(59,130,246,0.10); }
.notif-item.cat-delivery .notif-icon-wrap { background: rgba(245,158,11,0.10); }
.notif-item.cat-payment .notif-icon-wrap { background: rgba(236,72,153,0.10); }
.notif-item.cat-system .notif-icon-wrap { background: rgba(107,114,128,0.10); }
.notif-item.cat-critical .notif-icon-wrap { background: rgba(239,68,68,0.10); }
.notif-content { flex: 1; min-width: 0; }
.notif-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}
.notif-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.2px;
}
.notif-item.unread .notif-title { color: var(--text-strong); }
.notif-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-teal);
  flex-shrink: 0;
  animation: notifPulse 2s infinite;
}
@keyframes notifPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.notif-message {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.notif-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.notif-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.notif-badge-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.notif-item.cat-sale .notif-badge-tag { background: rgba(16,185,129,0.12); color: #059669; }
.notif-item.cat-admin .notif-badge-tag { background: rgba(139,92,246,0.12); color: #7C3AED; }
.notif-item.cat-target .notif-badge-tag { background: rgba(59,130,246,0.12); color: #2563EB; }
.notif-item.cat-delivery .notif-badge-tag { background: rgba(245,158,11,0.12); color: #D97706; }
.notif-item.cat-payment .notif-badge-tag { background: rgba(236,72,153,0.12); color: #DB2777; }
.notif-item.cat-system .notif-badge-tag { background: rgba(107,114,128,0.12); color: #4B5563; }
.notif-item.cat-critical .notif-badge-tag { background: rgba(239,68,68,0.12); color: #DC2626; }
.notif-empty {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.notif-empty-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
}
.notif-empty-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
}
.notif-empty-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .notif-dropdown { width: calc(100vw - 16px); right: -8px; border-radius: 16px; }
  .notif-item { padding: 12px 10px; gap: 10px; }
  .notif-icon-wrap { width: 36px; height: 36px; font-size: 16px; }
  .notif-list { max-height: 60vh; }
}
