/**
 * Toast Progress Bar Component
 * 
 * Animated progress indicator showing time remaining.
 * Pauses on hover interaction.
 * 
 * @package    Toastifier
 * @subpackage Components
 * @version    2.0.0
 */

.toastifier-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    animation: toast-progress var(--toast-duration, 5000ms) linear forwards;
    animation-play-state: var(--progress-state, running);
}

/* Pause on hover */
.toastifier-toast:hover::after {
    animation-play-state: paused;
}

/* Type-specific progress colors */
.toastifier-toast-success::after {
    background-color: var(--toastifier-success);
}

.toastifier-toast-error::after {
    background-color: var(--toastifier-error);
}

.toastifier-toast-warning::after {
    background-color: var(--toastifier-warning);
}

.toastifier-toast-info::after {
    background-color: var(--toastifier-info);
}
