@keyframes toast-slide-in {
    from {
        transform: translate(25rem);
    }
    to {
        transform: translate(0);
    }
}

.toast-container {
    position: fixed;
    max-height: 100vh;
    overflow: hidden;
    top: 0;
    right: 0;
    z-index: 2000;
}

.toast-container .toast-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 350px;
    padding: 8px 8px 8px 3px;
    background: white;
    margin: 1rem;
    box-shadow: 1px 1px 8px #999;
    cursor: pointer;
    animation: ease-in-out 0.2s toast-slide-in;
    transition: all ease-in-out 0.2s;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
}
.toast-container .toast-box:hover {
    box-shadow: 0 0 8px #0008;
}

.toast-container .toast-box.toast-success {
    border-color: #88df00;
}
.toast-container .toast-box.toast-info {
    border-color: #17a2b8;
}
.toast-container .toast-box.toast-warning {
    border-color: #ffc107;
}
.toast-container .toast-box.toast-error {
    border-color: #ff5a00;
}

.toast-container .toast-box .icon {
    width: 36px;
    height: 27px;
}

.toast-container .toast-box .title {
    font-weight: bold;
    font-size: 14px;
    word-break: break-word;
}

.toast-container .toast-box .message {
    word-break: break-word;
    width: 300px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: lighter;
}

.toast-container .toast-box .close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 15px;
    height: 15px;
    color: white;
    cursor: pointer;
}
.alert_error {
    background-image: url("error-icon.png");
    background-position: center;
    background-repeat: no-repeat;
    padding: 5px 6px;
    background-origin: content-box;
    background-size: 20px 20px;
}
.online {
    background-image: url("success-icon.png");
    background-position: center;
    background-repeat: no-repeat;
    padding: 5px 6px;
    background-size: 20px 20px;
    background-origin: content-box;
}
.alert_info {
    background-image: url("success-icon.png");
    background-position: center;
    background-repeat: no-repeat;
    padding: 5px 6px;
    background-size: 20px 20px;
    background-origin: content-box;
}
.delete-icon {
    background-image: url("delete-icon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.delete-icon:hover {
    transition: 0.3s;
    transform: scale(1.1);
}
