/* Toast notification component. */
.toast-container {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
}

.toast {
  background: var(--color-blue-gray);
  border-left: 4px solid var(--color-steam-blue);
  border-radius: 4px;
  padding: 12px 40px 12px 16px;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 4px 16px;
  animation: toast-slide-in 0.3s ease-out;
  position: relative;
  color: #c6d4df;
}

.toast--success {
  border-left-color: #a4d007;
}

.toast--error {
  border-left-color: #de3c3c;
}

.toast--info {
  border-left-color: var(--color-steam-blue);
}

.toast--fade-out {
  opacity: 0;
  transition: opacity 0.3s;
}

.toast__message {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2px;
}

.toast__detail {
  font-size: 13px;
  color: #8f98a0;
}

.toast__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-steam-blue);
  text-decoration: none;
}
.toast__link:hover {
  text-decoration: underline;
  color: var(--color-steam-blue-bright);
}

.toast__close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: #8f98a0;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.toast__close:hover {
  color: #ffffff;
}

@keyframes toast-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
