/* Notification Styles */
.notification-wrapper { 
  position: relative; 
  display: flex; 
  align-items: center; 
  cursor: pointer; 
}

.notification-badge {
  background: #dc6c3a;
  color: white; 
  border-radius: 50%;
  font-size: 10px; 
  width: 18px; 
  height: 18px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  position: absolute; 
  top: -5px; 
  right: -5px;
}

#notificationDropdown {
  display: none; 
  position: absolute; 
  top: 40px; 
  right: 0;
  background: #fff; 
  border: 1px solid #e0e0e0;
  width: 350px; 
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1); 
  z-index: 999;
  max-height: 400px;
  overflow: hidden;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  background: #f8f9fa;
}

.notification-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.mark-all-read {
  background: none;
  border: none;
  color: #dc6c3a;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.mark-all-read:hover {
  color: #c55a2e;
}

.notification-list {
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  padding: 12px 15px; 
  border-bottom: 1px solid #f0f0f0; 
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

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

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

.notification-item.unread {
  background-color: #fff3cd;
  border-left: 3px solid #dc6c3a;
}

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

.notification-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-content {
  flex: 1;
}

.notification-actions {
  flex-shrink: 0;
  margin-left: 8px;
}

.delete-notification {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.delete-notification:hover {
  color: #dc3545;
  background: #f8f9fa;
}

.notification-title {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  margin-bottom: 4px;
}

.notification-message {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 4px;
}

.notification-time {
  font-size: 11px;
  color: #999;
}

.notification-footer {
  padding: 12px 15px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  background: #f8f9fa;
}

.notification-footer a {
  color: #dc6c3a;
  text-decoration: none;
  font-size: 12px;
}

.notification-footer a:hover {
  text-decoration: underline;
}

.loading-notifications {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 12px;
}

.no-notifications {
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #notificationDropdown {
    width: 300px;
    right: -50px;
  }
}

@media (max-width: 480px) {
  #notificationDropdown {
    width: 280px;
    right: -80px;
  }
  
  .notification-item {
    padding: 10px 12px;
  }
  
  .notification-header {
    padding: 12px;
  }
  
  .notification-footer {
    padding: 10px 12px;
  }
}
