/* Bildirimler */

.merit-toasts {
  position: fixed;
  inset: 80px auto auto 50%;
  z-index: 1095;
  width: max-content;
  max-width: calc(100% - 32px);
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.merit-toast {
  min-width: 320px;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 6px;
  background: #0b1630;
  box-shadow: var(--merit-shadow-3);
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  pointer-events: auto;
  animation: merit-toast-in .3s cubic-bezier(.2, .8, .2, 1);
  transition: opacity .2s;
}

[data-bs-theme="dark"] .merit-toast {
  background: #22324f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 16px 40px -8px rgba(0, 0, 0, .6);
}

.merit-toast.is-leaving {
  opacity: 0;
}

.merit-toast-ic {
  flex: none;
}

.merit-toast.is-success .merit-toast-ic {
  color: #4cc38a;
}

.merit-toast.is-error .merit-toast-ic {
  color: #f27a7a;
}

.merit-toast.is-warning .merit-toast-ic {
  color: #f2b544;
}

.merit-toast.is-info .merit-toast-ic {
  color: var(--merit-gold);
}

.merit-toast-tx {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.merit-toast-x {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--merit-radius-sm);
  background: none;
  color: #a3afc2;
  cursor: pointer;
}

.merit-toast-x:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.merit-toast-x:focus-visible {
  outline: 0;
  box-shadow: var(--merit-focus);
}

@keyframes merit-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@media (max-width: 767.98px) {
  .merit-toasts {
    top: 68px;
    width: calc(100% - 32px);
  }

  .merit-toast {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .merit-toast {
    animation: none;
  }
}
