/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1055; 
}

/* Toast Genel Ayarları */
.toast {
    border-radius: 0.5rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slide-in 0.5s ease-out;
}

/* Başarı Mesajı */
.toast.text-bg-success {
    background-color: #198754 !important;
    color: #fff !important;
}

/* Hata Mesajı */
.toast.text-bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
}

/* Uyarı Mesajı */
.toast.text-bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

/* Bilgilendirme Mesajı */
.toast.text-bg-info {
    background-color: #0dcaf0 !important;
    color: #212529 !important;
}

/* Toast Gövdesi */
.toast-body {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
}

/* Kapat Butonu */
.toast .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

.toast .btn-close:hover {
    opacity: 1;
}

/* Giriş Animasyonu */
@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Çıkış Animasyonu */
@keyframes slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
