/* Henistec Proof Notifications v2.0 */

.hnp-widget {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
}
.hnp-widget.bl { bottom: 24px; left: 24px; }
.hnp-widget.br { bottom: 24px; right: 24px; }
.hnp-widget.tl { top: 24px; left: 24px; }
.hnp-widget.tr { top: 24px; right: 24px; }

.hnp-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 16px;
  width: 310px;
  max-width: calc(100vw - 48px);
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Right-side widgets slide from right */
.hnp-widget.br .hnp-toast,
.hnp-widget.tr .hnp-toast {
  transform: translateX(130%);
}

.hnp-toast.hnp-in  { transform: translateX(0) !important; opacity: 1; }
.hnp-toast.hnp-out {
  transform: translateX(-130%) !important;
  opacity: 0;
  transition: transform 0.3s ease-in, opacity 0.25s ease-in;
}
.hnp-widget.br .hnp-toast.hnp-out,
.hnp-widget.tr .hnp-toast.hnp-out { transform: translateX(130%) !important; }

.hnp-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}

.hnp-content { flex: 1; min-width: 0; }

.hnp-title {
  font-size: 13px; font-weight: 600;
  line-height: 1.35; margin: 0;
}

.hnp-meta {
  font-size: 11.5px; margin-top: 3px;
  display: flex; align-items: center; gap: 6px;
  opacity: 0.65;
}

.hnp-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #2bdc82; flex-shrink: 0;
  animation: hnp-pulse 1.8s ease-in-out infinite;
}

@keyframes hnp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.8); }
}

.hnp-close {
  background: none; border: none; cursor: pointer;
  font-size: 15px; opacity: 0.35; padding: 3px;
  border-radius: 5px; flex-shrink: 0;
  transition: opacity 0.2s;
  line-height: 1;
}
.hnp-close:hover { opacity: 0.75; }
