/* Notification System Styles */
#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none; /* Allow clicking through the container */
}

.notification {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  padding: 15px;
  transform: translateX(120%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto; /* Make the notification itself clickable */
  opacity: 0.95;
}

.notification.show {
  transform: translateX(0);
}

.notification:hover {
  opacity: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.notification-content {
  flex: 1;
  padding-right: 10px;
}

.notification-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.notification-close:hover {
  color: #333;
}

/* Notification types */
.notification-success {
  border-left: 4px solid #4caf50;
}

.notification-success::before {
  background-color: rgba(76, 175, 80, 0.1);
}

.notification-error {
  border-left: 4px solid #f44336;
}

.notification-error::before {
  background-color: rgba(244, 67, 54, 0.1);
}

.notification-warning {
  border-left: 4px solid #ff9800;
}

.notification-warning::before {
  background-color: rgba(255, 152, 0, 0.1);
}

.notification-info {
  border-left: 4px solid #2196f3;
}

.notification-info::before {
  background-color: rgba(33, 150, 243, 0.1);
}

/* Before pseudo-element for subtle background color */
.notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  #notification-container {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .notification {
    margin-bottom: 8px;
    padding: 12px;
  }
} 