/*
 * Shared portal micro-interactions: hover-lift, notification bell pulse,
 * and the empty-state mascot used by DataTables lists.
 * Colors are read from the existing Bootstrap theme variables so this
 * never introduces a new palette and stays correct in light/dark mode.
 */

.hover-lift {
  transition: transform .18s ease, box-shadow .18s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -12px rgba(76, 78, 100, .28);
}

@keyframes rsBellPulse {
  0% { opacity: .6; transform: scale(.6); }
  100% { opacity: 0; transform: scale(1.8); }
}
.bell-pulse {
  position: relative;
}
.bell-pulse::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid var(--bs-primary);
  animation: rsBellPulse 1.6s ease-out infinite;
  pointer-events: none;
}

.rs-empty-state {
  padding: 34px 16px 30px;
  text-align: center;
}
.rs-empty-bot {
  width: 60px;
  height: 52px;
  margin: 0 auto 12px;
  position: relative;
}
.rs-empty-bot .rs-head {
  width: 100%;
  height: 100%;
  background: rgba(var(--bs-gray-rgb), .08);
  border: 1px solid rgba(var(--bs-gray-rgb), .14);
  border-radius: 16px;
}
.rs-empty-bot .rs-face {
  position: absolute;
  inset: 10px 7px 14px;
  background: rgba(var(--bs-gray-rgb), .85);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rs-empty-bot .rs-eye {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bs-primary);
  box-shadow: 0 0 6px rgba(var(--bs-primary-rgb), .6);
}
.rs-empty-state h6 {
  margin: 0 0 4px;
  color: var(--bs-heading-color);
}
.rs-empty-state p {
  margin: 0;
  color: var(--bs-body-color);
  font-size: .8125rem;
}

.dropdown-notifications-item[data-notification-id] {
  cursor: pointer;
  transition: background-color .15s ease;
}
.dropdown-notifications-item.notif-unread {
  background-color: rgba(var(--bs-primary-rgb), .06);
  border-left: 3px solid var(--bs-primary);
}
.dropdown-notifications-item.notif-unread h6 {
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .hover-lift,
  .bell-pulse::after {
    transition: none !important;
    animation: none !important;
  }
}
