/* استایل‌های سیستم پیام‌های مودال */
#flash-messages-container {
    font-family: 'IRANSans', sans-serif;
}

.flash-message {
    direction: rtl;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.flash-success {
    border-right: 4px solid #10B981;
}

.flash-error {
    border-right: 4px solid #EF4444;
}

.flash-warning {
    border-right: 4px solid #F59E0B;
}

.flash-info {
    border-right: 4px solid #3B82F6;
}

.flash-close-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.flash-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.flash-progress-bar {
    transition: width 5s linear;
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    #flash-messages-container {
        right: 1rem;
        left: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .flash-message {
        font-size: 0.875rem;
    }
}