/* Notification System */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
}

.notification {
  background-color: white;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease, fadeOut 0.5s ease 2.5s forwards;
  position: relative;
  overflow: hidden;
}

.notification::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  animation: shrink 3s linear forwards;
}

.notification.success {
  border-left: 4px solid var(--success);
}

.notification.success::after {
  background-color: var(--success);
}

.notification.success .notification-icon {
  color: var(--success);
}

.notification.error {
  border-left: 4px solid var(--error);
}

.notification.error::after {
  background-color: var(--error);
}

.notification.error .notification-icon {
  color: var(--error);
}

.notification-icon {
  font-size: 1.25rem;
  color: var(--primary);
}

.notification-content {
  flex-grow: 1;
}

.notification-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.notification-message {
  font-size: 0.75rem;
  color: var(--foreground);
  opacity: 0.8;
}

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

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes shrink {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}