.toast-main {
    position: fixed;
    bottom: 25px;
    right: 30px;
    border-radius: 12px;
    background: #fff;
    padding: 15px 30px 15px 20px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index: 9999;
}


.toast-main.active {
    transform: translateX(0%);

}

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

.toast-main .toast-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    background-color: #62a465;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.toast-main .toast-content .exclamation {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    background-color: #d92727;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

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

.message .text {
    font-size: 15px;
    font-weight: 400;
    color: #666666;
    max-width: 280px;
}

.message .text.text-1 {
    font-weight: 600;
    color: #333;
    text-transform:capitalize;
}

.toast-main .close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}

.toast-main .close:hover {
    opacity: 1;
}

.toast-main .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.toast-main.toast-success .toast-progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #62a465;
}

.toast-main.toast-error .toast-progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #d92727;
}

.toast-progress.active:before {
    animation: toast-progress 5s linear forwards;
}

@keyframes toast-progress {
    100% {
        right: 100%;
    }
}