/* Panneau de notifications */
.notification-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--surface-0);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  z-index: 1050;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.notification-panel.open {
  right: 0;
}

.notif-panel-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-panel-header h5 {
  margin: 0;
  font-weight: 600;
}

.notif-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.15s;
}

.notif-item:hover {
  background: var(--surface-2);
}

.notif-item.unread {
  background: rgba(var(--primary-rgb, 67,97,238), 0.05);
  border-left: 3px solid var(--primary);
}

.notif-item .notif-icon {
  font-size: 1.5rem;
  width: 32px;
  text-align: center;
}

.notif-content {
  flex: 1;
}

.notif-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.notif-message {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: normal;
}

.notif-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.notif-actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}

.btn-icon:hover {
  color: var(--text-primary);
}