/* Notification Styles */
#notifications {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 300px;
}

.notification {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  color: white;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: slide-in 0.3s ease forwards;
}

.notification.success {
  background-color: #48bb78;
  border-left: 4px solid #2f855a;
}

.notification.warning {
  background-color: #ed8936;
  border-left: 4px solid #c05621;
}

.notification.error {
  background-color: #f56565;
  border-left: 4px solid #c53030;
}

.notification.info {
  background-color: #4299e1;
  border-left: 4px solid #2b6cb0;
}

.notification svg {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.notification button {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 4px;
  border-radius: 50%;
}

.notification button:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification.fade-out {
  animation: slide-out 0.3s ease forwards;
}

@keyframes slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  #notifications {
    bottom: 70px; /* Move up to avoid mobile controls */
    right: 10px;
    max-width: 280px;
  }
  
  .notification {
    padding: 10px 12px;
    font-size: 14px;
  }
} 