/* Admin Notification System Styles */

/* Notification badge positioning */
.notification-badge {
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  line-height: 16px;
  border-radius: 50%;
}

/* Notification dropdown styling */
.notification-dropdown {
  width: 350px;
  max-height: 500px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #dee2e6;
}

/* Notification item styling */
.notification-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.2s ease;
}

.notification-item:hover {
  background-color: #f8f9fa;
  text-decoration: none;
}

.notification-item:last-child {
  border-bottom: none;
}

/* Notification content styling */
.notification-content {
  line-height: 1.3;
}

.notification-title {
  font-weight: 600;
  color: #212529;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.notification-description {
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.notification-date {
  font-size: 0.75rem;
}

/* Priority styling */
.notification-item.priority-high {
  border-left: 4px solid #dc3545;
}

.notification-item.priority-medium {
  border-left: 4px solid #ffc107;
}

.notification-item.priority-low {
  border-left: 4px solid #28a745;
}

/* Dropdown header styling */
.notification-dropdown .dropdown-header {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #6c757d;
  background-color: #f8f9fa;
}

.notification-dropdown .dropdown-header strong {
  color: #495057;
}

/* Category header styling */
.notification-dropdown h6.dropdown-header {
  background-color: #e9ecef;
  color: #495057;
  font-weight: 600;
  padding: 8px 16px;
  margin: 0;
  font-size: 0.85rem;
}

.notification-dropdown h6.dropdown-header i {
  margin-right: 8px;
  width: 16px;
}

/* Bell icon animation */
@keyframes bellShake {
  0%, 50%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
}

.nav-link .fa-bell:hover {
  animation: bellShake 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .notification-dropdown {
    width: 300px;
    max-height: 400px;
  }
  
  .notification-item {
    padding: 10px 12px;
  }
  
  .notification-title {
    font-size: 0.85rem;
  }
  
  .notification-description {
    font-size: 0.8rem;
  }
}

/* Empty state */
.notification-dropdown .dropdown-item-text {
  padding: 20px;
  text-align: center;
  color: #6c757d;
  font-style: italic;
}

/* Scrollbar styling for webkit browsers */
.notification-dropdown::-webkit-scrollbar {
  width: 6px;
}

.notification-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.notification-dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.notification-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}