.toast{
    display: block;
    position: fixed;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    background: #fff;
    padding: 18px 40px 18px 20px;
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index: 99999;
    visibility: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08);
}

.toast.active{
    transform: translateX(0%);
    visibility: visible;
}

.toast .toast-content{
    display: flex;
    align-items: center;
}

.toast-content .icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.toast-content .icon svg {
    width: 18px;
    height: 18px;
}

.toast-content .message{
    display: flex;
    flex-direction: column;
    margin: 0 14px;
}

.message .text{
    font-size: .82rem;
    font-weight: 400;
    color: #555;
    line-height: 1.3;
}

.message .text.text-1{
    font-weight: 600;
    color: #1a1a1a;
    font-size: .88rem;
}

.toast .close{
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px;
    cursor: pointer;
    font-size: .85rem;
    color: #999;
    transition: color .15s ease;
}

.toast .close:hover{
    color: #333;
}

.toast .toast-progress{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #eee;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.toast .toast-progress-bar{
    height: 100%;
    width: 100%;
    background: var(--primary);
    border-radius: 0 0 0 12px;
}

.toast-progress-bar.bg-success { background-color: #00a632 !important; }
.toast-progress-bar.bg-danger  { background-color: #ff6e81 !important; }
.toast-progress-bar.bg-warning { background-color: #f0ad4e !important; }
.toast-progress-bar.bg-info    { background-color: #5bc0de !important; }
.toast-progress-bar.bg-mcd     { background-color: #00a632 !important; }

.toast-progress-bar {
    animation: shrink linear forwards;
}

@keyframes shrink {
    0% {
        width: 100%;
    }
    100%{
        width: 0%;
    }
}

.bg-success { background-color: #00a632 !important; }
.bg-danger  { background-color: #ff6e81 !important; }
.bg-warning { background-color: #f0ad4e !important; }
.bg-info    { background-color: #5bc0de !important; }
.bg-mcd     { background-color: #00a632 !important; }
