#toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -30px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 9999;
}

#toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

#toast-box {
    min-width: 280px;
    max-width: 420px;
    padding: 16px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

#toast-box .material-symbols-outlined {
    font-size: 24px;
}

#toast-message {
    flex: 1;
    line-height: 1.4;
}

.toast-success {
    background: #16a34a;
    color: white;
}

.toast-error {
    background: #dc2626;
    color: white;
}

.toast-warning {
    background: #f59e0b;
    color: #111827;
}

.toast-info {
    background: #334155;
    color: white;
}

/* Mobile */

@media (max-width:640px){

    #toast{

        left:16px;
        right:16px;
        transform:translateY(-30px);

    }

    #toast.show{

        transform:translateY(0);

    }

    #toast-box{

        min-width:auto;
        max-width:none;
        width:100%;

    }

}