/* frontend/css/ui.css */

/* --- Notification System --- */

#notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.notification {
  min-width: 280px;
  max-width: 320px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0,0, 0.15);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.5s forwards, fadeOut 0.5s 4.5s forwards;
}

.notification::before {
  font-size: 1.5rem;
  line-height: 1;
}

/* Notification Types */
.notification.success {
  background-color: #27ae60;
}
.notification.success::before {
  content: '✓';
}

.notification.error {
  background-color: #c0392b;
}
.notification.error::before {
  content: '✖';
}

.notification.info {
  background-color: #2980b9;
}
.notification.info::before {
  content: 'ℹ';
}

/* Animations */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
