/* Custom Notification Dropdown Styles */
.dropdown-notifications-list {
  max-height: 320px;
  overflow-y: auto;
}

.dropdown-notifications-item {
  padding: 0.75rem 1rem;
  border: none;
  transition: all 0.15s ease-in-out;
}

.dropdown-notifications-item:hover {
  background-color: rgba(67, 89, 113, 0.05);
}

.dropdown-notifications-item.marked-as-read {
  opacity: 0.6;
}

.dropdown-notifications-actions {
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.dropdown-notifications-item:hover .dropdown-notifications-actions {
  opacity: 1;
}

.dropdown-notifications-read,
.dropdown-notifications-archive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 0.25rem;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.15s ease-in-out;
}

.dropdown-notifications-read:hover {
  background-color: rgba(67, 89, 113, 0.1);
}

.dropdown-notifications-archive:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.badge-notifications {
  position: absolute;
  top: -2px;
  right: -6px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
}

.scrollable-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(67, 89, 113, 0.3) transparent;
}

.scrollable-container::-webkit-scrollbar {
  width: 6px;
}

.scrollable-container::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable-container::-webkit-scrollbar-thumb {
  background-color: rgba(67, 89, 113, 0.3);
  border-radius: 3px;
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(67, 89, 113, 0.5);
}

.dropdown-menu-header {
  padding: 0 1rem;
}

.dropdown-menu.dropdown-menu-end {
  min-width: 380px;
}

@media (max-width: 575.98px) {
  .dropdown-menu.dropdown-menu-end {
    min-width: 320px;
  }
}

.icon-base {
  font-size: inherit;
}

.icon-md {
  font-size: 1.125rem;
}

/* Animation for notification badge */
.badge-notifications {
  animation: pulse-notification 2s infinite;
}

@keyframes pulse-notification {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Notification item avatar */
.dropdown-notifications-item .avatar {
  width: 38px;
  height: 38px;
}

.dropdown-notifications-item .avatar-initial {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Status badges for different notification types */
.bg-label-primary {
  background-color: rgba(105, 108, 255, 0.16) !important;
  color: #696cff !important;
}

.bg-label-success {
  background-color: rgba(113, 221, 55, 0.16) !important;
  color: #71dd37 !important;
}

.bg-label-danger {
  background-color: rgba(255, 62, 29, 0.16) !important;
  color: #ff3e1d !important;
}

.bg-label-warning {
  background-color: rgba(255, 171, 0, 0.16) !important;
  color: #ffab00 !important;
}

.bg-label-info {
  background-color: rgba(3, 195, 236, 0.16) !important;
  color: #03c3ec !important;
}
