/* RemoteHive global admin notification bell */
.rh-bell-wrap {
  position: relative;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

.rh-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.rh-bell-btn:hover {
  background: #eef2ff;
  color: #3b82f6;
}
.rh-bell-btn svg { width: 22px; height: 22px; }

.rh-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.rh-bell-badge.hidden { display: none; }

.rh-bell-panel {
  position: absolute;
  top: 48px;
  right: 0;
  width: 360px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
  z-index: 9999;
  display: none;
  flex-direction: column;
}
.rh-bell-panel.open { display: flex; }

.rh-bell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  font-weight: 700;
  color: #1e293b;
  font-size: 13px;
}
.rh-bell-head button {
  border: none;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}
.rh-bell-head button:hover { background: #e2e8f0; }

.rh-bell-list { padding: 6px; }
.rh-bell-empty {
  padding: 28px 14px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}
.rh-bell-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.rh-bell-item:hover { background: #f8fafc; }
.rh-bell-item.unread { background: #eff6ff; }
.rh-bell-dot {
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 6px; flex-shrink: 0;
  background: #94a3b8;
}
.rh-bell-dot.info { background: #3b82f6; }
.rh-bell-dot.success { background: #22c55e; }
.rh-bell-dot.warning { background: #f59e0b; }
.rh-bell-dot.error { background: #ef4444; }
.rh-bell-body { flex: 1; min-width: 0; }
.rh-bell-title { font-size: 13px; font-weight: 600; color: #1e293b; }
.rh-bell-msg { font-size: 12px; color: #64748b; margin-top: 2px; }
.rh-bell-time { font-size: 11px; color: #94a3b8; margin-top: 3px; }
.rh-bell-cat {
  display: inline-block; font-size: 10px; text-transform: uppercase;
  letter-spacing: .04em; color: #94a3b8; margin-right: 6px;
}
