:root {
  --notif-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notif-wrapper {
  position: relative;
}

.notif-bell {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 255, 0.35);
  background: rgba(12, 18, 27, 0.75);
  color: var(--blanco);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.notif-bell:hover {
  border-color: rgba(52, 211, 255, 0.6);
  transform: translateY(-1px);
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  background: var(--accent);
  color: var(--negro);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(52, 211, 255, 0.35);
}

.notif-panel {
  position: absolute;
  right: 0;
  top: 52px;
  width: 320px;
  background: rgba(15, 22, 35, 0.96);
  border: 1px solid rgba(52, 211, 255, 0.2);
  border-radius: 16px;
  box-shadow: var(--notif-shadow);
  padding: 0.85rem;
  z-index: 2000;
}

.notif-panel.hidden {
  display: none;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.notif-header span {
  font-weight: 700;
}

.notif-mark {
  border: none;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.notif-list {
  display: grid;
  gap: 0.5rem;
}

.notif-item {
  display: block;
  border: 1px solid rgba(52, 211, 255, 0.12);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  text-decoration: none;
  color: var(--blanco);
  background: rgba(12, 18, 27, 0.6);
}

.notif-item.unread {
  border-color: rgba(52, 211, 255, 0.45);
  background: rgba(52, 211, 255, 0.08);
}

.notif-time {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.notif-empty {
  text-align: center;
  color: var(--muted);
  padding: 0.6rem;
}

@media (max-width: 640px) {
  .notif-panel {
    width: calc(100vw - 3rem);
    right: -16px;
  }
}
