﻿#app-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-toast {
    min-width: 320px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
    border-left: 5px solid #0d6efd;
    animation: toastIn .25s ease-out;
}

.app-toast-success {
    border-left-color: #198754;
}

.app-toast-error {
    border-left-color: #dc3545;
}

.app-toast-warning {
    border-left-color: #ffc107;
}

.app-toast-info {
    border-left-color: #0dcaf0;
}

.app-toast-icon {
    font-size: 20px;
}

.app-toast-message {
    flex: 1;
    font-size: 13px;
    color: #1f2937;
    line-height: 1.4;
}

.app-toast-close {
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.app-toast.hide {
    opacity: 0;
    transform: translateX(20px);
    transition: .25s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
