/* resources/toast.css - basit, erişilebilir toast stili */
#app-toast-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none; /* clickleri arkaya geçir */
  max-width: calc(100% - 36px);
}

.app-toast {
  pointer-events: auto; /* tekil toast tıklanabilsin (kapat vs) */
  background: rgba(17,17,17,0.95);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(10,20,30,0.22);
  font-weight: 600;
  font-size: 14px;
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.9,.3,1);
  display:flex;
  align-items:center;
  gap:10px;
}

/* küçük ikon/kapama butonu */
.app-toast .toast-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 14px;
  padding: 6px;
  border-radius: 6px;
}

/* görünür olunca */
.app-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* info / success / warn - opsiyonel */
.app-toast.info { background: rgba(17,17,17,0.95); }
.app-toast.success { background: linear-gradient(90deg,#2ecc71,#27ae60); color:#fff; }
.app-toast.warn { background: linear-gradient(90deg,#ffb347,#ff7b00); color:#111; }

/* responsive: ekran daraldıkça sağdan içeri girsin */
@media(max-width:420px){
  #app-toast-container{ left:18px; right:18px; bottom:12px; align-items:stretch; }
  .app-toast{ width:100%; box-sizing:border-box; }
}
