/* === Notification Bell System - Unified === */

/* Shared Bell Styles */
.notification-bell {
  position: relative;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: 1rem;
}

.notification-bell span {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 0.7rem;
  border-radius: 50%;
  padding: 2px 6px;
  line-height: 1;
}

.notification-dropdown {
  display: none;
  position: absolute;
  top: 2rem;
  right: 0;
  width: 240px;
  background: var(--background-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.notification-bell.open .notification-dropdown {
  display: block;
}

/* Desktop Bell Styles */
.desktop-bell {
  display: none;
}

@media (min-width: 769px) {
  .desktop-bell {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    position: relative;
  }

  .desktop-bell .notification-dropdown {
    right: 0;
    left: auto;
  }
}

/* Mobile Bell Styles */
.mobile-bell {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bell {
    display: flex;
    align-items: center;
    position: absolute;
    top: 2.5rem;       /* moved down slightly */
    right: 9rem;     /* nudged left from hamburger */
    z-index: 1000;
  }

  .mobile-bell .notification-bell {
    position: relative;
    font-size: 1.5rem;
  }

  .mobile-bell .notification-dropdown {
    right: 0;
    left: auto;
  }

  .desktop-bell {
    display: none;
  }
}
