.notification-container {
  position: fixed;
  z-index: 5000;
  pointer-events: none;
  padding: 12px;
  box-sizing: border-box;
}

.notification-container--top-right {
  top: 0;
  right: 0;
  align-items: flex-end;
  flex-direction: column;
}

.notification-container--top-left {
  top: 0;
  left: 0;
  align-items: flex-start;
  flex-direction: column;
}

.notification-container--bottom-right {
  bottom: 0;
  right: 0;
  align-items: flex-end;
  flex-direction: column-reverse;
}

.notification-container--bottom-left {
  bottom: 0;
  left: 0;
  align-items: flex-start;
  flex-direction: column-reverse;
}

.notification {
  display: flex;
  width: 380px;
  max-width: calc(100vw - 24px);
  min-height: 50px;
  padding: 14px 20px 14px 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid #EBEEF5;
  border-radius: 4px;
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  opacity: 0;
  transform: translateX(100%);
  pointer-events: auto;
}

.notification--show {
  opacity: 1;
  transform: translateX(0);
}

.notification--fade-out {
  opacity: 0;
  transform: translateX(100%) scale(0.9);
}

.notification--top-left,
.notification--bottom-left {
  transform: translateX(-100%);
}

.notification--top-left.notification--show,
.notification--bottom-left.notification--show {
    transform: translateX(0);
}

.notification--top-left.notification--fade-out,
.notification--bottom-left.notification--fade-out {
    transform: translateX(-100%) scale(0.9);
}

.notification--top-right .notification,
.notification--top-left .notification {
  margin-top: 12px;
}

.notification--bottom-right .notification,
.notification--bottom-left .notification {
  margin-bottom: 12px;
}

.notification__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
}

.notification__icon-svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.notification--success .notification__icon-wrapper { color: #67C23A; }
.notification--warning .notification__icon-wrapper { color: #E6A23C; }
.notification--info .notification__icon-wrapper { color: #909399; }
.notification--error .notification__icon-wrapper { color: #F56C6C; }

.notification__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  word-break: break-all;
}

.notification__title {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #303133;
}

.notification__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #606266;
}

.notification__close-btn {
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  color: #909399;
  padding: 0 4px;
  margin-left: 16px;
  align-self: flex-start;
  transition: color 0.2s ease;
  line-height: 1;
  font-style: normal;
}

.notification__close-btn:hover {
  color: #606266;
}