.notifications-icon {
  position: relative;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 10px;
  transition: color 0.2s ease;
}

.notifications-icon:hover {
  color: #0066ff;
}

.notification-badge {
  position: absolute;
  top: -3px;
  right: 9px;
  background: #ff3b30;
  color: white;
  font-size: 11px;
  font-weight: 600;
  height: 18px;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #001629;
}

.notifications-menu {
  position: absolute;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
  padding: 0;
}

.notification-dropdown .nav-link:hover .notifications-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
}

.notifications-menu .dropdown-header {
  padding: 16px;
  border-bottom: 1px solid #eef0f5;
  font-size: 14px;
  font-weight: 600;
  color: #1e2022;
  text-transform: none;
  letter-spacing: normal;
}

.dropdown-menu.notifications-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
}

.notification-dropdown i {
  color: #ffffff;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  transition: background 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.notification-item:hover {
  background: #f8f9fa;
}

.notification-item:not(:last-child) {
  border-bottom: 1px solid #f1f1f1;
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.notification-content {
  flex: 1;
}

.notification-text {
  font-size: 14px;
  font-weight: 500;
  color: #1e2022;
  margin-bottom: 4px;
}

.notification-desc {
  font-size: 13px;
  color: #77838f;
  margin: 0;
  line-height: 1.4;
}

.notifications-footer {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #eef0f5;
}

.notification-time {
  font-size: 0.85rem;
  color: #94a3b8;
}

.notifications-footer {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #eef0f5;
}

.view-all {
  font-size: 13px;
  font-weight: 500;
  color: #0066ff;
  text-decoration: none;
}

.view-all:hover {
  color: #0052cc;
}

@media (max-width: 768px) {
  .notifications-menu {
    top: calc(100% + 10px);
    transform: translateY(0);
    left: calc(5vw) !important;
    right: auto !important;
  }

  .dropdown-menu.notifications-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    min-width: 80vw;
  }

  .notification-dropdown {
    position:sticky;
    left: 70vw;
    display: flex;
    justify-content: end;
  }
}
