.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: rgba(0, 0, 0, 0.8); 
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 30px;
    position: fixed;
    z-index: 9999;
    right: -300px; 
    top: 45px;
    font-size:20px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgb(255, 253, 253); 
    transition: right 0.5s ease; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    background-color: rgb(232 2 2 / 90%);
}

.toast button.close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
}

.toast.show {
    visibility: visible;
    right: 5px; 
}

.toast.show button.close-button:hover {
    color: #000000; 
}
@media (max-width: 600px) {
    .toast {
        white-space: normal;
        padding: 15px; 
        font-size: 16px; 
        max-width: calc(100% - 10px); 
        box-sizing: border-box; 
        max-height: 100px; 
        overflow-y: auto; 
        position: fixed;
        top: 50%; 
        left: 0; 
        right: 0; 
        transform: translateY(-50%); 
        margin: 0 auto; 
    }
}

