/* =============================
   🔔 PaperWagers Notifications (Dark LED Hybrid)
   ============================= */

#pw-bell-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#pw-bell {
  stroke: #fff;
  transition: stroke 0.25s ease, transform 0.25s ease;
}
#pw-bell:hover {
  stroke: #000;
  transform: scale(1.08);
}

/* 🔴 Notification badge */
#pw-badge {
  display: none;
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ffd000; /* bright yellow */
  color: #000;
  border-radius: 50%;
  font-size: 11px;
  padding: 1px 4px;
  line-height: 1.2;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.9);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Optional pulse when new notifications arrive */
.pw-has-new #pw-bell {
  animation: pwBellPulse 0.8s ease-out;
}
@keyframes pwBellPulse {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* 📥 Dropdown container */
#pw-dropdown {
  position: absolute;
  right: 0;
  top: 32px;
  width: 280px;
  background: #0c0c0c;
  color: #fff;
  border-radius: 10px;
  border: 1px solid #222;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  font-family: 'Share Tech Mono', monospace;
  display: none;
  z-index: 99999;
  animation: pw-slideDown 0.25s ease;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ffb347 #111;
}
#pw-dropdown.visible {
  display: block;
}
#pw-dropdown::-webkit-scrollbar {
  width: 6px;
}
#pw-dropdown::-webkit-scrollbar-thumb {
  background: #ffb347;
  border-radius: 10px;
}

/* ✉️ Individual notification lines */
#pw-dropdown .pw-note {
  padding: 10px 12px;
  border-bottom: 1px solid #222;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}
#pw-dropdown .pw-note:last-child {
  border-bottom: none;
}
#pw-dropdown .pw-note:hover {
  background: rgba(255, 179, 71, 0.15);
}

#pw-dropdown a {
  color: inherit;
  text-decoration: none;
  flex: 1;
}
#pw-dropdown a:hover {
  color: #ffb347;
  text-shadow: 0 0 6px #ffb347;
}

/* 🎨 Type-based color hints */
.type-pickem a::before {
  content: "🏈";
  margin-right: 4px;
}
.type-hotstick a::before {
  content: "🥅";
  margin-right: 4px;
}
.type-pot a::before {
  content: "💰";
  margin-right: 4px;
}
.type-wallet a::before {
  content: "🏅";
  margin-right: 4px;
}

/* 🚨 Special tone for warnings/info */
.pw-note.type-warning {
  border-left: 4px solid #ff3b30;
}
.pw-note.type-info {
  border-left: 4px solid #007bff;
}

/* 📱 Mobile optimization */
@media (max-width: 768px) {
  #pw-dropdown {
    right: auto;
    left: 0;
    width: 240px;
    font-size: 13px;
  }
}

/* ✨ Slide animation */
@keyframes pw-slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 🧩 Balanced notification spacing */
#pw-dropdown .pw-note {
  padding: 8px 12px;         /* restore comfortable spacing */
  line-height: 1.35;         /* balanced text height */
  font-size: 13.5px;         /* crisp, compact size */
  display: flex;
  align-items: center;
  gap: 6px;
}

#pw-dropdown a {
  color: inherit;
  text-decoration: none;
  flex: 1;
  line-height: 1.35;
  white-space: normal;       /* allow wrapping, looks cleaner */
  overflow: visible;
  text-overflow: unset;
}

#pw-dropdown .pw-note + .pw-note {
  margin-top: 0;
  border-top: 1px solid #1a1a1a; /* thin divider */
}

/* Slight highlight on hover */
#pw-dropdown .pw-note:hover {
  background: rgba(255, 179, 71, 0.15);
  transition: background 0.2s ease;
}

