/* toast bildirimleri app */

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #667eea; 
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transform: translateX(100%); 
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    cursor: pointer;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.toast-message {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}


.toast.success { border-left-color: #22c55e; }
.toast.success .toast-icon { color: #22c55e; }

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

.toast.info { border-left-color: #3b82f6; }
.toast.info .toast-icon { color: #3b82f6; }

body.dark-mode .toast {
    background: rgba(30, 41, 59, 0.95);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
body.dark-mode .toast-message { color: #f1f5f9; }