/* 
 * Notification Panel Fix - Prevents blocking burger menu
 * Fixes the system notification panel that blocks the burger menu
 */

/* Fix for System Notification Panel */
.notifications-dropdown {
  position: relative;
}

.notifications-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  max-width: 90vw;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  overflow: hidden;
}

.notifications-dropdown .dropdown-menu.active {
  display: block;
}

.notifications-dropdown .dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  background: #f5f5f5;
}

.notifications-dropdown .dropdown-header h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.notifications-dropdown .dropdown-content {
  max-height: 300px;
  overflow-y: auto;
}

.notifications-dropdown .empty-state {
  padding: 24px;
  text-align: center;
  color: #757575;
}

.notifications-dropdown .empty-state i {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* Fix for mobile view - ensure notifications don't block burger menu */
@media (max-width: 768px) {
  .notifications-dropdown .dropdown-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
  }
  
  .notifications-dropdown .dropdown-content {
    max-height: calc(100vh - 120px);
  }
  
  /* Ensure burger menu is always accessible */
  #toggle-sidebar {
    z-index: 1100;
    position: relative;
  }
}
