.toast {
    position: absolute;
    top: 110px;
    right: 30px;
    border-radius: 8px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.25, 1.35);
}

.toast-content {
    display: flex;
    justify-content: center;
}

.message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.message-text {
    font-size: 1em;
}

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

.text-2 {
    color: #666;
    max-width: 260px;
    overflow: auto;
}

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

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

.progress-toast {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #ddd;
}

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

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

.warning.toast {
    top: 21px;
    right: 16px;
}

.warning .toast-icon {
    color: darkorange;
}

.warning .progress-toast::before {
    background-color: darkorange;
}

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

.warning {
    color: #f53333;
}

.success {
    color: #5eba2c;
}
