/* Push notification pill + banner (admin + modelo) */

.np-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  background: transparent;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.np-pill:disabled {
  cursor: default;
}
.np-pill.ok {
  background: rgba(120, 200, 120, 0.12);
  color: #7cd07c;
  border-color: rgba(120, 200, 120, 0.3);
}
.np-pill.alert {
  background: rgba(232, 156, 110, 0.18);
  color: #f0a878;
  border-color: rgba(232, 156, 110, 0.4);
  animation: np-pulse 2s ease-in-out infinite;
}
.np-pill.alert:hover {
  background: rgba(232, 156, 110, 0.32);
}
.np-pill.bad {
  background: rgba(220, 90, 90, 0.18);
  color: #e88080;
  border-color: rgba(220, 90, 90, 0.45);
}
.np-pill.bad:hover {
  background: rgba(220, 90, 90, 0.32);
}

@keyframes np-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 156, 110, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(232, 156, 110, 0); }
}

.np-banner {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #c54545, #a83434);
  color: white;
  padding: 9px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  line-height: 1.35;
}
