/**
 * Mohammad Reza Motiei - Full Stack Developer
 *
 * @author Motiei (mohammadreza.motiei@gmail.com)
 * @version 1.1.0
 **/
.custom-toast-container {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    opacity: 0;
    animation: slideIn 0.5s forwards;
    text-align: right;
    /* پیش‌فرض راست‌چین */
}

.custom-toast.success {
    background: #4caf50 !important;
}

.custom-toast.error {
    background: #f44336 !important;
}

.custom-toast.warning {
    background: #ff9800 !important;
}

.custom-toast.info {
    background: #2196f3 !important;
}

.custom-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
