.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: rgb(0, 0, 0);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeOut 10s forwards;
    z-index: 10;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}