
     /* کانتینر اصلی */
    .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;
        }
    }

