.custom-toast-notification {
    position: fixed;
    top: 25px;
    right: 25px;
    max-width: 300px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: -1px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 1023;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

.custom-toast-notification.custom-toast-active {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast-notification.custom-toast-active .custom-toast-progress {
    animation: custom-toast-progress-anim linear forwards;
}

.custom-toast-notification.custom-toast-closing {
    opacity: 0;
    transform: translateX(100%);
}

.custom-toast-notification.custom-toast-success {
    background: #95eab8;
}

.custom-toast-notification.custom-toast-success .custom-toast-progress {
    background-color: #2ecc71;
}

.custom-toast-notification.custom-toast-danger {
    background: #efaca5;
}

.custom-toast-notification.custom-toast-danger .custom-toast-progress {
    background-color: #e74c3c;
}

.custom-toast-notification.custom-toast-info {
    background: #bddaed;
}

.custom-toast-notification.custom-toast-info .custom-toast-progress {
    background-color: #3498db;
}

.custom-toast-notification.custom-toast-warning {
    background: #ead994;
}

.custom-toast-notification.custom-toast-warning .custom-toast-progress {
    background-color: #f1c40f;
}

.custom-toast-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-toast-message {
    flex: 1;
    font-size: 0.9rem;
    color: #000000;
    padding: 0.5rem;
    line-height: 1.2;
}

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

@keyframes custom-toast-progress-anim {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}