.toast {
    visibility: hidden;
    min-width: 250px;
    padding: 15px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    position: fixed;
    z-index: 1;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@media screen and (max-width: 767px) {
    .toast {
        width: 90%;
        min-width: auto;
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 18px;
        padding: 20px;
    }
} 