/* Custom Dot */
.notification-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(21, 246, 119, 0.4);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.notification-item.unread .notification-dot {
  background-color: #dc3545; /* Rosso per non lette */
}

/* Hover effect sul pallino */
.notification-icon:hover .notification-dot {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Il resto del CSS rimane uguale */
.notification-btn {
  color: white;
  font-size: 1.3rem;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  padding: 0.55rem;
  padding-right: 0.9rem !important;
}

.notification-btn:hover {
  color: #e0e0e0;
  transform: scale(1.05);
}

.notification-btn:focus {
  outline: none;
}

.notification-badge {
  font-size: 0.7rem;
  padding: 0.25em 0.4em;
  transform: translate(-160%, 15%) !important;
  background-color: #dc3545;
}

/* Notifications Dropdown */
.notifications-dropdown .dropdown-menu {
  width: 420px;
  max-height: 600px;
  margin-top: 0.5rem;
  padding: 0;
  background-color: #07306d !important;
  border: 1px solid #333 !important;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Notifications Header */
.notifications-header {
  background-color: #000000;
  color: white;
  padding: 1rem;
  border-bottom: 1px solid #000000 !important;
}

/* Notifications List */
.notifications-list {
  max-height: 500px;
  overflow-y: auto;
  padding: 0;
}

/* Notification Item */
.notification-item {
  background-color: #1b1a20;
  transition: all 0.2s ease;
  padding: 1rem;
  padding-top: 0.7rem !important;
  cursor: pointer;
  border-bottom: 1px solid #000000 !important;
}

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

.notification-item:hover {
  background-color: #000000;
}

.notification-content {
  color: white;
}

.notification-title {
  font-size: 0.9rem;
  color: white;
}

.notification-message {
  font-size: 0.76rem;
  line-height: 1.4;
  color: #d8d8d8 !important;
  margin-bottom: 0.5rem;
}

.notification-meta {
  font-size: 0.75rem;
  color: #d8d8d8 !important;
}

.notification-time {
  font-size: 0.75rem;
  color: #d8d8d8 !important;
}

/* Notifications Footer */
.notifications-footer {
  background-color: #090911;
  padding: 0.75rem;
  border-top: 1px solid #000000 !important;
  text-align: center;
}

.notifications-footer a {
  color: #aaa;
  font-size: 0.7rem;
  text-decoration: none;
  display: block;
}

.notifications-footer a:hover {
  color: white;
}

/* Custom Scrollbar */
.notifications-list::-webkit-scrollbar {
  width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.notifications-list::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}
