/* ================================================================
   🔔 TOAST BİLDİRİM — assets/css/toast.css  (TEMİZ & SADE)
   ----------------------------------------------------------------
   Açık zemin, yumuşak gölge, soft renkli ikon. Göz yormayan,
   profesyonel görünüm. Sağ üstten kayar, otomatik kapanır.
   Kendi içinde bağımsız (lw- öneki) → Bootstrap/Tailwind ile çakışmaz.
   ================================================================ */

.lw-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    width: 350px;
    max-width: calc(100% - 2rem);
    pointer-events: none;
}

.lw-toast {
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: .7rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 13px;
    box-shadow: 0 10px 25px -8px rgba(2, 6, 23, .15), 0 4px 10px -6px rgba(2, 6, 23, .1);
    padding: .8rem .9rem;
    transform: translateX(120%);
    opacity: 0;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .4s;
}
.lw-toast.gir { transform: translateX(0); opacity: 1; }
.lw-toast.cik { transform: translateX(120%); opacity: 0; }

.lw-toast-ikon {
    flex: 0 0 auto;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 800;
    /* arka plan + renk türlere göre (aşağıda) */
}

.lw-toast-govde { flex: 1 1 auto; min-width: 0; }
.lw-toast-baslik { margin: 0; font-size: .875rem; font-weight: 600; color: #0f172a; }
.lw-toast-mesaj { margin-top: 1px; font-size: .82rem; line-height: 1.4; color: #64748b; word-wrap: break-word; }

.lw-toast-kapat {
    flex: 0 0 auto;
    align-self: flex-start;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    padding: 0 .1rem;
    transition: color .15s;
}
.lw-toast-kapat:hover { color: #64748b; }

/* İlerleme çubuğu kaldırıldı (sade görünüm). JS yine de yazsa da gizli. */
.lw-toast-ilerleme { display: none; }

/* ---- Türler: soft renkli ikon (yumuşak arka plan + renkli glif) ---- */
.lw-toast.basari .lw-toast-ikon { background: rgba(34, 197, 94, .14);  color: #16a34a; }
.lw-toast.hata   .lw-toast-ikon { background: rgba(239, 68, 68, .14);  color: #dc2626; }
.lw-toast.uyari  .lw-toast-ikon { background: rgba(245, 158, 11, .16); color: #d97706; }
.lw-toast.bilgi  .lw-toast-ikon { background: rgba(59, 130, 246, .14); color: #2563eb; }

@media (max-width: 480px) {
    .lw-toast-container { left: 1rem; right: 1rem; width: auto; }
}
