 #toast-container {
        position: fixed;
        top: 25px;
        right: 25px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .toast-msg {
        position: relative;
        min-width: 280px;
        max-width: 340px;
        padding: 16px 18px;
        border-radius: 14px;
        color: white;
        font-size: 15px;
        font-family: "Segoe UI", Arial;
        font-weight: 500;
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
        display: flex;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
        animation: slideIn 0.5s ease forwards;
    }

    .toast-success {
        background: linear-gradient(135deg, #28a745, #218838);
    }

    .toast-error {
        background: linear-gradient(135deg, #dc3545, #b02a37);
    }

    .toast-close {
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        margin-left: 15px;
        opacity: 0.8;
        transition: 0.2s;
    }

    .toast-close:hover {
        opacity: 1;
        transform: scale(1.2);
    }

    .toast-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 100%;
        background: rgba(255,255,255,0.6);
        animation: progressBar 3s linear forwards;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(120%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeOut {
        from {
            opacity: 1;
            transform: translateX(0);
        }
        to {
            opacity: 0;
            transform: translateX(120%);
        }
    }

    @keyframes progressBar {
        from { width: 100%; }
        to { width: 0%; }
    }