@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.custom-toast {
    position: absolute;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-left: 6px solid #32ec0d;
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    max-width: 30%;
}
.custom-toast.active {
    transform: translateX(0%);
}
.custom-toast .custom-toast-content {
    display: flex;
    align-items: center;
}
.custom-toast-content .custom-check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
    background-color: #32ec0d;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}
.custom-toast-content .custom-message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}
.custom-message .custom-text {
    font-size: 20px;
    font-weight: 400;
    color: #666666;
}
.custom-message .custom-text.custom-text-1 {
    font-weight: 600;
    color: #333;
}
.custom-toast .custom-close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}
.custom-toast .custom-close:hover {
    opacity: 1;
}
.custom-toast .custom-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #ddd;
}
.custom-toast .custom-progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #32ec0d;
}
.custom-progress.active:before {
    animation: custom-progress 5s linear forwards;
}
@keyframes custom-progress {
    100% {
        right: 100%;
    }
}
.custom-toast.active ~ .custom-button {
    pointer-events: none;
}
