
     /* کانتینر اصلی */
    .message-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1050;
        width: 400px !important;
    }

    .alert {
        padding: 15px;
        margin-bottom: 10px;
        border: 1px solid transparent;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        animation: slideIn 0.5s ease-out;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
    }

    /* رنگ‌بندی‌ها */
    .alert-success { background-color: #d4edda !important; color: #155724 !important; border-color: #c3e6cb !important; }
    .alert-danger { background-color: #f8d7da !important; color: #721c24 !important; border-color: #f5c6cb !important; }
    .alert-warning { background-color: #fff3cd !important; color: #856404 !important; border-color: #ffeeba !important; }
    .alert-info { background-color: #d1ecf1 !important; color: #0c5460 !important; border-color: #bee5eb !important; }

    /* دکمه بستن */
    .btn-close {
        background: none;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        opacity: 0.7;
        margin-left: 10px;
    }

    .btn-close:hover { opacity: 1; }

    /* انیمیشن ورود */
    @keyframes slideIn {
        from { transform: translateX(100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    /* --- تنظیمات مخصوص موبایل --- */
    @media (max-width: 768px) {
        .message-container {
            width: 90%;
            right: 5%;
            left: 5%;
        }

        .alert {
            font-size: 13px;
            padding: 12px;
        }
    }
    .category-filter-link {
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .category-filter-link.-primary {
        background-color: #007bff;
        color: white;
    }

    .category-filter-link.-inverse {
        background-color: transparent;
        border: 1px solid #007bff;
        color: #007bff;
    }
    .loading-overlay {
        position: relative;
        min-height: 200px;
    }

    .loading-overlay::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .loader {
        border: 3px solid #f3f3f3;
        border-top: 3px solid #007bff;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin: 50px auto;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

