.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.notification {
  position: relative;
  width: 300px;
  height: fit-content;
  padding: 18px;
  margin-bottom: 15px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(110%);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  opacity: 0;
}

.notification.active {
  transform: translateX(0);
  opacity: 1;
}

.notification::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
}

.notification.progress::after {
  animation: progress 5s linear forwards;
}

.icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
  background-size: contain;
}

.content {
  flex-grow: 1;
}

.title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.message {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}

/* Notification Themes */
.notification.success {
  border-left: 4px solid #2ecc71;
}

.notification.success .title {
  color: #2ecc71;
}

.notification.success .icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232ecc71"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>');
}

.notification.error {
  border-left: 4px solid #e74c3c;
}

.notification.error .title {
  color: #e74c3c;
}

.notification.error .icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e74c3c"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>');
}

.notification.warning {
  border-left: 4px solid #f1c40f;
}

.notification.warning .title {
  color: #f1c40f;
}

.notification.warning .icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f1c40f"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>');
}

.notification.info {
  border-left: 4px solid #3498db;
}

.notification.info .title {
  color: #3498db;
}

.notification.info .icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233498db"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>');
}
