.notification-container {
  position: fixed;
  z-index: 9999;
  width: auto;
  max-width: 350px;
  margin: 0;
  padding: 0;
}

.notification-container,
.notification-container * {
  box-sizing: border-box;
}

.notification-container.top-right {
  top: 40px;
  right: 40px;
}

.notification-container.top-left {
  top: 40px;
  left: 40px;
}

.notification-container.top-center {
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.notification-container.bottom-right {
  right: 40px;
  bottom: 40px;
}

.notification-container.bottom-left {
  bottom: 40px;
  left: 40px;
}

.notification-container.bottom-center {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.notification {
  position: relative;
  display: flex;
  align-items: start;
  flex-direction: row;
  justify-content: start;
  min-width: 350px;
  max-height: 150px;
  margin-bottom: 15px;
  padding: 10px 40px 12px 10px;
  border-radius: 6px;
  background: rgba(18, 24, 38, 1);
  transform: translateX(100%);
  transition: transform 0.3s ease,
  opacity 0.3s ease,
  max-height 0.3s ease,
  padding 0.3s ease,
  margin 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  overflow: hidden;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.remove {
  max-height: 0 !important;
  margin: 0 0 0 0 !important;
  padding: 0 0 0 0 !important;
  transform: translateY(-20px) scale(0.95) !important;
  opacity: 0 !important;
  pointer-events: none;
}

.notification-icon {
  font-size: 24px;
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  overflow: hidden;
  user-select: none;
}

.notification-icon--default {
  color: var(--color-gray-50);
}

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

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

.notification-icon--warning {
  color: var(--color-orange-400);
}

.notification-icon--info {
  color: var(--color-blue-600);
}

.notification-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-left: 8px;
}

.notification-title {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  line-height: 20px;
  margin-top: 2px;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
  color: var(--color-white);
}

.notification-text {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  line-height: 18px;
  letter-spacing: 0.2px;
  color: var(--color-white);
}

.notification-close {
  font-size: 20px;
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  border-width: 0;
  border-radius: 6px;
  background-color: transparent;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  user-select: none;
  appearance: none;
  color: var(--color-gray-700);
}

.notification-close {
  color: var(--color-gray-500);
}

.notification-close:hover {
  background-color: var(--color-gray-50);
}

.notification-close:active {
  background-color: var(--color-gray-75);
}

.notification-close:disabled {
  background-color: transparent;
  color: var(--color-gray-300);
}

@media (max-width: 430px) {
  .notification-container.top-right {
    top: 10px;
    right: 10px;
  }

  .notification-container.top-left {
    top: 10px;
    left: 10px;
  }

  .notification-container.top-center {
    top: 10px;
    transform: translateX(-50%);
  }

  .notification-container.bottom-right {
    right: 10px;
    bottom: 10px;
  }

  .notification-container.bottom-left {
    bottom: 10px;
    left: 10px;
  }

  .notification-container.bottom-center {
    bottom: 10px;
    transform: translateX(-50%);
  }

  .notification {
    min-width: 330px;
    margin-bottom: 10px;
  }
}

@media (max-width: 350px) {
  .notification-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .notification-container.top-right,
  .notification-container.top-left,
  .notification-container.top-center,
  .notification-container.bottom-right,
  .notification-container.bottom-left,
  .notification-container.bottom-center {
    right: 0;
    left: 0;
    transform: none;
  }

  .notification-container.top-right,
  .notification-container.top-left,
  .notification-container.top-center {
    top: 0;
  }

  .notification-container.bottom-right,
  .notification-container.bottom-left,
  .notification-container.bottom-center {
    bottom: 0;
  }

  .notification {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 6px;
    border-radius: 0;
    box-shadow: none;
  }

  .notification-container.top-center {
    top: 0;
  }

  .notification-container.bottom-center {
    bottom: 0;
  }
}

@media (max-height: 350px) and (orientation: landscape) {
  .notification {
    margin-bottom: 8px;
  }
}
