﻿.phoenix-toast {
    border-radius: 10px !important;
    padding: 0 !important;
    border: none !important;
    font-size: 0.95rem;
    backdrop-filter: blur(6px);
}

    .phoenix-toast .toast-body {
        font-weight: 500;
    }

    .phoenix-toast .toast-icon {
        font-size: 1.3rem;
        margin-right: 8px;
        margin-left: 5px;
    }
/* Toast entrance animation */
.toast.fade-slide {
    animation: toastSlideIn 0.4s ease forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(120px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Toast exit animation */
.toast.fade-slide.hide {
    animation: toastSlideOut 0.35s ease forwards;
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(120px);
    }
}
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: toastProgress linear forwards;
}

.toast.bg-success .toast-progress {
    background-color: #a3e4b1;
}

.toast.bg-danger .toast-progress,
.toast.bg-error .toast-progress {
    background-color: #f5b7b1;
}

.toast.bg-warning .toast-progress {
    background-color: #f9e79f;
}

.toast.bg-info .toast-progress {
    background-color: #aed6f1;
}

.toast.bg-primary .toast-progress {
    background-color: #d6eaf8;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}
.toast.pause .toast-progress {
    animation-play-state: paused;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}
