/* Notification Center Panel */
.notification-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: #0f172a;
  border-left: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  z-index: 110;
  animation: notification-slide-in 0.2s ease-out;
}
@keyframes notification-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #1e293b;
  flex-shrink: 0;
}
.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}
.notification-header-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}
.notification-action-btn {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #64748b;
  transition: all 0.15s;
}
.notification-action-btn:hover {
  background: rgba(51, 65, 85, 0.5);
  color: #e2e8f0;
}
.notification-close-btn {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #64748b;
  transition: all 0.15s;
}
.notification-close-btn:hover {
  background: rgba(51, 65, 85, 0.5);
  color: #e2e8f0;
}
.notification-filters {
  display: flex;
  gap: 4px;
  padding: 8px 16px;
  border-bottom: 1px solid #1e293b;
  flex-shrink: 0;
}
.notification-filter-btn {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid #334155;
  background: transparent;
  color: #64748b;
  transition: all 0.15s;
}
.notification-filter-btn.active {
  background: #334155;
  color: #e2e8f0;
  border-color: #475569;
}
.notification-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.notification-empty {
  text-align: center;
  padding: 32px;
  color: #475569;
  font-size: 13px;
}
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.notification-item:hover {
  background: rgba(30, 41, 59, 0.5);
}
.notification-item-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.notification-item-body {
  flex: 1;
  min-width: 0;
}
.notification-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 2px;
}
.notification-item-text {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  word-break: break-word;
}
.notification-item-time {
  font-size: 10px;
  color: #475569;
  margin-top: 4px;
}
.notification-read .notification-item-title {
  color: #64748b;
}
.notification-read .notification-item-text {
  color: #475569;
}
.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
  margin-top: 6px;
}

/* Light theme */
[data-theme="light"] .notification-panel {
  background: #ffffff;
  border-left-color: #e2e8f0;
}
[data-theme="light"] .notification-header { border-bottom-color: #e2e8f0; }
[data-theme="light"] .notification-title { color: #1e293b; }
[data-theme="light"] .notification-filters { border-bottom-color: #e2e8f0; }
[data-theme="light"] .notification-filter-btn { border-color: #e2e8f0; color: #64748b; }
[data-theme="light"] .notification-filter-btn.active { background: #f1f5f9; color: #1e293b; border-color: #cbd5e1; }
[data-theme="light"] .notification-item:hover { background: rgba(241, 245, 249, 0.8); }
[data-theme="light"] .notification-item-title { color: #1e293b; }
[data-theme="light"] .notification-item-text { color: #475569; }
[data-theme="light"] .notification-read .notification-item-title { color: #94a3b8; }
